[jboss-user] [JBossWS] - Exception in EJB 3.0 Client Execution

san_dhyarai2005 do-not-reply at jboss.com
Thu Dec 7 05:07:48 EST 2006


I am working on EJB 3.0 when

I execute my Client.java File than find below exception

Exception in thread "main" javax.naming.NameNotFoundException: examples.sessio
stateless.Hello 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.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp
java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc
sorImpl.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
66)
        at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTranspo
.java:707)
        at java.lang.Thread.run(Thread.java:595)
        at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Stre
RemoteCall.java:247)
        at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.jav
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 examples.session.stateless.HelloClient.main(HelloClient.java:59)

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991908#3991908

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991908



More information about the jboss-user mailing list