JBoss throws unreachable exception while doing ejb local home lookups, when the network connectivity is not there.
Then, I have set my rmi server codebase to localhost to avoid the unreachable host exception.
-Djava.rmi.server.hostname=localhost
After this the exception got arrested but I am not able to access the server from remote machine (with network connectivity)
Help me to know, what is the actually fix to arrest the unreachable exceptions during ejb localhome lookups, when network connectivity is not available.
May be useful for someone who was wondering why ????? :)
Spotted the issue. Shutdown.jar was there in my classpath,
It had jndi.properties file in it. Which caused all the issue.....