[JBoss-user] [JNDI/Naming/Network] - Re: java:comp/env bound and unbound at the same time?

2005-11-03 Thread umjames
How were you able to successfully bind to objects on java:comp/env? I'm running JBoss 4.0.0 and I can only bind datasources on java:. However, the code I'm using looks up the datasource using java:comp/env. When I look at the JNDIView MBean, it appears there's a comp subcontext under java:,

[JBoss-user] [JNDI/Naming/Network] - Re: java:comp/env bound and unbound at the same time?

2005-11-03 Thread umjames
OK, I have 2 solutions to my problem. 1. Upgrade to JBoss 4.0.3. Using that version, your servlet code can lookup a datasource on java:comp/env and JBoss will give the corresponding datastore that you have bound to java:/. For example, if the code is using java:comp/env, and your web.xml's