geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stella Lok" <oinvertedwo...@gmail.com>
Subject Re: Getting IP Address of AppServer
Date Fri, 14 Nov 2008 04:55:23 GMT
Hi,

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

Sincerely,
Stella



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
>
> geronimo-2.1.3-src\plugins\debugviews\debugviews-portlets\src\main\java\org\apache\geronimo\console\
>
>
>
> 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.
>
>

Mime
View raw message