Hi,
I Get the following error when I call the following source
anonymous wrote :
| DEBUG [Services] executing default save operations
| DEBUG [HibernateSaveOperation] saving process instance
| DEBUG [SaveLogsOperation] ignoring logs. no logging service available.
| DEBUG [CascadeSaveOperation] cascading save of '[EMAIL PROTECTED]'
| DEBUG [JbpmContext] closing JbpmContext
| DEBUG [Services] closing service 'persistence': [EMAIL PROTECTED]
| ERROR [STDERR] org.jbpm.JbpmException: no jbpm tx service configured
| [...]
| ERROR [Services] problem closing service 'persistence'
| org.jbpm.JbpmException: no jbpm tx service configured
|
org.jbpm.JbpmConfiguration jbpmConfiguration =
org.jbpm.JbpmConfiguration.parseXmlString(
| "<jbpm-configuration>" +
|
| // A jbpm-context mechanism separates the jbpm core
| // engine from the services that jbpm uses from
| // the environment.
|
| " <jbpm-context>" +
| " <service name='persistence' " +
| "
factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' />" +
| " </jbpm-context>" +
|
| // Also all the resource files that are used by jbpm are
| // referenced from the jbpm.cfg.xml
|
| " <string name='resource.hibernate.cfg.xml' " +
| " value='config/hibernate.cfg.xml' />" +
| "</jbpm-configuration>"
| );
| org.jbpm.JbpmContext jbpmcontext
=jbpmConfiguration.createJbpmContext();
|
| try {
|
| org.jbpm.graph.exe.ProcessInstance pi =
jbpmcontext.newProcessInstance(processname);
|
| pi.getRootToken().signal();
| jbpmcontext.save(pi);
| } catch (Exception ex) {
| ex.printStackTrace();
| } finally {
| jbpmcontext.close();
| }
|
|
Why does that happen? Anyone an idea?
Thank you!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000369#4000369
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4000369
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user