This content has been marked as final.
Show 3 replies
-
1. Re: Lookup RMIAdaptor JBOSS 5.1
muraali Aug 12, 2010 5:04 AM (in response to muraali)Any one please?
-
2. Re: Lookup RMIAdaptor JBOSS 5.1
jaikiran Aug 12, 2010 5:10 AM (in response to muraali)Muralidhar S wrote:
Exception:
caught exception: javax.naming.CommunicationException [Root exception is java.rmi.UnknownHostException: Unknown host: emssvt2; nested exception is:java.net.UnknownHostException: emssvt2]Where is the IPAddress getting mapped to a hostname? Anything needs to be done on the JBOSS 5.1 side?
Regards
-murali
-
3. Re: Lookup RMIAdaptor JBOSS 5.1
muraali Aug 12, 2010 6:50 AM (in response to jaikiran)Thanks for the reference. It works if I hard code the IP address for -Djava.rmi.server.hostname. In our case, JBOSS 5.1 is running on a dual stack server (both IPv4 and IPv6) and need to allow lookup over v4/v6 address. I tried giving "0.0.0.0" for the hostname. But it doesn't work.
Is there any way I can specify RMI to accept on all address with bind_by_host=false?