[jboss-dev-forums] [jBPM Development] - Re: jbpm tomcat JNDI binding problem
志昂 孟
do-not-reply at jboss.com
Thu Jun 23 04:19:43 EDT 2011
志昂 孟 [http://community.jboss.org/people/mengzhiang] created the discussion
"Re: jbpm tomcat JNDI binding problem"
To view the discussion, visit: http://community.jboss.org/message/611557#611557
--------------------------------------------------------------
I hava found the problem, my jpbm.cfg.xml is Incorrect.
<?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.bpmn.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.jobexecutor.cfg.xml" />
<import resource="jbpm.console.cfg.xml" />
</jbpm-configuration>
Integrated spring should use
<?xml version="1.0" encoding="UTF-8"?>
<jbpm-configuration>
<import resource="jbpm.default.cfg.xml" />
<import resource="jbpm.tx.spring.cfg.xml" />
<import resource="jbpm.jpdl.cfg.xml" />
<import resource="jbpm.bpmn.cfg.xml" />
<import resource="jbpm.identity.cfg.xml" />
<import resource="jbpm.businesscalendar.cfg.xml" />
<import resource="jbpm.console.cfg.xml" />
<import resource="jbpm.jobexecutor.cfg.xml" />
<process-engine-context>
<string name="spring.cfg" value="applicationContext.xml" />
</process-engine-context>
</jbpm-configuration>
Thank you
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/611557#611557]
Start a new discussion in jBPM Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110623/e416bc72/attachment.html
More information about the jboss-dev-forums
mailing list