0 Replies Latest reply on Feb 16, 2007 4:32 AM by Franck DARRAS

    Two instances behind a ALTEON

    Franck DARRAS Newbie


      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.