<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
JBPM5 - WAS CE(Websphere) integration
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/sasir">Sasi R</a> in <i>jBPM</i> - <a href="http://community.jboss.org/message/597662#597662">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>I am getting below exceptions while integrating JBPM5 application with websphere, which am sure might be due to some missing configuration. Persistence xml configuration is below . Due to you think I am missing some jar files or the config is incorrrect? Please advise</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong style="color: #0000ff;">************</strong></p><p><strong style="color: #0000ff;">Logs</strong></p><p><strong style="color: #0000ff;">************</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>2011-04-04 15:02:09,457 WARN  [TomcatModuleBuilder] Web application . does not contain a WEB-INF/geronimo-web.xml deployment plan.  This may or may not be a problem, depending on whether you have things like resource references that need to be resolved.  You can also give the deployer a separate deployment plan file on</p><p> the command line.</p><p>2011-04-04 15:02:15,269 WARN  [Ejb3Configuration] hibernate.connection.autocommit = false break the EJB3 specification</p><p>2011-04-04 15:02:25,660 ERROR [GBeanInstanceState] Error while starting; GBean is now in the FAILED state: abstractName="default/jBPM5Demo/1301943729457/war?J2E</p><p>EApplication=null,PersistenceUnitModule=WEB-INF/lib/jbpm-human-task-5.0.0.jar,WebModule=default/jBPM5Demo/1301943729457/war,j2eeType=PersistenceUnit,name=org.jb</p><p>pm.task"</p><p><span style="color: #ff0000;"><strong>javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.task] Unableto build EntityManagerFactory</strong></span></p><p>        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:677)</p><p>        at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:132)</p><p>        at org.apache.geronimo.persistence.PersistenceUnitGBean.<init>(PersistenceUnitGBean.java:126)</p><p>        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)</p><p>        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:41)</p><p>        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:39)</p><p>        at java.lang.reflect.Constructor.newInstance(Constructor.java:515)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.createInstance(GBeanInstance.java:948)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStart(GBeanInstanceState.java:272)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.start(GBeanInstanceState.java:106)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.startRecursive(GBeanInstanceState.java:128)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.startRecursive(GBeanInstance.java:555)</p><p>        at org.apache.geronimo.kernel.basic.BasicKernel.startRecursiveGBean(BasicKernel.java:379)</p><p>        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:456)</p><p>        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)</p><p>        at java.lang.reflect.Method.invoke(Method.java:599)</p><p>        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)</p><p>        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)</p><p>        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)</p><p>        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:85)</p><p>        at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$b97e0d25.startConfiguration(<generated>)</p><p>        at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)</p><p>        at java.lang.Thread.run(Thread.java:735)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong style="color: #ff0000;">Caused by:</strong></p><p><strong style="color: #ff0000;">org.hibernate.HibernateException: The chosen transaction strategy requires access to the JTA TransactionManager</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>        at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:361)</p><p>        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1327)</p><p>        at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)</p><p>        at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:669)</p><p>        ... 29 more</p><p>##################Start up Servlet Initiated #################</p><p>WARNING: Found unrecognized persistence provider "org.hibernate.ejb.HibernatePersistence" in place of OpenJPA provider.  This provider's properties will not be</p><p>used.</p><p>2011-04-04 15:02:25,910 WARN  [Ejb3Configuration] hibernate.connection.autocommit = false break the EJB3 specification</p><p>Hibernate: select task0_.id as col_0_0_, deadline1_.id as col_1_0_, deadline1_.deadline_date as col_2_0_ from Task task0_, Deadline deadline1_ where (deadline1_</p><p>.id in (select startdeadl2_.id from Deadline startdeadl2_ where task0_.id=startdeadl2_.Deadlines_StartDeadLine_Id) or deadline1_.id in (select enddeadlin3_.id f</p><p>rom Deadline enddeadlin3_ where task0_.id=enddeadlin3_.Deadlines_EndDeadLine_Id)) and deadline1_.escalated=0 order by deadline1_.deadline_date</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Setting Servlet contextorg.apache.catalina.core.ApplicationContextFacade@2a6e2a6e</p><p>##################Start up Servlet Ended #################</p><p>2011-04-04 15:02:37,629 ERROR [[/WebApp_ID]] Servlet StartUpServlet threw unload() exception</p><p>javax.servlet.ServletException: Servlet.destroy() for servlet StartUpServlet threw exception</p><p>        at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1305)</p><p>        at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1604)</p><p>        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4666)</p><p>        at org.apache.geronimo.tomcat.GeronimoStandardContext.kill(GeronimoStandardContext.java:238)</p><p>        at org.apache.geronimo.tomcat.TomcatContainer.removeContext(TomcatContainer.java:382)</p><p>        at org.apache.geronimo.tomcat.TomcatWebAppContext.doStop(TomcatWebAppContext.java:529)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1161)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:367)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:192)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:563)</p><p>        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423)</p><p>        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:499)</p><p>        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)        </p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)</p><p>        at java.lang.reflect.Method.invoke(Method.java:599)</p><p>        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)</p><p>        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)</p><p>        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)</p><p>        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:85)</p><p>        at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$b97e0d25.startConfiguration(<generated>)</p><p>        at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)</p><p>        at java.lang.Thread.run(Thread.java:735)</p><p>Caused by:</p><p>java.lang.NullPointerException</p><p>        at org.jbpm.task.service.mina.BaseMinaTaskServer.stop(BaseMinaTaskServer.java:80)</p><p>        at com.citi.cate.jbpm.servlet.StartUpServlet.destroy(StartUpServlet.java:155)</p><p>        at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1286)</p><p>        ... 27 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>2011-04-04 15:02:37,707 ERROR [DeploymentPortlet] The application was not successfully started</p><p>start of default/jBPM5Demo/1301943729457/war failed</p><p>org.apache.geronimo.kernel.config.LifecycleException: start of default/jBPM5Demo/1301943729457/war failed</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:579)</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:543)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</p><p>        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)</p><p>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)</p><p>        at java.lang.reflect.Method.invoke(Method.java:599)</p><p>        at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:124)</p><p>        at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:832)</p><p>        at org.apache.geronimo.gbean.runtime.RawInvoker.invoke(RawInvoker.java:57)</p><p>        at org.apache.geronimo.kernel.basic.RawOperationInvoker.invoke(RawOperationInvoker.java:35)</p><p>        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:85)</p><p>        at org.apache.geronimo.kernel.config.EditableConfigurationManager$$EnhancerByCGLIB$$b97e0d25.startConfiguration(<generated>)</p><p>        at org.apache.geronimo.deployment.plugin.local.StartCommand.run(StartCommand.java:67)</p><p>        at java.lang.Thread.run(Thread.java:735)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="color: #0000ff;"><strong>Caused by: org.apache.geronimo.kernel.config.InvalidConfigException: Unknown start exception</strong></span></p><p>        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:522)</p><p>        at org.apache.geronimo.kernel.config.KernelConfigurationManager.start(KernelConfigurationManager.java:188)</p><p>        at org.apache.geronimo.kernel.config.SimpleConfigurationManager.startConfiguration(SimpleConfigurationManager.java:562)</p><p>        ... 14 more</p><p>Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: Configuration default/jBPM5Demo/1301943729457/war failed to start due to the following reaso</p><p>ns:</p><p>  The service J2EEApplication=null,PersistenceUnitModule=WEB-INF/lib/jbpm-human-task-5.0.0.jar,WebModule=default/jBPM5Demo/1301943729457/war,j2eeType=Persistenc</p><p>eUnit,name=org.jbpm.task did not start because [PersistenceUnit: org.jbpm.task] Unable to build EntityManagerFactory</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>        at org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485)</p><p>        ... 16 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="color: #0000ff;"><strong>***************************************</strong></span></p><p><span style="color: #0000ff;"><strong>Persistence XML</strong></span></p><p><span style="color: #0000ff;"><strong>***************************************</strong></span></p><p>  <persistence-unit name="org.drools.persistence.jpa" transaction-type="JTA"></p><p>    <provider>org.hibernate.ejb.HibernatePersistence</provider></p><p>    <jta-data-source>java:jdbc/jbpmDS</jta-data-source>        </p><p>    <class>org.jbpm.persistence.processinstance.ProcessInstanceInfo</class></p><p>    <class>org.drools.persistence.info.SessionInfo</class></p><p>    <class>org.drools.persistence.info.WorkItemInfo</class></p><p>    <properties></p><p>      <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle10gDialect"/>            </p><p>      <property name="hibernate.max_fetch_depth" value="3"/></p><p>      <property name="hibernate.hbm2ddl.auto" value="create" /></p><p>      <property name="hibernate.show_sql" value="false" />    </p><p>      <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" /></p><p>    </properties>        </p><p>  </persistence-unit></p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/597662#597662">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>