0 Replies Latest reply on Aug 28, 2002 2:25 AM by jbull

    JBoss30 example giving javax.naming.NameNotFoundException ex

    jbull

      HI,
      I just installed JBoss30 and tried running the example client provided in the documentation section as a template.
      The code built successfully, however, when I try to execute the client with the run-client.bat, I get the following execption:

      javax.naming.NameNotFoundException: test 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)


      Can someone please tell me what I might be doing wrong ? I am a beginner with J2EE.

      Thanks a lot for your help.