My jbpm.cfg.xml under JBoss is:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <jbpm-configuration jndi-name="java:/ProcessEngine">
|
| <import resource="jbpm.default.cfg.xml" />
| <import resource="jbpm.businesscalendar.cfg.xml" />
| <import resource="jbpm.tx.jta.cfg.xml" />
| <import resource="jbpm.jpdl.cfg.xml" />
| <import resource="jbpm.identity.cfg.xml" />
| <import resource="jbpm.jobexecutor.cfg.xml" />
| <import resource="jbpm.console.cfg.xml" />
|
| </jbpm-configuration>
|
which imports jbpm.default.cfg.xml, but I explictly added
| <process-engine-context>
| <object class="org.jbpm.pvm.internal.id.DatabaseIdComposer"
init="eager" />
| </process-engine-context>
|
I see this in server.log
| DEBUG [org.jbpm.jboss.internal.JbpmService] (main) JbpmService starting...
| DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) jndi name
java:/ProcessEngine is not bound
| DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing
org.jbpm.pvm.internal.id.DatabaseIdComposer
| DEBUG [org.jbpm.pvm.internal.wire.WireContext] (main) eagerly initializing
org.jbpm.pvm.internal.jobexecutor.JobExecutor
| DEBUG [org.jbpm.pvm.internal.cfg.ProcessEngineImpl] (main) publishing jBPM
ProcessEngine in jndi at java:/ProcessEngine
|
so, that seems to be loaded, but I still get the same problem.
It doesn't make sense to me that the database should be checked (checkDb()) locally
(at the 'client side'), but I added DatabaseIdComposer to that jbpm.cfg.xml
anyway. Same problem. The client side of the remote API doesn't necessarily have a
connection to the database. Shouldn't checkDb() be executed at the remote (JBoss)
end?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4268131#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...