java:comp/env namespace has a special meaning. Why are you setting the JNDI in 
the datasource to this format? Why not set the jndi-name in the -ds.xml to:

<jndi-name>jdbc/juddiDB</jndi-name>

Then you can lookup using:

initCtx.lookup("java:jdbc/juddiDB");

If you want the datasource to be available in the java:comp/env namespace then 
it requires a different set of steps.



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

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

Reply via email to