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
The Console / Server / Information Portlet displays a Node entry, you might
look at the portlet source to see how it is done.
stella lok wrote:
> Is there any way for an MDB to get the IP address of the app server
> 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
> the servlet return the ip.
> If anyone knows of a better way to do it, I'd greatly appreciate it
> Thank you,
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.