On 2002.02.26 18:35:03 -0500 Jason Dillon wrote: > Quick question... is there order to shutdown? If MBean A depends on B, > then do we shutdown A first then B? >
there are several orders: 1. all deployments undone in reverse order of deployment. 2. When an mbean stops, all mbeans that depend on it stop. (same for destroy) (your example above is backwards I think) 3. In case there's something left over after all packages are undeployed, ServiceController stops and destroys all remaining mbeans it knows about in reverse order of creation david jencks > --jason > > > Scott M Stark wrote: > > >I'm seeing the MainDeployer still trying to to deploys during the > >shutdown sequence. Isn't this one of the first services stopped? > > > >15:00:22,734 INFO [Server] Shutdown complete > >15:00:22,734 INFO [STDOUT] Shutdown complete > >15:00:22,734 ERROR [SARDeployer] operation failed > >javax.management.InstanceNotFoundException: > >jboss.system:service=MainDeployer > > at > >com.sun.management.jmx.MBeanServerImpl.getMBean(MBeanServerImpl.java:1678) > > at > >com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1522) > > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:78) > > at $Proxy1.deploy(Unknown Source) > > at > >org.jboss.deployment.SARDeployer.parseXMLClasspath(SARDeployer.java:489) > > at org.jboss.deployment.SARDeployer.init(SARDeployer.java:176) > > at org.jboss.deployment.MainDeployer.init(MainDeployer.java:545) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:514) > > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:496) > > at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:317) > > at org.jboss.deployment.MainDeployer.run(MainDeployer.java:304) > > at java.lang.Thread.run(Thread.java:484) > > > >xxxxxxxxxxxxxxxxxxxxxxxx > >Scott Stark > >Chief Technology Officer > >JBoss Group, LLC > >xxxxxxxxxxxxxxxxxxxxxxxx > > > > > >_______________________________________________ > >Jboss-development mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-development > > > > > > _______________________________________________ > Jboss-development mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-development > > _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
