1 2 Previous Next 15 Replies Latest reply on Sep 8, 2009 9:33 AM by Ronald van Kuijk

    NullPointer Exception when starting a process whith Tomcat/S

    Benjamin moi Newbie

      Hi,

      I'm using :
      Tomcat 6.0
      JBPM 4.1
      Mysql

      I have a NullPointer exception when starting a process when executing this code in my DAO :

      ProcessEngine processEngine = new Configuration().setResource("jbpm.cfg.xml").buildProcessEngine();
       ExecutionService executionService = processEngine.getExecutionService();
       IdentityService identityService = processEngine.getIdentityService();
      
       ProcessInstance processinstance = executionService.startProcessInstanceByKey("taskformExample");



      My hibernate config file :

      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE hibernate-configuration
       PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN"
       "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
      
      <hibernate-configuration>
       <session-factory>
       <!-- Enable Hibernate's automatic session context management -->
      
       <property name="hibernate.dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>
       <property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
       <property name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpmdb</property>
       <property name="hibernate.connection.username">root</property>
       <property name="hibernate.connection.password"></property>
       <property name="hibernate.format_sql">true</property>
       <property name="current_session_context_class">thread</property>
      
       <mapping resource="javaclass.beans.Bill.hbm.xml"/>
       <mapping resource="javaclass.beans.Test.hbm.xml" />
       <mapping resource="javaclass.beans.User.hbm.xml" />
       <mapping resource="jbpm.repository.hbm.xml" />
       <mapping resource="jbpm.execution.hbm.xml" />
       <mapping resource="jbpm.history.hbm.xml" />
       <mapping resource="jbpm.task.hbm.xml" />
       <mapping resource="jbpm.identity.hbm.xml" />
       <mapping resource="jbpm.identity.hbm.xml" />
       </session-factory>
      </hibernate-configuration>


      jbpm.cfg
      <?xml version="1.0" encoding="UTF-8"?>
      
      <jbpm-configuration>
      
       <import resource="jbpm.default.cfg.xml" />
       <import resource="jbpm.hibernate.cfg.xml" />
       <import resource="jbpm.jpdl.cfg.xml" />
       <import resource="jbpm.identity.cfg.xml" />
       <import resource="jbpm.businesscalendar.cfg.xml" />
       <!-- <import resource="jbpm.jobexecutor.cfg.xml" /> -->
      
      </jbpm-configuration>


      web.xml
      <?xml version="1.0" encoding="ISO-8859-1"?>
      <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns="http://java.sun.com/xml/ns/javaee"
       xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       id="WebApp_ID" version="2.5">
      
       <display-name>MonApplication</display-name>
      
       <!-- Configuration de l'action servlet -->
       <servlet>
       <servlet-name>action</servlet-name>
       <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
       <init-param>
       <param-name>config</param-name>
       <param-value>/WEB-INF/struts-config.xml</param-value>
       </init-param>
       <load-on-startup>1</load-on-startup>
       </servlet>
       <servlet-mapping>
       <servlet-name>action</servlet-name>
       <url-pattern>*.do</url-pattern>
       </servlet-mapping>
      </web-app>


      stack variables:
      processEngine JbpmConfiguration (id=77)
       authenticatedUserIdThreadLocal ThreadLocal<T> (id=481)
       impl null
       isConfigured true
       processEngineWireContext WireContext (id=484)
       transactionWireDefinition WireDefinition (id=489)
       userCommandService null
       userProvidedEnvironmentObjectsThreadLocal ThreadLocal<T> (id=492)


      executionService ExecutionServiceImpl (id=80)
       commandService null


      I think it come from commandService that is null but I don't know why it is null.

      Thx

        • 1. Re: NullPointer Exception when starting a process whith Tomc
          Ronald van Kuijk Master

          what is the stacktrace/logging? Preferably on a debug level

          • 2. Re: NullPointer Exception when starting a process whith Tomc
            Benjamin moi Newbie

             

            java.lang.NullPointerException
             at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.ja
            va:66)
             at javaclass.DAO.BillDAO.findByExample(BillDAO.java:45)
             at javaclass.action.ListBillAction.execute(ListBillAction.java:29)
             at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
             at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
             at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
             at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
             at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
             at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
             at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
             at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290
            )
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
            
             at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
             at java.lang.Thread.run(Unknown Source)
            


            • 3. Re: NullPointer Exception when starting a process whith Tomc
              Ronald van Kuijk Master

              hmmm this is indeed very little. Can you debug this e.g. by running it inside your ide?

              • 4. Re: NullPointer Exception when starting a process whith Tomc
                Ronald van Kuijk Master

                I'm looking into why ther commandservice could be null btw

                • 5. Re: NullPointer Exception when starting a process whith Tomc
                  Benjamin moi Newbie

                  Thx,

                  This is the trace within eclipse :

                  javax.servlet.ServletException: java.lang.NullPointerException
                   org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:286)
                   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                  
                  
                  cause mère
                  
                  java.lang.NullPointerException
                   org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
                   javaclass.DAO.BillDAO.findByExample(BillDAO.java:45)
                   javaclass.action.ListBillAction.execute(ListBillAction.java:29)
                   org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
                   org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
                   org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
                   org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                   org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
                   org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                   org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
                   org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                   org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                   javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                   javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                  


                  • 6. Re: NullPointer Exception when starting a process whith Tomc
                    Ronald van Kuijk Master

                    Sorry, but could you run your app again with logging on TRACE level? Putting log4j for org.jbpm.pvm on trace level should be enough

                    • 7. Re: NullPointer Exception when starting a process whith Tomc
                      Benjamin moi Newbie

                      Is it what you asked for?

                      DEBUG http-8080-1 org.apache.struts.util.ModuleUtils - Get module name for path /ListBill.do
                       DEBUG http-8080-1 org.apache.struts.util.ModuleUtils - Module name found: default
                       DEBUG http-8080-1 org.apache.struts.chain.ComposableRequestProcessor - Using processing chain for this request
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.ExceptionCatcher
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectLocale
                       DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractSelectLocale - retrieve config...
                       DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractSelectLocale - set context locale to fr_FR
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SetOriginalURI
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.RequestNoCache
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SetContentType
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.RemoveCachedMessages
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectAction
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.AuthorizeAction
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.CreateActionForm
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.PopulateActionForm
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.ValidateActionForm
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectInput
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.ExecuteCommand
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectForward
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.SelectInclude
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.PerformInclude
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.CreateAction
                       DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractCreateAction - setting action to javaclass.action.ListBillAction@3a1834
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.ExecuteAction
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ExceptionCatcher - Attempting to handle a thrown exception
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ExceptionCatcher - Calling exceptionCommand 'servlet-exception'
                       DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.ExceptionHandler
                       DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractExceptionHandler - See if actionConfig ActionConfig[cancellable=false,path=/ListBill,validate=true,input=/pages/ListBill.jsp,scope=request,type=javaclass.action.ListBillAction has an exceptionConfig for java.lang.NullPointerException
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.NullPointerException
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.NullPointerException
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.RuntimeException
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.RuntimeException
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.Exception
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.Exception
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.Throwable
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.Throwable
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.Object
                       DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.Object
                       WARN http-8080-1 org.apache.struts.chain.commands.AbstractExceptionHandler - Unhandled exception
                       java.lang.NullPointerException
                       at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
                       at javaclass.DAO.BillDAO.findByExample(BillDAO.java:45)
                       at javaclass.action.ListBillAction.execute(ListBillAction.java:29)
                       at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
                       at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
                       at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
                       at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                       at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
                       at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                       at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                       at java.lang.Thread.run(Unknown Source)
                      WARN http-8080-1 org.apache.struts.chain.commands.ExceptionCatcher - Exception from exceptionCommand 'servlet-exception'
                       java.lang.NullPointerException
                       at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
                       at javaclass.DAO.BillDAO.findByExample(BillDAO.java:45)
                       at javaclass.action.ListBillAction.execute(ListBillAction.java:29)
                       at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
                       at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
                       at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
                       at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                       at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
                       at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                       at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
                       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                       at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                       at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                       at java.lang.Thread.run(Unknown Source)
                      


                      • 8. Re: NullPointer Exception when starting a process whith Tomc
                        Benjamin moi Newbie

                        If someone have the time I uploaded the whole project here :
                        http://rapidshare.com/files/276089612/lumiereGenerated.rar.html
                        MD5: 87608ADEEFA936A3DE9598B4015548BB

                        I'm only using ListBill.do action to test jBPM. Called by pages/ListBill.jsp

                        • 9. Re: NullPointer Exception when starting a process whith Tomc
                          Ronald van Kuijk Master

                          well, yes and no... this is debug level, trace shows (afaik) parsing of the jbpm config file(s).

                          • 10. Re: NullPointer Exception when starting a process whith Tomc
                            Benjamin moi Newbie

                             

                            DEBUG http-8080-1 org.apache.struts.util.ModuleUtils - Get module name for path /ListBill.do
                             DEBUG http-8080-1 org.apache.struts.util.ModuleUtils - Module name found: default
                             DEBUG http-8080-1 org.apache.struts.chain.ComposableRequestProcessor - Using processing chain for this request
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.ExceptionCatcher
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectLocale
                             DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractSelectLocale - retrieve config...
                             DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractSelectLocale - set context locale to fr_FR
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SetOriginalURI
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.RequestNoCache
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SetContentType
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.RemoveCachedMessages
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectAction
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.AuthorizeAction
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.CreateActionForm
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.PopulateActionForm
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.ValidateActionForm
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectInput
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.ExecuteCommand
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.SelectForward
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.SelectInclude
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.PerformInclude
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.CreateAction
                             DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractCreateAction - setting action to javaclass.action.ListBillAction@64023c
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.ExecuteAction
                             TRACE http-8080-1 javaclass.DAO.BillDAO - Trace
                             DEBUG http-8080-1 javaclass.DAO.BillDAO - Debug
                             INFO http-8080-1 javaclass.DAO.BillDAO - Info
                             WARN http-8080-1 javaclass.DAO.BillDAO - Warn
                             ERROR http-8080-1 javaclass.DAO.BillDAO - Error
                             FATAL http-8080-1 javaclass.DAO.BillDAO - Fatal
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using provided classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.default.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.binding.HibernateConfigurationBinding - adding hibernate configuration resource jbpm.hibernate.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.variable.types.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.hibernate.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.jpdl.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.identity.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.businesscalendar.cfg.xml
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - created ProcessEngine 8529229
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - process-engine-context 6232809
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.cal.BusinessCalendar
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositoryCache
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.RepositoryService
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.ManagementService
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.cal.BusinessCalendarImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.IdentityServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.HistoryServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.type.TypeSet
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.AbstractServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.impl.DefaultAddressResolver
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositoryCacheImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.type.DefaultTypeSet
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.script.ScriptManager
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositoryServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.TaskServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.SessionFactory
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.cfg.Configuration
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.model.DefaultIdGenerator
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.DeployerManager
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.spi.AddressResolver
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.lang.Object
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.HistoryService
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - javax.naming.Referenceable
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.model.IdGenerator
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.ExecutionServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.TaskService
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.io.Serializable
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.impl.MailTemplateRegistry
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.ManagementServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.ExecutionService
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.IdentityService
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - transaction-context:
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.hibernate.DbSessionImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.history.HistorySession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositorySessionImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.MessageSession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.DbSession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.identity.impl.IdentitySessionImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.lang.Object
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.history.HistorySessionImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.RepositorySession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.identity.spi.IdentitySession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.spi.MailSession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.TimerSession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession
                             TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.impl.MailSessionImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - creating process-engine
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - delivering null for undefined object user.command.service
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.api.ExecutionService in process-engine
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.svc.ExecutionServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.svc.ExecutionServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - found field commandService in org.jbpm.pvm.internal.svc.AbstractServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.descriptor.ContextTypeRefDescriptor - looking up interface org.jbpm.pvm.internal.cmd.CommandService by type in process-engine
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - org.jbpm.pvm.internal.cmd.CommandService not found in process-engine 6232809
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - setting field 'commandService' to value 'null'
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - making field accessible
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.api.IdentityService in process-engine
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.svc.IdentityServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.svc.IdentityServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - found field commandService in org.jbpm.pvm.internal.svc.IdentityServiceImpl
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.descriptor.ContextTypeRefDescriptor - looking up interface org.jbpm.pvm.internal.cmd.CommandService by type in process-engine
                             TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - org.jbpm.pvm.internal.cmd.CommandService not found in process-engine 6232809
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - setting field 'commandService' to value 'null'
                             TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - making field accessible
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ExceptionCatcher - Attempting to handle a thrown exception
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ExceptionCatcher - Calling exceptionCommand 'servlet-exception'
                             DEBUG http-8080-1 org.apache.struts.chain.commands.ActionCommandBase - Executing org.apache.struts.chain.commands.servlet.ExceptionHandler
                             DEBUG http-8080-1 org.apache.struts.chain.commands.AbstractExceptionHandler - See if actionConfig ActionConfig[cancellable=false,path=/ListBill,validate=true,input=/pages/ListBill.jsp,scope=request,type=javaclass.action.ListBillAction has an exceptionConfig for java.lang.NullPointerException
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.NullPointerException
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.NullPointerException
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.RuntimeException
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.RuntimeException
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.Exception
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.Exception
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.Throwable
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.Throwable
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look locally for java.lang.Object
                             DEBUG http-8080-1 org.apache.struts.config.ActionConfig - findException: look globally for java.lang.Object
                             WARN http-8080-1 org.apache.struts.chain.commands.AbstractExceptionHandler - Unhandled exception
                             java.lang.NullPointerException
                             at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
                             at javaclass.DAO.BillDAO.findByExample(BillDAO.java:54)
                             at javaclass.action.ListBillAction.execute(ListBillAction.java:29)
                             at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
                             at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
                             at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
                             at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                             at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
                             at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                             at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
                             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                             at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                             at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                             at java.lang.Thread.run(Unknown Source)
                            WARN http-8080-1 org.apache.struts.chain.commands.ExceptionCatcher - Exception from exceptionCommand 'servlet-exception'
                             java.lang.NullPointerException
                             at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
                             at javaclass.DAO.BillDAO.findByExample(BillDAO.java:54)
                             at javaclass.action.ListBillAction.execute(ListBillAction.java:29)
                             at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
                             at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
                             at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
                             at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                             at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
                             at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                             at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
                             at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                             at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                             at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                             at java.lang.Thread.run(Unknown Source)
                            


                            • 11. Re: NullPointer Exception when starting a process whith Tomc
                              Benjamin moi Newbie

                              I think the problem come from my jbpm.cfg.xml, but I don't find any documentation explaining how this file work. Can I find any information somewhere?

                              • 12. Re: NullPointer Exception when starting a process whith Tomc
                                Benjamin moi Newbie

                                When I changed my jbpm.fg.xml to :

                                <import resource="jbpm.default.cfg.xml" />
                                 <import resource="jbpm.tx.hibernate.cfg.xml" />
                                 <import resource="jbpm.jpdl.cfg.xml" />
                                 <import resource="jbpm.identity.cfg.xml" />
                                 <import resource="jbpm.businesscalendar.cfg.xml" />
                                 <import resource="jbpm.jobexecutor.cfg.xml" />


                                It seems that the process engine is better created, but I still get errors. Is it better or worst?

                                TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.businesscalendar.cfg.xml
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - using context classloader
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - getting resource as stream jbpm.jobexecutor.cfg.xml
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - created ProcessEngine 7158674
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - process-engine-context 23206283
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.DeployerManager
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.ExecutionServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.model.IdGenerator
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.impl.MailTemplateRegistry
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositoryCacheImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.impl.DefaultAddressResolver
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositoryCache
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.cfg.Configuration
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositoryServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.type.TypeSet
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.cal.BusinessCalendar
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.IdentityService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.TaskServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.io.Serializable
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.ManagementServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.SessionFactory
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.cmd.CommandService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.ExecutionService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.AbstractServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.HistoryServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - javax.naming.Referenceable
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.cal.BusinessCalendarImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.svc.IdentityServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.model.DefaultIdGenerator
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.lang.Object
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.jobexecutor.JobExecutor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.spi.AddressResolver
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.TaskService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.HistoryService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.RepositoryService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.script.ScriptManager
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.api.ManagementService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.type.DefaultTypeSet
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - transaction-context:
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.env.Transaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.engine.SessionImplementor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.jobexecutor.JobExecutorTimerSession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.event.EventSource
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.repository.RepositorySessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.classic.Session
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.transaction.TransactionFactory$Context
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.history.HistorySessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.tx.StandardTransaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.spi.MailSession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.io.Serializable
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.MessageSession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.jdbc.JDBCContext$Context
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.Session
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.email.impl.MailSessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - java.lang.Object
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.impl.SessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.hibernate.impl.AbstractSessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.identity.spi.IdentitySession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.history.HistorySession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.identity.impl.IdentitySessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.TimerSession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.hibernate.DbSessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.RepositorySession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.session.DbSession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - creating process-engine
                                 DEBUG http-8080-1 org.jbpm.pvm.internal.wire.WireContext - eagerly initializing org.jbpm.pvm.internal.jobexecutor.JobExecutor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.jobexecutor.JobExecutor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.jobexecutor.JobExecutor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - found field commandService in org.jbpm.pvm.internal.jobexecutor.JobExecutor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.descriptor.ContextTypeRefDescriptor - looking up interface org.jbpm.pvm.internal.cmd.CommandService by type in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.cmd.CommandService in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.cmd.CommandService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.cmd.CommandService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - setting field 'commandService' to value 'org.jbpm.pvm.internal.svc.RetryInterceptor@1a9876e'
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - making field accessible
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - searching for method start in org.jbpm.pvm.internal.jobexecutor.JobExecutor
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - found matching method org.jbpm.pvm.internal.jobexecutor.JobExecutor.start
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - invoking 'start' on 'org.jbpm.pvm.internal.jobexecutor.JobExecutor@fa70a4' with null
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - making method accessible
                                 TRACE http-8080-1 org.jbpm.pvm.internal.jobexecutor.JobExecutor - starting thread pool for job executor 'JobExecutor-192.168.13.1'...
                                 TRACE http-8080-1 org.jbpm.pvm.internal.jobexecutor.JobExecutor - starting dispatcher thread for job executor 'JobExecutor-192.168.13.1'...
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - delivering null for undefined object user.command.service
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.api.ExecutionService in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.svc.ExecutionServiceImpl
                                 INFO DispatcherThread org.jbpm.pvm.internal.jobexecutor.DispatcherThread - starting DispatcherThread
                                 TRACE DispatcherThread org.jbpm.pvm.internal.cfg.JbpmConfiguration - opening PvmEnvironment[17303670]
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - creating transaction
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.tx.StandardTransaction in transaction
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.tx.StandardTransaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.svc.ExecutionServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - found field commandService in org.jbpm.pvm.internal.svc.AbstractServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.descriptor.ContextTypeRefDescriptor - looking up interface org.jbpm.pvm.internal.cmd.CommandService by type in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.cmd.CommandService in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - delivering org.jbpm.pvm.internal.cmd.CommandService
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.tx.StandardTransaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - setting field 'commandService' to value 'org.jbpm.pvm.internal.svc.RetryInterceptor@1a9876e'
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - making field accessible
                                 TRACE DispatcherThread org.jbpm.pvm.internal.tx.StandardTransaction - beginning StandardTransaction[24522695]
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.api.IdentityService in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.svc.IdentityServiceImpl
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.session.DbSession in transaction
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.hibernate.DbSessionImpl
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.hibernate.DbSessionImpl
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - found org.hibernate.Session in transaction
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - constructing org.hibernate.impl.SessionImpl
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - org.hibernate.SessionFactory not found in transaction 3862294
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - found org.hibernate.SessionFactory in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.svc.IdentityServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - found field commandService in org.jbpm.pvm.internal.svc.IdentityServiceImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.descriptor.ContextTypeRefDescriptor - looking up interface org.jbpm.pvm.internal.cmd.CommandService by type in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.cmd.CommandService in process-engine
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - delivering org.jbpm.pvm.internal.cmd.CommandService
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - setting field 'commandService' to value 'org.jbpm.pvm.internal.svc.RetryInterceptor@1a9876e'
                                 TRACE http-8080-1 org.jbpm.pvm.internal.util.ReflectUtil - making field accessible
                                 TRACE http-8080-1 org.jbpm.pvm.internal.cfg.JbpmConfiguration - opening PvmEnvironment[13452238]
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - constructing org.hibernate.SessionFactory
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - creating transaction
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - org.hibernate.cfg.Configuration not found in process-engine 23206283
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.tx.StandardTransaction in transaction
                                 INFO DispatcherThread org.jbpm.pvm.internal.svc.DefaultCommandService - exception while executing command org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd@1eb0c6
                                 org.jbpm.pvm.internal.wire.WireException: couldn't find configuration
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:61)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:63)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.wire.descriptor.DbSessionDescriptor.initialize(DbSessionDescriptor.java:49)
                                 at org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext.java:537)
                                 at org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(AcquireJobsCmd.java:60)
                                 at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(AcquireJobsCmd.java:41)
                                 at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
                                 at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
                                 at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
                                 at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
                                 at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJobs(DispatcherThread.java:126)
                                 at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(DispatcherThread.java:67)
                                TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.tx.StandardTransaction
                                 TRACE DispatcherThread org.jbpm.pvm.internal.tx.StandardTransaction - rolling back StandardTransaction[24522695]
                                 TRACE DispatcherThread org.jbpm.pvm.internal.tx.StandardTransaction - rolled back
                                 TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - closing transaction...
                                 TRACE DispatcherThread org.jbpm.pvm.internal.env.BasicEnvironment - closing PvmEnvironment[17303670]
                                 TRACE DispatcherThread org.jbpm.pvm.internal.env.PvmEnvironment - closed PvmEnvironment[17303670]
                                 ERROR DispatcherThread org.jbpm.pvm.internal.jobexecutor.DispatcherThread - exception in job executor thread. waiting 5000 milliseconds
                                 org.jbpm.pvm.internal.wire.WireException: couldn't find configuration
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:61)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:63)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.wire.descriptor.DbSessionDescriptor.initialize(DbSessionDescriptor.java:49)
                                 at org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext.java:537)
                                 at org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(AcquireJobsCmd.java:60)
                                 at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(AcquireJobsCmd.java:41)
                                 at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
                                 at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
                                 at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
                                 at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
                                 at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJobs(DispatcherThread.java:126)
                                 at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(DispatcherThread.java:67)
                                TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.tx.StandardTransaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.tx.StandardTransaction - beginning StandardTransaction[15184882]
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.jbpm.pvm.internal.session.RepositorySession in transaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.jbpm.pvm.internal.repository.RepositorySessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - initializing org.jbpm.pvm.internal.repository.RepositorySessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.hibernate.Session in transaction
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - constructing org.hibernate.impl.SessionImpl
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - org.hibernate.SessionFactory not found in transaction 30869925
                                 TRACE http-8080-1 org.jbpm.pvm.internal.wire.WireContext - found org.hibernate.SessionFactory in process-engine
                                 INFO http-8080-1 org.jbpm.pvm.internal.svc.DefaultCommandService - exception while executing command org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd@ba6c13
                                 org.jbpm.pvm.internal.wire.WireException: couldn't initialize object 'org.jbpm.pvm.internal.repository.RepositorySessionImpl': getting org.hibernate.SessionFactory previously resulted in an exception
                                 at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(ObjectDescriptor.java:233)
                                 at org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext.java:537)
                                 at org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:57)
                                 at org.jbpm.pvm.internal.cmd.StartProcessInstanceInLatestCmd.execute(StartProcessInstanceInLatestCmd.java:38)
                                 at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
                                 at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
                                 at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
                                 at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
                                 at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.startProcessInstanceByKey(ExecutionServiceImpl.java:66)
                                 at javaclass.DAO.BillDAO.findByExample(BillDAO.java:54)
                                 at javaclass.action.ListBillAction.execute(ListBillAction.java:29)
                                 at org.apache.struts.chain.commands.servlet.ExecuteAction.execute(ExecuteAction.java:58)
                                 at org.apache.struts.chain.commands.AbstractExecuteAction.execute(AbstractExecuteAction.java:67)
                                 at org.apache.struts.chain.commands.ActionCommandBase.execute(ActionCommandBase.java:51)
                                 at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                                 at org.apache.commons.chain.generic.LookupCommand.execute(LookupCommand.java:305)
                                 at org.apache.commons.chain.impl.ChainBase.execute(ChainBase.java:191)
                                 at org.apache.struts.chain.ComposableRequestProcessor.process(ComposableRequestProcessor.java:283)
                                 at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
                                 at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
                                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                                 at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
                                 at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                                 at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
                                 at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                                 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
                                 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
                                 at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
                                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
                                 at java.lang.Thread.run(Unknown Source)
                                Caused by: org.jbpm.pvm.internal.wire.WireException: getting org.hibernate.SessionFactory previously resulted in an exception
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:393)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:63)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.autoWire(ObjectDescriptor.java:294)
                                 at org.jbpm.pvm.internal.wire.descriptor.ObjectDescriptor.initialize(ObjectDescriptor.java:225)
                                 ... 41 more
                                Caused by: org.jbpm.pvm.internal.wire.WireException: couldn't find configuration
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionFactoryDescriptor.construct(HibernateSessionFactoryDescriptor.java:61)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:63)
                                 at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.wire.descriptor.DbSessionDescriptor.initialize(DbSessionDescriptor.java:49)
                                 at org.jbpm.pvm.internal.wire.WireContext.performInitialization(WireContext.java:537)
                                 at org.jbpm.pvm.internal.wire.WireContext.initialize(WireContext.java:499)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:453)
                                 at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331)
                                 at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:707)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:139)
                                 at org.jbpm.pvm.internal.env.BasicEnvironment.get(BasicEnvironment.java:130)
                                 at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(AcquireJobsCmd.java:60)
                                 at org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd.execute(AcquireJobsCmd.java:41)
                                 at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42)
                                 at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54)
                                 at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46)
                                 at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55)
                                 at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.acquireJobs(DispatcherThread.java:126)
                                 at org.jbpm.pvm.internal.jobexecutor.DispatcherThread.run(DispatcherThread.java:67)
                                [...]


                                • 13. Re: NullPointer Exception when starting a process whith Tomc
                                  Benjamin moi Newbie

                                  last error I got is :

                                  TRACE DispatcherThread org.jbpm.pvm.internal.wire.WireContext - org.hibernate.cfg.Configuration not found in process-engine 21335499


                                  I don't know where I'm getting here....

                                  • 14. Re: NullPointer Exception when starting a process whith Tomc
                                    Benjamin moi Newbie

                                    It's working now. It was a lib problem (don't know exactly which one, but I reinstalled everything and now it's working)

                                    1 2 Previous Next