How to get the client IP address at the server-side when a EJB StatelessBean method is invoked through RMI/IIOP after a classical JNDI lookup ?
With JBoss 6.1 I tried the method java.rmi.server.RemoteServer#getClientHost
but it throws java.rmi.server.ServerNotActiveException: not in a remote call
. Is there any way to get the information ?
Is it still embedded in the thread in JBoss 6.1?
and then parse from there?