JBoss Community

Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0

created by Carlos Andres in jBPM - View the full discussion

Hi all.

I'm trying to configure this environment, I'm using jbpm4.4, seam 2.2, I followed this instructions: http://www.lunatech-research.com/archives/2010/03/09/jbpm4-and-seam-working-together

 

but there is something missed. I'm getting this exception:

 

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)
13:18:20,818 ERROR [STDERR]     at xx.xx.xx.jbpm.Jbpm.init(Jbpm.java:37)

 

It is related with jbpm.cfg.xml file:

<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>

 

What is wrong???

 

Thanks in advance!!!

Reply to this message by going to Community

Start a new discussion in jBPM at Community