[jboss-dev-forums] [Design of POJO Server] - Minimal now boots

adrian@jboss.org do-not-reply at jboss.com
Thu Sep 14 06:25:34 EDT 2006


I'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 at 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?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971521#3971521

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971521



More information about the jboss-dev-forums mailing list