Thanks all,
ServerProxy.isFullyStarted() works great.
Ricky
Jack Cai wrote:
>
> Rick, I suggest you to follow Jeff's advice to take a look at the code of
> [1] & [2], which perfectly demonstrates how to check whether Geronimo is
> running. Note you can specify the RMI port as you like.
>
> -Jack
>
> [1]
> https://svn.apache.org/repos/asf/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy
> [2]
> https://svn.apache.org/repos/asf/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/WaitForServerCommand.groovy
>
>
--
View this message in context: http://www.nabble.com/Check-server-state--tp23267578s134p23435475.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
|