Re: 2.1.3 to 2.1.4 Upgrade Virtual Hosts issue

2009-04-28 Thread chi runhua
Hi, I just tried both on 2.1.3 and 2.1.4 and got the same error that JohnD mentioned above. (following the instruction at http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in-geronimo-tomcat.html) j...@jeff:~/Geronimo/2.1.3/bin$ ./geronimo.sh run Using GERONIMO_BASE: /home/jeff/Geronim

Re: How to get client IP address called EJB method

2009-04-28 Thread David Jencks
On Apr 28, 2009, at 10:06 AM, alex_r wrote: No, it is not servlet. Method called by standalone GUI client. Some hourse ago i has add to org.apache.openejb.ejbd.EJBServer some code that store client IP and port in CallContext. I think it is bad solution, but i have not another. As far

Re: How to get client IP address called EJB method

2009-04-28 Thread alex_r
No, it is not servlet. Method called by standalone GUI client. Some hourse ago i has add to org.apache.openejb.ejbd.EJBServer some code that store client IP and port in CallContext. I think it is bad solution, but i have not another. :-( Ashish Jain-5 wrote: > > If it is a servlet which is acc

Re: How to get client IP address called EJB method

2009-04-28 Thread Ashish Jain
If it is a servlet which is accessing your ejb you can get the IP address through ServletRequest.getRemoteAddr(). HTH On Tue, Apr 28, 2009 at 3:23 PM, alex_r wrote: > > Sorry for my bad english. > > Can i get ip address of client requested some EJB method within this > method? > -- > View this

How to get client IP address called EJB method

2009-04-28 Thread alex_r
Sorry for my bad english. Can i get ip address of client requested some EJB method within this method? -- View this message in context: http://www.nabble.com/How-to-get-client-IP-address-called-EJB-method-tp23273787s134p23273787.html Sent from the Apache Geronimo - Users mailing list archive a