[jboss-dev] CachePolicyVFSCache shutdown error
Emanuel Muckenhuber
emuckenh at redhat.com
Thu Jan 29 07:53:51 EST 2009
Hmm PS should not undeploy the vfs cache, but it seems that the cache is
stopped when it undeploys deploy/vfs-jboss-beans.xml
So when it undeploys VFSCacheOperations, because it's doing:
public void stop()
{
getCache().stop();
}
Maybe that helps :)
Ales Justin wrote:
> I thought I had this one covered, but I don't.
> Looks like VFSCache is stopped before this WSSubscriptionManager is
> finished.
>
> Although I don't know how this is possible,
> since WSSubscriptionManager is shutdown as part of Profile/Bootstrap
> shutdown,
> where VFSCache is shutdown from ServlerImpl's KernelDeployer.
>
> Unless Scott you have some idea, I'll dig further.
>
> Scott Stark wrote:
>> When shutting down the jbossas trunk I'm seeing the following error:
>>
>> 09:13:15,306 WARN [StartStopLifecycleAction] Error during stop for
>> WSSubscriptionManager
>> java.lang.IllegalArgumentException: Cache needs to be started first.
>> at
>> org.jboss.virtual.plugins.cache.CachePolicyVFSCache.check(CachePolicyVFSCache.java:78)
>>
>> at
>> org.jboss.virtual.plugins.cache.AbstractVFSCache.getFile(AbstractVFSCache.java:101)
>>
>> at
>> org.jboss.virtual.protocol.AbstractVFSHandler.openConnection(AbstractVFSHandler.java:72)
>>
>> at java.net.URL.openConnection(URL.java:943)
>> at java.net.URL.openStream(URL.java:1007)
>> at
>> com.sun.naming.internal.VersionHelper12$InputStreamEnumeration$1.run(VersionHelper12.java:195)
>>
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> com.sun.naming.internal.VersionHelper12$InputStreamEnumeration.getNextElement(VersionHelper12.java:190)
>>
>> at
>> com.sun.naming.internal.VersionHelper12$InputStreamEnumeration.hasMore(VersionHelper12.java:210)
>>
>> at
>> com.sun.naming.internal.ResourceManager.getApplicationResources(ResourceManager.java:470)
>>
>> at
>> com.sun.naming.internal.ResourceManager.getInitialEnvironment(ResourceManager.java:159)
>>
>> at javax.naming.InitialContext.init(InitialContext.java:219)
>> at javax.naming.InitialContext.<init>(InitialContext.java:175)
>> at
>> org.jboss.ws.extensions.eventing.mgmt.SubscriptionManager.stop(SubscriptionManager.java:183)
>>
>> 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:59)
>>
>> at
>> org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
>>
>> at
>> org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
>>
>> at
>> org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
>>
>> at
>> org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
>>
>> at
>> org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
>>
>> at
>> org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
>>
>> at
>> org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallActionInternal(LifecycleAction.java:249)
>>
>> at
>> org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:157)
>>
>> at
>> org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:42)
>>
>> 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:354)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1631)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1242)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1146)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:655)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:568)
>>
>> at
>> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:153)
>>
>> at
>> org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:51)
>>
>> at
>> org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69)
>>
>> at
>> org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
>>
>> at
>> org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196)
>>
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469)
>>
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376)
>>
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1369)
>>
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331)
>>
>> at
>> org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1631)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1242)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
>>
>> at
>> org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694)
>>
>> at
>> org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545)
>>
>> at
>> org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:89)
>>
>> at
>> org.jboss.system.server.profileservice.repository.AbstractProfileLifeCycleAction.uninstall(AbstractProfileLifeCycleAction.java:73)
>>
>> at
>> org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:309)
>>
>> at
>> org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1631)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1242)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1146)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1201)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827)
>>
>> at
>> org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
>>
>> at
>> org.jboss.system.server.profileservice.repository.AbstractProfileService.releaseProfile(AbstractProfileService.java:336)
>>
>> at
>> org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:281)
>>
>> at
>> org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:504)
>>
>> at
>> org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:832)
>>
>>
>> _______________________________________________
>> jboss-development mailing list
>> jboss-development at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/jboss-development
>>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list