admin@glassfish.java.net

Re: AMX start/stop web module

From: Olivier Corbun <olivier_at_corbun.com>
Date: Wed, 6 Feb 2008 17:38:35 +0100

https://glassfish.dev.java.net/issues/show_bug.cgi?id=4093

done


On 2/1/08, Lloyd L Chambers <Lloyd.Chambers_at_sun.com> wrote:
> Oliver,
>
> Please file a bug on IssueTracker, being sure to indicate the
> GlassFish version (V2?).
>
> Lloyd
>
> On Jan 31, 2008, at 11:53 PM, Olivier Corbun wrote:
>
> > Yes it stays in "0" state. And it takes the start() command from
> > this state.
> >
> > /Olivier
> >
> > On 1/28/08, Lloyd L Chambers <Lloyd.Chambers_at_sun.com> wrote:
> >> Olivier,
> >>
> >> Sounds like a bug. Or a latency issue. If you insert a 5 second
> >> delay after stop() [I know that's not a solution], is it still in
> >> STATE_STARTING?
> >>
> >> Lloyd
> >>
> >> On Jan 28, 2008, at 8:20 AM, Olivier Corbun wrote:
> >>
> >>> Hi,
> >>>
> >>> I am trying to start and stop a web module through AMX. I can do
> >>> that
> >>> but I wanted to check with you about a strange state value on my
> >>> managed object after stop() is invoked.
> >>>
> >>> Basically what I am doing:
> >>> - deploy a web module
> >>> - look for the web nodule with AMX and get a J2EEDeployedObject.
> >>> - invoke stop() on the J2EEDeployedObject that is in the
> >>> STATE_RUNNING
> >>> (1) state.
> >>> - the web module is stopped and not available anymore in my browser
> >>> - look again for the web module via AMX and check the state
> >>> - the web module is in the STATE_STARTING (0) state !!!
> >>> - after that I can invoke start() via AMX, the web module is
> >>> restarted
> >>> and gets STATE_RUNNING.
> >>>
> >>> Do you follow JSR77 (StateManageable states) or is it a 0/1 state
> >>> machine?
> >>>
> >>> /Olivier
> >>> Ericsson, Sweden
> >>>
> >>> --------------------------------------------------------------------
> >>> -
> >>> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> >>> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
> >>>
> >>
> >> ---
> >> Lloyd L Chambers
> >> lloyd.chambers_at_sun.com
> >> Sun Microsystems, Inc
> >>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> >> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
> >
>
> ---
> Lloyd L Chambers
> lloyd.chambers_at_sun.com
> Sun Microsystems, Inc
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: admin-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: admin-help_at_glassfish.dev.java.net
>
>