[jboss-user] [JNDI/Naming/Network] - Re: jndi reference problem(urgent)?

augustfox do-not-reply at jboss.com
Sun Dec 17 20:05:37 EST 2006


thanks  PeterJ!
But both still failed.
when try
<resource-ref>
   <res-ref-name>jdbc/test</res-ref-name>
   <jndi-name>comp/env/jdbc/test</jndi-name>
</resource-ref>
the error is:
javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: comp not bound]

and when try
<resource-ref> 
<res-ref-name>comp/env/jdbc/test</res-ref-name> 
<jndi-name>jdbc/test</jndi-name> 
</resource-ref>
the error is: 
javax.naming.NameNotFoundException: test not bound

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

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



More information about the jboss-user mailing list