[jboss-user] [JNDI/Naming/Network] - Two instances behind a ALTEON

ledoc do-not-reply at jboss.com
Fri Feb 16 04:32:31 EST 2007


this is my configuration :
   jdk 5.0
   Jboss 4.0.4
   solaris 10
   Alteon redirect all ports

With a remote client, i want to access to an EJB. I use rmi server configuration to launch one instance of jboss (Djava.rmi.server.hostname=ALTEON_IP)

I have no problem, but when i use rmi server to launch two instances of jboss on differents machines, i obtain this error
javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | 	at javax.naming.InitialContext.lookup(Unknown Source)
  | 	at hug.test.ds.ClientDS.ClientDSJndi(ClientDS.java:44)
  | 	at hug.test.ds.ClientDS.main(ClientDS.java:23)
  | Caused by: java.rmi.NoSuchObjectException: no such object in table
  | 	at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
  | 	at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
  | 	at sun.rmi.server.UnicastRef.invoke(Unknown Source)
  | 	at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
  | 	at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)

When i see via jmx-console my JNDI list, my EJB is deployed in Global namespaces.

do you have an idea to resolve this problem.


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

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

More information about the jboss-user mailing list