[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: comp not bound

PeterJ do-not-reply at jboss.com
Thu Aug 3 12:58:44 EDT 2006


Your code is looking up an object in JNDI, and part of the object name you are giving to JNDI contains the directory name 'comp', but no such directory exists.  Most likely, you are using a name such as "java:/env/comp/XXX".

One way to see what JDNI names are bound is to use jmx-console, click on the jboss:service=JNDIView mbean, and then invoke the list operation.

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

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



More information about the jboss-user mailing list