Ferguson, Doug wrote:

> You can't use the connection outside of jBoss.
> 
> If you are using integratd tomcat you can use the jBoss connection pool.
> 
> Note, a common rookie mistake is to try and use java:com/env/MyPool name
> from
> a servlet. You can't do this... you gotta use java:MyPool
> 


Actually, using the ENC name should work, but you must define the 
resource-ref in web.xml and you need to map it to the proper datasource 
in jboss-web.xml. I believe the only documentation for this is 
jboss-web.dtd.

-danch

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to