[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-22 Thread jobu
Fist of all thnks for ur response This is my hibernate.cfg.xml !-- jdbc connection properties -- org.hibernate.dialect.PostgreSQLDialect org.postgresql.Driver jdbc:postgresql://192.168.0.12:5432/JbpmDB dbuser dbuser org.hibernate.cache.HashtableCacheProvider

[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-22 Thread mputz
jobu, it would really help if you used the [ code ] your code / your xml files [ /code ] tags (without the blanks), to show your configurations. Besides that, I would suggest to start off by following the step-by-step explanation on the wiki (just substitute mysql with postgres) to get a

[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-22 Thread jobu
Dude. Insead of using Datasource can we use org.hibernate.transaction.JDBCTransactionFactory.. ?? I have already configured that in my hibernate.cfg.xml and also the jar files available in the project's classpath are.. clover.jar dom4j-1.6.1.jar hibernate3.jar

[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-22 Thread mputz
As already posted in my last comment: anonymous wrote : Btw, please check if there are other hibernate.cfg.xml files in your classpath, and don't forget to search inside *.jar files as well. Maybe yours is just not getting picked up. from your list I see you have * hibernate.cfg.xml *

[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-22 Thread jobu
Martin... Can i say somthing first u r simply great. yes i found the problem it was the wrong file in jbpm.sar.cfg.jar I have changed hibernate.cfg.xml in jbpm.sar.cfg.jar and deplyed it again Then the problem disappears... Fist of alll thank you martin... But one more

[jboss-user] [JBoss jBPM] - Re: Jbpm with tomcat and postgresql

2008-01-21 Thread mputz
the datasource configuration is with the jbpm-ds.xml file is something that only works if you deploy to JBoss AS. Please have a look at the http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat wiki, and pay special attention to the configuration of hibernate.cfg.xml as outlined in section 2.3