Don't worry, I just did the exact same thing, and spent an hour trying to
figure it out :) Silly me.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4069124#4069124
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069124
but encountered some problem.
what kind of problems? any actual errors you can share with us?
5. copied all the jars from jbpm-jpdl-3.2.GA\lib\*.jar to my
$CATALINA_HOME\webapps\jbpm-console\WEB-INF\lib
that might not be all needed. I'd recommend to start off by executing
ant
I also have an issue with the configuration. Apparently according to the
catalina logs, the datasource for the jdbc connection is undefined/missing.
| SEVERE: exception in job executor thread. waiting 256 milliseconds
| org.hibernate.HibernateException: Could not find datasource
|
@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
Thanks Martin, for pinpointing that. The next issue I'm facing is problem with
the JDBC connection. If you know the apparent reason for that aswell, let me
know :)
| SEVERE: exception in job executor thread. waiting 64 milliseconds
| java.lang.UnsupportedOperationException: The user
Anders, I think there is still something wrong with your configuration - if you
post the content of hibernate.cfg.xml here I can have a look - sometimes a
second set of eyes is helpful with such issues ;-)
Regards, Martin
View the original post :
Thanks for the effort, I was actually planning to give up for today.
I hope you don't mind that I only paste the top of the file since the rest has
been untouched.
| ?xml version='1.0' encoding='utf-8'?
|
| !DOCTYPE hibernate-configuration PUBLIC
| -//Hibernate/Hibernate
I know see myself that I've messed up the config and left the comments
remaining there. Of course it didn't work. :)
Anyways, thanks again Martin!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4044353#4044353
Reply to the post :
sory, forgot it will strip off the tags, the entries i put in jbpm-console.xml
is this
Context
Realm className=org.apache.catalina.realm.JDBCRealm
driverName=com.mysql.jdbc.Driver
connectionURL=jdbc:mysql://localhost:3307/jbpm
connectionName=root