1 Reply Latest reply on Oct 2, 2013 2:17 AM by ask123

    jnp://localhost:1900 not working

    ask123

      Hi All,

       

      I am facing a problem which is hindering my work from past couple of days.

       

      I am using JBoss 4.2.3.GA on Windows 2008 r2 server.

      I need to execute a command : java -jar <JBoss 4.2.3.GA/bin jar file> -f -a <JBoss 4.2.3.GA/bin  xml file> -u jnp://localhost:1900.

       

      But this command is giving below error :

      javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table]

              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:780)

              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627)

              at javax.naming.InitialContext.lookup(InitialContext.java:392)

              at org.dcm4chex.archive.tools.EditMwl.getMWLManager(EditMwl.java:196)

      Caused by: java.rmi.NoSuchObjectException: no such object in table

              at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)

              at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)

              at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)

              at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)

              at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:675)

              ... 5 more

       

      But If I bind the server with IP address and execute the same command changing localhost to ip address (jnp://192.168.3.100:1900) then it is working.

       

      Could some one help me how can I fix this issue.

       

      Thank you!