Hello,

I'm running an .ear-Application on JBoss 4.2.2 containing jBPM. The 
Swing-Client running on the client machine works fine when connecting to the 
application server with the .ear-Application which uses a datasource in the 
java:-namespace.

However, if I start a certain part of the application which uses jBPM/Hibernate 
I get an error:
org.hibernate.HibernateException: Could not find datasource, Caused by: 
javax.naming.NameNotFoundException: No object bound for java:InformixDS 

I think it's because I'm using the datasource in hibernate.cfg.xml. But I want 
to use the datasource, which works in the rest of the application. It works 
fine as long as I use not the datasource and put in the database-parameters 
directly in hibernate.cfg.xml.


As I read in the forum and internet, it's probably because of a local (client) 
and server JVM. 

So what can I do as a workaround/solution (use-java-context is no solution for 
me).

Thanks for an answer.
braca

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4202323
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to