2 Replies Latest reply on Jul 1, 2006 11:21 AM by Garth

    Using JBoss 4.0.3 EJB 3.0 Stateless Session Bean works from

    Garth Newbie

      I am able to get Brian Leonard's NetBean example to work in JBoss 4.0.3. When I change over to 4.0.4 I am getting a LDAP naming exception. The bean is unbound. This is the same code.
      Garth

        • 1. Re: Using JBoss 4.0.3 EJB 3.0 Stateless Session Bean works f
          Garth Newbie

          I am using a remote client and the error dump is below:
          init:
          deps-jar:
          compile-single:
          run-main:
          Exception in thread "main" javax.naming.NameNotFoundException: PatientAccessRemote not bound
          at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
          at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
          at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
          at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
          at sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
          at sun.rmi.transport.Transport$1.run(Transport.java:153)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
          at java.lang.Thread.run(Thread.java:595)
          at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
          at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
          at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
          at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
          at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
          at javax.naming.InitialContext.lookup(InitialContext.java:351)
          at com.neurondynamics.client.Client.main(Client.java:40)
          Java Result: 1
          BUILD SUCCESSFUL (total time: 8 seconds)