@Anders,
apparently you have a configuration where the server is trying to establish a
connection to the db defined by the 'jbpmDS' datasource. This only works inside
JBoss, but not if you are deploying to a standalone Tomcat instance.
In hibernate.cfg.xml, delete this
<property name="hibernate.connection.datasource">java:/JbpmDS</property>
and instead use a configuration similar to this:
<!-- JDBC connection properties (begin) -->
| <property
name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
| <property
name="hibernate.connection.url">jdbc:mysql://localhost:3306/jbpm32</property>
| <property name="hibernate.connection.username">jbossjbpm</property>
| <property name="hibernate.connection.password">jbossjbpm</property>
| <!-- JDBC connection properties (end) -->
See also: http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat
Regards, Martin
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044237#4044237
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044237
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user