JBoss Community

Re: How to integrate Seam with JBPM4.x?

created by Carlos Andres in jBPM - View the full discussion

Did you configure jbpm 4.4 with seam 2.2??, I have problems with the jbpm.cfg.xml config, it thrown an exception, I followed the same article, but I don't know what's wrong....

 

my jbpm.cfg.xml:

 

<jbpm-configuration>

 

  <jbpm-context>
    <service name="persistence">
       <factory>
          <bean class="org.jbpm.persistence.db.DbPersistenceServiceFactory">
             <field name="isTransactionEnabled"><false/></field>
          </bean>
       </factory>
    </service>
   
    <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
    <service name="message" factory="org.jbpm.msg.db.DbMessageServiceFactory" />
    <service name="scheduler" factory="org.jbpm.scheduler.db.DbSchedulerServiceFactory" />
    <service name="logging" factory="org.jbpm.logging.db.DbLoggingServiceFactory" />
    <service name="authentication" factory="org.jbpm.security.authentication.DefaultAuthenticationServiceFactory" />
  </jbpm-context>

 

</jbpm-configuration>

 

 

this is the exception

 

13:18:20,818 ERROR [STDERR] java.lang.NullPointerException
13:18:20,818 ERROR [STDERR]     at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:152)
13:18:20,818 ERROR [STDERR]     at org.jbpm.pvm.internal.processengine.ProcessEngineImpl.<init>(ProcessEngineImpl.java:105)
13:18:20,818 ERROR [STDERR]     at org.jbpm.pvm.internal.cfg.ConfigurationImpl.instantiateProcessEngine(ConfigurationImpl.java:100)
13:18:20,818 ERROR [STDERR]     at org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:92)
13:18:20,818 ERROR [STDERR]     at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:126)

 

Thanks!!!

Reply to this message by going to Community

Start a new discussion in jBPM at Community