[
http://jira.jboss.com/jira/browse/JBAS-4569?page=all ]
Dimitris Andreadis reopened JBAS-4569:
--------------------------------------
The exception is still there.
We need to find the real reason for the exception thrown at shutdown:
13:34:29,906 ERROR [DefaultPartition] partition unbind operation failed
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jboss.iiop.naming.ORBInitialContextFactory [Root exception is
java.lang.ClassNotFoundExcep
tion: org.jboss.iiop.naming.ORBInitialContextFactory]
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>(InitialContext.java:175)
at
org.jboss.ha.framework.server.ClusterPartition.stopService(ClusterPartition.java:402)
at
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:328)
at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:206)
at AOPContainerProxy$23.stop(AOPContainerProxy$23.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:55)
at
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:108)
at
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103)
at
org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallActionInternal(LifecycleAction.java:249)
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uninstallAction(KernelControllerContextAction.java:175)
at
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.uninstallAction(KernelControllerContextAction.java:53)
at
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79)
at
org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131)
at
org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:334)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1323)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:936)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:463)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:426)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeployBeanMetaDataDeployer.java:79)
at
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeployBeanMetaDataDeployer.java:42)
at
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.undeploy(AbstractSimpleRealDeployer.java:73)
at
org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:187)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:947)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:940)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:902)
at
org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:334)
at
org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1323)
at
org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
at
org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
at
org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:420)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:354)
at
org.jboss.deployers.plugins.main.MainDeployerImpl.shutdown(MainDeployerImpl.java:382)
at
org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:151)
at
org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:482)
at
org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:778)
Caused by: java.lang.ClassNotFoundException:
org.jboss.iiop.naming.ORBInitialContextFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:654)
... 45 more
13:34:29,968 INFO [DefaultPartition] Partition DefaultPartition stopped.
13:34:29,968 INFO [DefaultPartition] Partition DefaultPartition destroyed.
ClusterPartition.stopService( ) fails when server is shut down
--------------------------------------------------------------
Key: JBAS-4569
URL:
http://jira.jboss.com/jira/browse/JBAS-4569
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: JBossAS-5.0.0.Beta2
Reporter: Jerry Gauthier
Assigned To: Jerry Gauthier
Priority: Minor
Fix For: JBossAS-5.0.0.Beta3
When the server is shut down, the stopService( ) method of ClusterPartition fails with a
lengthy stack trace when attempting to unbind the partition from JNDI. The error occurs
because InitialContext can't be instantiated due to the following exception.
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jboss.iiop.naming.ORBInitialContextFactory[Root exception is
java.lang.ClassNotFoundException: org.jboss.iiop.naming.ORBInitialContextFactory]
This error only occurs when the server is being shut down; it doesn't occur if the
HAPartition service is stopped while the server is running.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira