My JBoss 4.2.0 CR2 is bound to address 0.0.0.0 because I need access from localhost, as
well as from the internet. Actually I now have two such environments: a windows for
development, and a linux for production.
I have EJB's deployed.
jndi.properties for the clients points to the FQ domain name of the server, on the
standard port 1099.
Client program to EJB communication fails because RMI on the remote client obviously uses
the server's simple one-word hostname instead of its FQDN. How do I get around this?
anonymous wrote :
| javax.naming.CommunicationException [Root exception is java.rmi.UnknownHostException:
Unknown host: kuvera; nested exception is:
| java.net.UnknownHostException: kuvera]
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
| at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
| ...
| Caused by: java.rmi.UnknownHostException: Unknown host: kuvera; nested exception is:
| java.net.UnknownHostException: kuvera
| at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:572)
| at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
| ...
| Caused by: java.net.UnknownHostException: kuvera
| at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
| at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:430)
| ...
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045058#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...