EJB Not Bound Error
nickcresswell Oct 30, 2002 1:17 PMHi,
Having successfully compiled the test template in the getting started example, I've come rather unstuck running the Client. Seems there is a problem looking up the TestSession EJB, as the error claims that it is not bound.
I've pasted the command line output that I get. Not a lot to go on, but at this stage I have numerous avenues down which to go, but wonder if anyone's had this problem and can point me in the right directions.
Thanks, NICK
/opt/blackdown/j2sdk1.3.1/jre/bin/java -classpath ../client/client-test.jar:/usr/local/jboss/jboss-3.0.0/client/log4j.jar:/usr/local/jboss/jboss-3.0.0/client/jsse.jar:/usr/local/jboss/jboss-3.0.0/client/jnp-client.jar:/usr/local/jboss/jboss-3.0.0/client/jnet.jar:/usr/local/jboss/jboss-3.0.0/client/jmx-rmi-connector-client.jar:/usr/local/jboss/jboss-3.0.0/client/jmx-ejb-connector-client.jar:/usr/local/jboss/jboss-3.0.0/client/jmx-connector-client-factory.jar:/usr/local/jboss/jboss-3.0.0/client/jcert.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-system-client.jar:/usr/local/jboss/jboss-3.0.0/client/jbosssx-client.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-net-client.jar:/usr/local/jboss/jboss-3.0.0/client/jbossmqha.jar:/usr/local/jboss/jboss-3.0.0/client/jbossmq-client.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-jsr77.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-j2ee.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-iiop-client.jar:/usr/local/jboss/jboss-3.0.0/client/jbossha-client.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-common-client.jar:/usr/local/jboss/jboss-3.0.0/client/jboss-client.jar:/usr/local/jboss/jboss-3.0.0/client/jacorb.jar:/usr/local/jboss/jboss-3.0.0/client/jaas.jar:/usr/local/jboss/jboss-3.0.0/client/gnu-regexp.jar:/usr/local/jboss/jboss-3.0.0/client/concurrent.jar:. test.client.TestClient
javax.naming.NameNotFoundException: TestSession not bound
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:445)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
at javax.naming.InitialContext.lookup(InitialContext.java:350)
at test.client.TestClient.main(TestClient.java:21)