  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Re: Trying to run jbpm outside tomcat on mysql | - Re: Trying to run jbpm outside tomcat on mysql 2007-08-10 - By dingo001
Back 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 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |