Hi did you try org.apache.openejb.server.context.RequestInfos.info().ip?
You should be able to see this ip activating debug level on logger: OpenEJB.server.remote.jndi Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> 2015-03-23 15:24 GMT+01:00 mohben <[email protected]>: > As per subject. > > I tried java.rmi.server.RemoteServer.getClientHost, but > "java.rmi.server.ServerNotActiveException: not in a remote call" is thrown. > > And with Tomee, in contrario of JBoss, local thread name doesn't contain > client ip. > > Any hint will be appreciated > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/How-to-get-remote-ejb-client-ip-tp4674148.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
