Forums Register Login

A naive JNDI question...

+Pie Number of slices to send: Send
Trying to run the template from the JBoss 3 tutorial examples (on JBoss 4.0), I get the following error:
javax.naming.NameNotFoundException: test not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:490)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:498)
at org.jnp.server.NamingServer.getObject(NamingServer.java:504)
at org.jnp.server.NamingServer.lookup(NamingServer.java:248)
at org.jnp.server.NamingServer.lookup(NamingServer.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
... (and there's more)
If I look at my jboss-web.xml file, I see only the following jndi reference:
<ejb-ref>
<ejb-ref-name>ejb/webtest/TestSession</ejb-ref-name>
<jndi-name>ejb/test/TestSession</jndi-name>
</ejb-ref>
So my question is, where to I look to find out what I should add (and where I should add it) to get this exception to go away?
Thanks.
+Pie Number of slices to send: Send
Gonna move this to the JBoss forum
Are you okay? You look a little big. Maybe this tiny ad will help:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 491 times.
Similar Threads
A naive JNDI question...
unable to run ejb client
problems with JNDI name lookup
Problem in local refrence
Cannot access simple bean using JBOSS-JNDI
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:21:14.