Got some issues with jndi lookup->
If I look at server log I can see that:
2002-06-10 14:38:33,564 DEBUG [org.jboss.naming.NamingService] NamingServer stub
: org.jnp.server.NamingServer_Stub[RemoteStub [ref: [endpoint:[10.12.34.567:1098
](local),objID:[0]]]]

Now that server has two IP addresses, this 10.12.34.34.567 for internal use only..

When trying to run remote client, I endup having:

RMIMasterSocketFactory.createSocket: host: 10.12.34.567, port: 1098
Exception in thread "main" javax.naming.CommunicationException.  Root exception
is java.rmi.ConnectException: Connection refused to host: 10.12.34.567; nested 
exception is:
        java.net.ConnectException: Operation timed out: connect

Which is of course obvious, since that is the internal address..

Now the question goes, can I force the server ip address somehow, so that it doesnt 
return that
10.12.34.567 address, but the other one..?




_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas - 
http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to