<!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="https://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;">
    Re: Use jBPM 5.3 with a simple Java EE application
</h3>
<span style="margin-bottom: 10px;">
    created by <a href="https://community.jboss.org/people/nbsiva90">Siva NB</a> in <i>jBPM</i> - <a href="https://community.jboss.org/message/794265#794265">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><p>Thanks roxy.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Since i'm using it in jBOSS 7.1, i have added </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><strong>&lt;property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup" /&gt;</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>in the <strong>META-INF/persistence.xml</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Somehow able to rectify few errors that occured and when tried to intiate a process (say sample.bpmn) the following stacktrace occurs,</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,868 INFO&#160; [main.java.com.sample.processserver.TaskProcessServlet] (http-localhost-127.0.0.1-8080-2) @@@@@@@@ Start Process + Begin + JBPMAPIUTIL</p><p>15:58:12,874 INFO&#160; [main.java.com.sample.processserver.JbpmAPIUtil] (http-localhost-127.0.0.1-8080-2) Value of processDefId : com.sample.bpmn.hello</p><p>15:58:12,878 INFO&#160; [main.java.com.sample.processserver.JbpmAPIUtil] (http-localhost-127.0.0.1-8080-2) Value of processName : sample.bpmn</p><p>15:58:12,882 INFO&#160; [stdout] (http-localhost-127.0.0.1-8080-2) @@@@@@@@@@@@@@@@@@@ initiate process</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,886 INFO&#160; [stdout] (http-localhost-127.0.0.1-8080-2) @@@@@@@@@@@@@@@@@@@ Creating Session</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,890 INFO&#160; [main.java.com.sample.processserver.JbpmAPIUtil] (http-localhost-127.0.0.1-8080-2) Value of processNames : [sample.bpmn]</p><p>15:58:12,895 INFO&#160; [main.java.com.sample.processserver.JbpmAPIUtil] (http-localhost-127.0.0.1-8080-2) Value of processNames : [sample.bpmn]</p><p>15:58:12,899 INFO&#160; [stdout] (http-localhost-127.0.0.1-8080-2) ------------ within create session ------------</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,959 INFO&#160; [main.java.com.sample.handler.CustomExceptionHandler] (http-localhost-127.0.0.1-8080-2) ------------------------------------ERROR-------------------------------------</p><p>15:58:12,966 ERROR [main.java.com.sample.handler.CustomExceptionHandler] (http-localhost-127.0.0.1-8080-2) STACK TRACE: org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)</p><p>15:58:12,972 INFO&#160; [main.java.com.sample.handler.CustomExceptionHandler] (http-localhost-127.0.0.1-8080-2) ------------------------------------ERROR-------------------------------------</p><p>15:58:12,978 ERROR [stderr] (http-localhost-127.0.0.1-8080-2) javax.persistence.PersistenceException: [PersistenceUnit: org.jbpm.persistence.jpa] Unable to build EntityManagerFactory</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,987 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:914)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,993 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:889)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:12,999 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:56)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,006 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:63)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,011 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:47)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,020 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at main.java.com.sample.processserver.JbpmAPIUtil.createSession(JbpmAPIUtil.java:521)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,025 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at main.java.com.sample.processserver.JbpmAPIUtil.initiateProcess(JbpmAPIUtil.java:473)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,036 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at main.java.com.sample.processserver.TaskProcessServlet.processRequest(TaskProcessServlet.java:96)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,046 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at main.java.com.sample.processserver.TaskProcessServlet.doGet(TaskProcessServlet.java:267)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,053 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,057 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,061 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,068 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,074 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,079 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,084 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,089 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,095 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,100 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,107 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,113 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,120 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,125 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,130 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,135 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Unknown Source)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,144 ERROR [stderr] (http-localhost-127.0.0.1-8080-2) Caused by: org.hibernate.service.jndi.JndiException: Error parsing JNDI name [java:jboss/datasources/jbpmDS]</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,149 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.jndi.internal.JndiServiceImpl.parseName(JndiServiceImpl.java:92)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,154 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.jndi.internal.JndiServiceImpl.locate(JndiServiceImpl.java:63)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,159 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.jdbc.connections.internal.DatasourceConnectionProviderImpl.configure(DatasourceConnectionProviderImpl.java:116)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,166 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,172 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,178 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,185 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.buildJdbcConnectionAccess(JdbcServicesImpl.java:234)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,192 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.engine.jdbc.internal.JdbcServicesImpl.configure(JdbcServicesImpl.java:91)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,199 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.internal.StandardServiceRegistryImpl.configureService(StandardServiceRegistryImpl.java:75)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,205 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:159)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,211 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:131)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,218 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:71)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,222 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2270)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,229 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2266)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,234 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1735)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,239 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.EntityManagerFactoryImpl.&lt;init&gt;(EntityManagerFactoryImpl.java:84)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,245 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:904)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,250 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 24 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,253 ERROR [stderr] (http-localhost-127.0.0.1-8080-2) Caused by: javax.naming.OperationNotSupportedException</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,257 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.jndi.BitronixContext.getNameParser(BitronixContext.java:140)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,262 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.naming.InitialContext.getNameParser(Unknown Source)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,267 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.hibernate.service.jndi.internal.JndiServiceImpl.parseName(JndiServiceImpl.java:86)</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,273 ERROR [stderr] (http-localhost-127.0.0.1-8080-2)&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 40 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>15:58:13,275 INFO&#160; [main.java.com.sample.processserver.TaskProcessServlet] (http-localhost-127.0.0.1-8080-2) @@@@@@@@ Start Process + Initiate + Completed</p><p>15:58:13,281 WARN&#160; [bitronix.tm.twopc.Preparer] (http-localhost-127.0.0.1-8080-2) executing transaction with 0 enlisted resource</p><p>15:58:13,287 WARN&#160; [bitronix.tm.utils.ManagementRegistrar] (http-localhost-127.0.0.1-8080-2) cannot unregister object with name bitronix.tm:type=Transaction,Gtrid=31302E3233302E31342E3130360000013C71401D5400000002: bitronix.tm.internal.BitronixRuntimeException: cannot callunregisterMBean</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.utils.ManagementRegistrar.mbeanServerCall(ManagementRegistrar.java:95) [btm-1.3.1.jar:1.3.1]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.utils.ManagementRegistrar.unregister(ManagementRegistrar.java:74) [btm-1.3.1.jar:1.3.1]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.BitronixTransaction.fireAfterCompletionEvent(BitronixTransaction.java:388) [btm-1.3.1.jar:1.3.1]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.BitronixTransaction.commit(BitronixTransaction.java:188) [btm-1.3.1.jar:1.3.1]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.BitronixTransactionManager.commit(BitronixTransactionManager.java:96) [btm-1.3.1.jar:1.3.1]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at main.java.com.sample.processserver.TaskProcessServlet.processRequest(TaskProcessServlet.java:98) [classes:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at main.java.com.sample.processserver.TaskProcessServlet.doGet(TaskProcessServlet.java:267) [classes:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.servlet.http.HttpServlet.service(HttpServlet.java:734) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) [jboss-servlet-api_3.0_spec-1.0.0.Final.jar:1.0.0.Final]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.jpa.interceptor.WebNonTxEmCloserValve.invoke(WebNonTxEmCloserValve.java:50) [jboss-as-jpa-7.1.1.Final.jar:7.1.1.Final]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_26]</p><p>Caused by: java.lang.IllegalAccessException: Class bitronix.tm.utils.ManagementRegistrar can not access a member of class org.jboss.as.jmx.PluggableMBeanServerImpl with modifiers "public"</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at sun.reflect.Reflection.ensureMemberAccess(Unknown Source) [rt.jar:1.6.0_26]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at java.lang.reflect.Method.invoke(Unknown Source) [rt.jar:1.6.0_26]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;at bitronix.tm.utils.ManagementRegistrar.mbeanServerCall(ManagementRegistrar.java:93) [btm-1.3.1.jar:1.3.1]</p><p>&#160;&#160;&#160;&#160; &#160;&#160;&#160;&#160;&#160;... 22 more</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>Sometimes, i also get the error could not open the disk journal from </p><h3 class="r" style="font-size: medium; font-weight: normal; color: #222222; font-family: arial, sans-serif; background-color: #ffffff;"><span style="text-decoration: underline;"><strong><a class="jive-link-external-small" href="http://old.nabble.com/Bitronix-Transaction-Manager---cannot-open-disk-journal-td34151045.html" rel="nofollow">Bitronix Transaction Manager - cannot open disk journal</a></strong></span></h3><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>awaiting your response.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="text-decoration: underline;"><strong><br/></strong></span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p><span style="text-decoration: underline;"><strong><br/></strong></span></p></div>

<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style="margin: 0;">Reply to this message by <a href="https://community.jboss.org/message/794265#794265">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in jBPM at <a href="https://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>