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.
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.