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:, but if you try binding the datasource to java:comp/datasource or even 
java:comp/env/datasource, the log messages on the console say that the 
datasource is successfully bound to java:comp/datasource or 
java:comp/env/datasource, but when the web-app's code tries looking it up, I 
get a NamingException saying that env is not bound, and when you look at the 
list generated by the JNDIView MBean, you don't see the bound datasource or 
even the env subcontext.

Which files do I need to configure to add a java:comp/env namespace to JBoss's 
JNDI?

I noticed a number of other people are having the same or very similar problems 
and no one replies to their posts.  Why is that?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905259


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to