[jboss-user] [JBoss jBPM] - Re: Trying to run jbpm outside tomcat on mysql

dingo001 do-not-reply at jboss.com
Fri Aug 10 17:25:56 EDT 2007


Upgrade hibernate to the latest, not the old one you have running on ur hdd. for me it was hibernate3.2(latest).

next problem will be no transaction defined or something similar. change the example code to 


  | jbpmConfiguration = 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' />"
  | 						+ "    <service name='tx' factory='org.jbpm.tx.TxServiceFactory' />"	
  | 						+ "  </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='hibernate.cfg.xml' />"
  | 						+ "  <string name='resource.business.calendar' "
  | 						+ "          value='org/jbpm/calendar/jbpm.business.calendar.properties' />"
  | 						+ "  <string name='resource.default.modules' "
  | 						+ "          value='org/jbpm/graph/def/jbpm.default.modules.properties' />"
  | 						+ "  <string name='resource.converter' "
  | 						+ "          value='org/jbpm/db/hibernate/jbpm.converter.properties' />"
  | 						+ "  <string name='resource.action.types' "
  | 						+ "          value='org/jbpm/graph/action/action.types.xml' />"
  | 						+ "  <string name='resource.node.types' "
  | 						+ "          value='org/jbpm/graph/node/node.types.xml' />"
  | 						+ "  <string name='resource.varmapping' "
  | 						+ "          value='org/jbpm/context/exe/jbpm.varmapping.xml' />"
  | 						+ "</jbpm-configuration>");
  | 
  | 

well, this fixed it

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073209#4073209

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073209



More information about the jboss-user mailing list