Hello,

In one computer ejb3 appl with web client working fine but when I put client on 
the another host I got following errors ->

5:58:55,453 ERROR [STDERR] javax.naming.CommunicationException [Root exception 
is java.rmi.NoSuchObjectException: no such object in table]
15:58:55,453 ERROR [STDERR]     at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:780)
15:58:55,453 ERROR [STDERR]     at 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)
15:58:55,843 ERROR [STDERR]     at 
javax.naming.InitialContext.lookup(InitialContext.java:351)

---
Here is my lookup

Hashtable environment = new Hashtable();
          environment.put(Context.INITIAL_CONTEXT_FACTORY, 
"org.jnp.interfaces.NamingContextFactory");
          environment.put(Context.URL_PKG_PREFIXES, 
"org.jboss.naming:org.jnp.interfaces");
          environment.put(Context.PROVIDER_URL, "jnp://some_IP:1099");
          InitialContext context = new InitialContext(environment);
          BeanRemote bean = (BeanRemote) context.lookup("ejb/MyBean/remote"); 

------

I use JBoss 4.2.2, What is the problem?


       

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160833
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to