geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan <xhh...@gmail.com>
Subject Re: Check server state?
Date Thu, 30 Apr 2009 03:12:12 GMT
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

2009/4/30 RickI <ace@worker.com>

>
> Thanks RunHua,
> Do you know any gbean that can be use to get server state similar with
> wait-for-server command?
>
> Thanks,
>
> Ricky
>
>
> RunHua Chi wrote:
> >
> > Hi Rickl:
> >
> > I thinks you might need to look into the source code of the following
> > Gshell
> > command:
> >
> >   geronimo/wait-for-server
> >
> > The *geronimo/wait-for-server* command is used to verify if the server
> has
> > started in the given time (in seconds).  The default timeout is 60
> seconds
> >
> > Jeff C
> >
> > On Tue, Apr 28, 2009 at 7:49 AM, RickI <ace@worker.com> wrote:
> >
> >>
> >> Hi All,
> >> How do I check geronimo instance state from java code after being
> >> started.
> >> I starting separate instance and would like to know whether its
> >> successfully
> >> started before doing deploying a module.
> >> Starting and deploying a module are triggered from java code.
> >>
> >> Thanks,
> >>
> >> Ricky
> >> --
> >> View this message in context:
> >> http://www.nabble.com/Check-server-state--tp23267578s134p23267578.html
> >> Sent from the Apache Geronimo - Users mailing list archive at
> Nabble.com.
> >>
> >>
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Check-server-state--tp23267578s134p23302382.html
> Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
>
>


-- 
Ivan

Mime
View raw message