Minimal now boots
adrian.brock Sep 14, 2006 6:25 AMI've got the minimal server booting using the new deployers.
There is a strange exception at shutdown:
12:24:06,448 WARN [ServiceClassLoaderDeployer] Error unregistering ucl: org.jboss.mx.loading.UnifiedClassLoader3@e8a021{ url=file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/minimal/conf/jboss-service.xml ,addedOrder=2} for file:/home/ejort/mc-vdf-work/build/output/jboss-5.0.0.Beta/server/minimal/conf/jboss-service.xml java.lang.NullPointerException at org.jboss.mx.loading.UnifiedLoaderRepository3.removeClassLoader(UnifiedLoaderRepository3.java:897) at org.jboss.mx.loading.RepositoryClassLoader.unregister(RepositoryClassLoader.java:258) at org.jboss.mx.loading.UnifiedClassLoader.unregister(UnifiedClassLoader.java:196) at org.jboss.system.deployers.ServiceClassLoaderDeployer.internalRemoveClassLoader(ServiceClassLoaderDeployer.java:163) at org.jboss.system.deployers.ServiceClassLoaderDeployer.removeTopLevelClassLoader(ServiceClassLoaderDeployer.java:135) at org.jboss.deployers.plugins.deployers.helpers.AbstractTopLevelClassLoaderDeployer.removeClassLoader(AbstractTopLevelClassLoaderDeployer.java:45) at org.jboss.deployers.plugins.structure.AbstractDeploymentContext.removeClassLoader(AbstractDeploymentContext.java:346) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.process(MainDeployerImpl.java:330) at org.jboss.deployers.plugins.deployment.MainDeployerImpl.shutdown(MainDeployerImpl.java:387) at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:750) at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:732) at org.jboss.system.server.profileservice.ServerImpl$ShutdownHook.run(ServerImpl.java:721)
I don't see why this doesn't happen in jboss-head?
It also does the double removeClassLoader()
* When the classloader is unregistered from the MBeanServer
* When ucl.unregister() is invoked
Maybe it is just eating the exception?