[jboss-user] [EJB/JBoss] - Re: getting client ip address in EJB (jboss3.2.5)
stalker314314
do-not-reply at jboss.com
Thu Jul 24 11:44:10 EDT 2008
to answer myself, there is a workaround - you can get client ip address in EJB when using Thread.currentThread.getName(). Thread's name contains client ip address, and it's in the form of:
RMI TCP Connection(100)-192.168.0.103
so you just have to pull out ip address from thread's name
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166471#4166471
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166471
More information about the jboss-user
mailing list