geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RickI <...@worker.com>
Subject Re: Check server state?
Date Mon, 04 May 2009 23:35:41 GMT

I start new geronimo instance by changing port-offset in configuration file.
All of that port are open but I dont want to access it through web-console
but through java code.
I want to know if geronimo instance in port 1199 (for example) is running or
not.

-R


Ivan Xu wrote:
> 
> Which port is available for you ? I mean you could connect from the remote
> machine
> 
> 2009/5/1 RickI <ace@worker.com>
> 
>>
>> Yes i think it's one way to check the main/default geronimo server.
>> But I try to check the state of geronimo instances on other port.
>> That way might not work.
>>
>> Thanks,
>>
>> Ricky
>>
>>
>> Ivan Xu wrote:
>> >
>> > No sure how does the wait-for-server command implement it, but I think
>> try
>> > to connect the server via JMX is also a way to check whether the kernel
>> is
>> > running.Ivan
>> >
> 
> -- 
> Ivan
> 
> 

-- 
View this message in context: http://www.nabble.com/Check-server-state--tp23267578s134p23378540.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message