[jboss-user] [jBPM] - Re: jBPM-4.2 Remote API problem?
sunil M
do-not-reply at jboss.com
Mon Jun 20 10:12:21 EDT 2011
sunil M [http://community.jboss.org/people/suniltatatel] created the discussion
"Re: jBPM-4.2 Remote API problem?"
To view the discussion, visit: http://community.jboss.org/message/611017#611017
--------------------------------------------------------------
Hi ..
I have a similar kind of problem...
i am using jbpm4.4 and followed the above steps for the configuration..but still getting error..
this is how i am invoking..
ProcessEngine processengine =
**new** Configuration().setResource("/resources/jbpm.cfg.xml").buildProcessEngine();RepositoryService repositoryService = processengine.getRepositoryService();
ExecutionService executionService = processengine.getExecutionService();
ProcessInstance processInstance=executionService.startProcessInstanceByKey("LZM");
here is the error...
org.jbpm.api.JbpmException: couldn't execute remote command: null
org.jbpm.enterprise.internal.ejb.EjbRemoteCommandService.execute(EjbRemoteCommandService.java:71)
org.jbpm.pvm.internal.processengine.ProcessEngineImpl.checkDb(ProcessEngineImpl.java:152)
org.jbpm.pvm.internal.processengine.ProcessEngineImpl.<init>(ProcessEngineImpl.java:105)
org.jbpm.pvm.internal.cfg.ConfigurationImpl.instantiateProcessEngine(ConfigurationImpl.java:100)
org.jbpm.pvm.internal.cfg.ConfigurationImpl.buildProcessEngine(ConfigurationImpl.java:92)
com.process.actions.IntiateAction.execute(IntiateAction.java:23)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
Please help me ....
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/611017#611017]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110620/9d23de65/attachment.html
More information about the jboss-user
mailing list