title: How to get client IP address in a JBoss remote EJB call?
body: <p>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 ?</p>
  
  <p>With JBoss 6.1 I tried the method <code>java.rmi.server.RemoteServer#getClientHost</code> but it throws <code>java.rmi.server.ServerNotActiveException: not in a remote call</code>. Is there any way to get the information ?</p>