Yes I see... that is unfortunate.  Hopefully we can fix this when fixing the 
other deployment related deficiencies.

--jason


> Service Controller shuts down in reverse order of startup, so only 3 or 4
> services remain when MainDeploy.stop or destroy is called.
>
> IMO the current behavior is unavoidable until we use mbean persistence to
> store mbean state, make DeploymentInfo into an mbean, and dont undeploy
> packages on shutdown or, on restart, redeploy unchanged packages that were
> deployed when the server was shutdown.
>
> I could be wrong but spent some time trying to figure out how to make this
> work, which it currently does.  I was unsuccessful in making shutdown work
> without the MainDeployer.shutdown to start things off.
>
> david jencks
>
> > --jason
> >
> > On Wednesday 15 May 2002 03:16 am, David Jencks wrote:
> > > MainDeployer.shutdown undeploys the deployed packages in reverse order
> >
> > of
> >
> > > their deployment.  This cleans up the DeploymentInfo,
> >
> > UnifiedClassloaders,
> >
> > > and a bunch of other stuff.
> > >
> > > ServiceController.shutdown just removes the mbeans, which leaves a lot
> >
> > of
> >
> > > stuff just sitting there.  IIRC I think it was causing problems when
> > > MainDeployer shut down.  There was definitely a problem that caused me
> >
> > to
> >
> > > implement this behavior.
> > >
> > > I suspect if we made DeploymentInfo into an mbean with appropriate
> > > dependencies we could just do ServiceController.shutdown.  This would
> > > probably fit better into a scheme of using mbean persistence to save
> >
> > state
> >
> > > across server shutdown and restart.
> > >
> > > david jencks
> > >
> > > On 2002.05.14 22:39:31 -0400 Jason Dillon wrote:
> > > > Resending due to my messed up sendmail config...
> > > >
> > > > ----------  Forwarded Message  ----------
> > > >
> > > > Subject: ShutdownHook & MainDeployer.shutdown()
> > > > Date: Fri, 10 May 2002 09:54:21 -0700
> > > > From: Jason Dillon <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > >
> > > > Can someone please explain to me why ServerImpl was changed to call
> > > > MainDeployer.shutdown() in addition to ServiceController.shutdown()
> > > >
> > > > --jason
> > > >
> > > > -------------------------------------------------------
> > > >
> > > > _______________________________________________________________
> > > >
> > > > Have big pipes? SourceForge.net is looking for download mirrors. We
> > > > supply
> > > > the hardware. You get the recognition. Email Us:
> > > > [EMAIL PROTECTED]
> > > > _______________________________________________
> > > > Jboss-development mailing list
> > > > [EMAIL PROTECTED]
> > > > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > >
> > > _______________________________________________________________
> > >
> > > Have big pipes? SourceForge.net is looking for download mirrors. We
> >
> > supply
> >
> > > the hardware. You get the recognition. Email Us:
> >
> > [EMAIL PROTECTED]
> >
> > > _______________________________________________
> > > Jboss-development mailing list
> > > [EMAIL PROTECTED]
> > > https://lists.sourceforge.net/lists/listinfo/jboss-development

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to