Configurar tomcat bundle Bonita 7.4.3

1
0
-1

Buen día estoy configurando tomcat bundle para postgres 9.2, ya he logrado la creación de las tablas de la plataforma en la base de datos pero al momento de arrancar la aplicación de bonita me da el siguiente error:

  1. 2017-03-08 11:21:41.371 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely failed to start. Check previous error logs for more details.
  2. 2017-03-08 11:38:20.042 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
  3. 2017-03-08 11:38:20.050 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
  4. java.lang.RuntimeException: Error while initializing the Engine
  5. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:36)
  6. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  7. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  8. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  9. at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1321)
  10. at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:693)
  11. at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
  12. at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
  13. at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  14. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  15. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  16. at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
  17. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  18. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  19. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  20. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  21. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  22. at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  23. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  24. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  25. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  26. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  27. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
  28. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  29. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  30. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  31. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
  32. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
  33. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
  34. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
  35. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  36. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  37. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  38. at java.lang.Thread.run(Unknown Source)
  39. Caused by: java.lang.NullPointerException
  40. at org.bonitasoft.platform.setup.PlatformSetup.initDataSource(PlatformSetup.java:387)
  41. at org.bonitasoft.platform.setup.PlatformSetup.initPlatformSetup(PlatformSetup.java:415)
  42. at org.bonitasoft.platform.setup.PlatformSetup.init(PlatformSetup.java:117)
  43. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:32)
  44. ... 33 more
  45.  
  46. 2017-03-08 11:38:20.092 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely failed to start. Check previous error logs for more details.
  47. 2017-03-08 11:45:03.215 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
  48. 2017-03-08 11:45:03.224 -0500 INFORMACIÓN: org.bonitasoft.platform.setup.PlatformSetup System property org.bonitasoft.platform.setup.folder is set to C:\BonitaBPMCommunity-7.4.3-Tomcat-7.0.67\server\..\setup
  49. 2017-03-08 11:45:03.235 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
  50. java.lang.RuntimeException: Error while initializing the Engine
  51. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:36)
  52. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  53. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  54. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  55. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
  56. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
  57. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
  58. at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
  59. at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939)
  60. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  61. at java.util.concurrent.FutureTask.run(Unknown Source)
  62. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  63. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  64. at java.lang.Thread.run(Unknown Source)
  65. Caused by: java.lang.NullPointerException
  66. at org.bonitasoft.platform.setup.PlatformSetup.initDataSource(PlatformSetup.java:387)
  67. at org.bonitasoft.platform.setup.PlatformSetup.initPlatformSetup(PlatformSetup.java:415)
  68. at org.bonitasoft.platform.setup.PlatformSetup.init(PlatformSetup.java:117)
  69. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:32)
  70. ... 13 more
  71.  
  72. 2017-03-08 11:45:03.284 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely failed to start. Check previous error logs for more details.
  73. 2017-03-08 11:45:25.403 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
  74. 2017-03-08 11:45:25.415 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
  75. java.lang.RuntimeException: Error while initializing the Engine
  76. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:36)
  77. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  78. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  79. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  80. at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1321)
  81. at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:693)
  82. at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
  83. at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
  84. at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  85. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  86. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  87. at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
  88. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  89. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  90. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  91. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  92. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  93. at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  94. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  95. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  96. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  97. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  98. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
  99. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  100. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  101. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  102. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
  103. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
  104. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
  105. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
  106. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  107. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  108. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  109. at java.lang.Thread.run(Unknown Source)
  110. Caused by: java.lang.NullPointerException
  111. at org.bonitasoft.platform.setup.PlatformSetup.initDataSource(PlatformSetup.java:387)
  112. at org.bonitasoft.platform.setup.PlatformSetup.initPlatformSetup(PlatformSetup.java:415)
  113. at org.bonitasoft.platform.setup.PlatformSetup.init(PlatformSetup.java:117)
  114. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:32)
  115. ... 33 more
  116.  
  117. 2017-03-08 11:45:25.486 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely failed to start. Check previous error logs for more details.
  118. 2017-03-08 11:49:33.352 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
  119. 2017-03-08 11:49:33.361 -0500 INFORMACIÓN: org.bonitasoft.platform.setup.PlatformSetup System property org.bonitasoft.platform.setup.folder is set to C:\BonitaBPMCommunity-7.4.3-Tomcat-7.0.67\server\..\setup
  120. 2017-03-08 11:49:33.367 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
  121. java.lang.RuntimeException: Error while initializing the Engine
  122. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:36)
  123. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  124. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  125. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  126. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
  127. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
  128. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
  129. at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
  130. at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939)
  131. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  132. at java.util.concurrent.FutureTask.run(Unknown Source)
  133. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  134. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  135. at java.lang.Thread.run(Unknown Source)
  136. Caused by: java.lang.NullPointerException
  137. at org.bonitasoft.platform.setup.PlatformSetup.initDataSource(PlatformSetup.java:387)
  138. at org.bonitasoft.platform.setup.PlatformSetup.initPlatformSetup(PlatformSetup.java:415)
  139. at org.bonitasoft.platform.setup.PlatformSetup.init(PlatformSetup.java:117)
  140. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:32)
  141. ... 13 more
  142.  
  143. 2017-03-08 11:49:33.406 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely failed to start. Check previous error logs for more details.
  144. 2017-03-08 11:50:49.820 -0500 INFORMACIÓN: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] No Spring WebApplicationInitializer types detected on classpath
  145. 2017-03-08 11:50:49.838 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener
  146. java.lang.RuntimeException: Error while initializing the Engine
  147. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:36)
  148. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  149. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  150. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  151. at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1321)
  152. at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:693)
  153. at org.apache.catalina.manager.HTMLManagerServlet.doPost(HTMLManagerServlet.java:216)
  154. at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)
  155. at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
  156. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
  157. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  158. at org.apache.catalina.filters.CsrfPreventionFilter.doFilter(CsrfPreventionFilter.java:136)
  159. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  160. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  161. at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
  162. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  163. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  164. at org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
  165. at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
  166. at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
  167. at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
  168. at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
  169. at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
  170. at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
  171. at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
  172. at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
  173. at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
  174. at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
  175. at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
  176. at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
  177. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  178. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  179. at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
  180. at java.lang.Thread.run(Unknown Source)
  181. Caused by: java.lang.NullPointerException
  182. at org.bonitasoft.platform.setup.PlatformSetup.initDataSource(PlatformSetup.java:387)
  183. at org.bonitasoft.platform.setup.PlatformSetup.initPlatformSetup(PlatformSetup.java:415)
  184. at org.bonitasoft.platform.setup.PlatformSetup.init(PlatformSetup.java:117)
  185. at org.bonitasoft.engine.api.internal.servlet.EngineInitializerListener.contextInitialized(EngineInitializerListener.java:32)
  186. ... 33 more
  187.  
  188. 2017-03-08 11:50:49.937 -0500 GRAVE: org.bonitasoft.console.common.server.servlet.PlatformTenantListener Error initializing platform configuration. Engine most likely

Antes de esto me salen dos advertencias que dice:

  1. unable to create resource with unique name jdbc/bonitaDSXA
  2.  
  3. unable to create resource with unique name jdbc/BusinessDataDSXA

Por favor si alguien me puede ayudar cual podría ser la solución al error. Muchas Gracias.

1 answer

1
0
-1

here is a guide from bonitasoft where you can find some answers..at least i found when tried to configure tomcat bundle for my write my essay pro project

Comments

Submitted by rositamg1993 on Tue, 03/14/2017 - 18:52

i did all the steps in the guide and i had those errors, now i'm configuring again and have these:

  1. 2017-03-14 12:46:47.646 -0500 GRAVE: org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/bonita] Excepción enviando evento inicializado de contexto a instancia de escuchador de clase org.bonitasoft.console.common.server.servlet.PlatformTenantListener
  2. org.bonitasoft.engine.exception.BonitaRuntimeException: USERNAME=local | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'platformPersistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformPersistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.PlatformHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
  3. at org.bonitasoft.engine.api.impl.ServerAPIImpl.wrapThrowable(ServerAPIImpl.java:148)
  4. at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:136)
  5. at org.bonitasoft.engine.api.impl.ClientInterceptor.invoke(ClientInterceptor.java:86)
  6. at com.sun.proxy.$Proxy9.getClientPlatformConfigurations(Unknown Source)
  7. at org.bonitasoft.console.common.server.utils.PlatformManagementUtils.retrievePlatformConfiguration(PlatformManagementUtils.java:101)
  8. at org.bonitasoft.console.common.server.utils.PlatformManagementUtils.initializePlatformConfiguration(PlatformManagementUtils.java:113)
  9. at org.bonitasoft.console.common.server.servlet.PlatformTenantListener.contextInitialized(PlatformTenantListener.java:52)
  10. at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5077)
  11. at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5591)
  12. at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  13. at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
  14. at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
  15. at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
  16. at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
  17. at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1939)
  18. at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  19. at java.util.concurrent.FutureTask.run(Unknown Source)
  20. at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  21. at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  22. at java.lang.Thread.run(Unknown Source)
  23. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformService' defined in class path resource [bonita-platform-community.xml]: Cannot resolve reference to bean 'platformPersistenceService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformPersistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.PlatformHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
  24. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
  25. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
  26. at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:648)
  27. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:140)
  28. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
  29. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
  30. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  31. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  32. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  33. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  34. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  35. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:220)
  36. at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:351)
  37. at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:332)
  38. at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1066)
  39. at org.bonitasoft.engine.service.impl.SpringBeanAccessor.getService(SpringBeanAccessor.java:49)
  40. at org.bonitasoft.engine.service.impl.SpringPlatformServiceAccessor.getPlatformService(SpringPlatformServiceAccessor.java:112)
  41. at org.bonitasoft.engine.api.impl.ServerAPIImpl.getPlatformClassLoader(ServerAPIImpl.java:520)
  42. at org.bonitasoft.engine.api.impl.ServerAPIImpl.beforeInvokeMethodForPlatformSession(ServerAPIImpl.java:247)
  43. at org.bonitasoft.engine.api.impl.ServerAPIImpl.beforeInvokeMethod(ServerAPIImpl.java:203)
  44. at org.bonitasoft.engine.api.impl.ServerAPIImpl.invokeMethod(ServerAPIImpl.java:123)
  45. ... 18 more
  46. Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'platformPersistenceService' defined in class path resource [bonita-platform-community.xml]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.PlatformHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
  47. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:275)
  48. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1143)
  49. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1046)
  50. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
  51. at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
  52. at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
  53. at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
  54. at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
  55. at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
  56. at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
  57. ... 38 more
  58. Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.bonitasoft.engine.persistence.PlatformHibernatePersistenceService]: Constructor threw exception; nested exception is org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
  59. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:163)
  60. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:122)
  61. at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:267)
  62. ... 47 more
  63. Caused by: org.hibernate.service.jndi.JndiException: Unable to lookup JNDI name [java:comp/env/bonitaDS]
  64. at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:68)
  65. at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)
  66. at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:85)
  67. at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:184)
  68. at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:156)
  69. at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:223)
  70. at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:89)
  71. at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:85)
  72. at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:184)
  73. at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:156)
  74. at org.hibernate.cfg.Configuration.buildTypeRegistrations(Configuration.java:1825)
  75. at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1783)
  76. at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1868)
  77. at org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.<init>(AbstractHibernatePersistenceService.java:169)
  78. at org.bonitasoft.engine.persistence.PlatformHibernatePersistenceService.<init>(PlatformHibernatePersistenceService.java:46)
  79. at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  80. at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
  81. at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
  82. at java.lang.reflect.Constructor.newInstance(Unknown Source)
  83. at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
  84. ... 49 more
  85. Caused by: javax.naming.NamingException: no resource registered with uniqueName 'jdbc/bonitaDSXA', available resources: []
  86. at bitronix.tm.resource.ResourceObjectFactory.getObjectInstance(ResourceObjectFactory.java:55)
  87. at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:141)
  88. at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
  89. at org.apache.naming.NamingContext.lookup(NamingContext.java:842)
  90. at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
  91. at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
  92. at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
  93. at org.apache.naming.NamingContext.lookup(NamingContext.java:830)
  94. at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
  95. at org.apache.naming.SelectorContext.lookup(SelectorContext.java:133)
  96. at javax.naming.InitialContext.lookup(Unknown Source)
  97. at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:65)
  98. ... 68 more
Notifications