Thanks very much for the help. I found the code that retrieves the ip address displayed on the Console page in geronimo-j2ee/src/main/java/org/apache/geronimo/j2ee/management/impl/JVMImpl.java


On Thu, Nov 13, 2008 at 9:43 PM, Juergen Weber <weberjn@gmail.com> wrote:

The Console / Server / Information Portlet displays a Node entry, you might
look at the portlet source to see how it is done.
Somewhere below

stella lok wrote:
> Hi,
> Is there any way for an MDB to get the IP address of the app server
> hosting
> it? The EAR of this MDB has both ejb and web modules. The only solution I
> can think of is for the MDB to make an http request to a servlet and
> having
> the servlet return the ip.
> If anyone knows of a better way to do it, I'd greatly appreciate it
> Thank you,
> Stella

View this message in context: http://www.nabble.com/Getting-IP-Address-of-AppServer-tp20473840s134p20481033.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.