geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject GBeanInstance should already be stopped before die() is called
Date Tue, 22 Nov 2005 18:38:20 GMT
Can we fix this before 1.0?  It seems to happen with alarming
regularity during shutdown.  Always a different GBean, but...  It jsut
seems like there must be some fundamental problem in our shutdown
ordering or something.  This time there were some dead proxy
exceptions as icing on the cake.  :)

Thanks,
    Aaron

13:35:09,082 ERROR [GBeanInstance] GBeanInstance should already be
stopped before die() is called:
objectName=geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSPersistence,name=ActiveMQ.journal
state=stopping
13:35:09,083 ERROR [GBeanInstance] GBeanInstance should already be
stopped before die() is called:
objectName=geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSPersistence,name=ActiveMQ.cache
state=stopping
13:35:09,200 ERROR [GBeanInstance] Problem in doStop of
geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSPersistence,name=ActiveMQ.journal
org.apache.geronimo.kernel.proxy.DeadProxyException: Proxy is no longer valid
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:87)
        at org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$f60a69a2.stop(<generated>)
        at org.activemq.store.journal.JournalPersistenceAdapter.stop(JournalPersistenceAdapter.java:228)
        at org.activemq.store.journal.JournalPersistenceAdapterGBean.doStop(JournalPersistenceAdapterGBean.java:64)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1079)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:395)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:200)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:545)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:215)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$f60a69a2.stop(<generated>)
        at org.activemq.store.cache.CachePersistenceAdapter.stop(CachePersistenceAdapter.java:85)
        at org.activemq.store.cache.SimpleCachePersistenceAdapterGBean.doStop(SimpleCachePersistenceAdapterGBean.java:58)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1079)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:395)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:200)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:545)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:215)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$f60a69a2.stop(<generated>)
        at org.activemq.broker.impl.DefaultBroker$3.execute(DefaultBroker.java:220)
        at org.activemq.util.ExceptionTemplate.run(ExceptionTemplate.java:41)
        at org.activemq.broker.impl.DefaultBroker.stop(DefaultBroker.java:217)
        at org.activemq.broker.impl.BrokerContainerImpl.stop(BrokerContainerImpl.java:266)
        at org.activemq.broker.impl.BrokerContainerImpl.containerShutdown(BrokerContainerImpl.java:763)
        at org.activemq.broker.impl.BrokerContainerImpl$1.run(BrokerContainerImpl.java:752)
13:35:09,206 ERROR [GBeanInstance] Problem in doStop of
geronimo.server:J2EEApplication=null,J2EEModule=org/apache/geronimo/ActiveMQServer,J2EEServer=geronimo,j2eeType=JMSPersistence,name=ActiveMQ.cache
java.lang.IllegalStateException: Cannot transition to stopped state from failed
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.setStateInstance(GBeanInstanceState.java:492)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:416)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:200)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:545)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:215)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$f60a69a2.stop(<generated>)
        at org.activemq.store.cache.CachePersistenceAdapter.stop(CachePersistenceAdapter.java:85)
        at org.activemq.store.cache.SimpleCachePersistenceAdapterGBean.doStop(SimpleCachePersistenceAdapterGBean.java:58)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1079)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:395)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:200)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:545)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:215)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$f60a69a2.stop(<generated>)
        at org.activemq.broker.impl.DefaultBroker$3.execute(DefaultBroker.java:220)
        at org.activemq.util.ExceptionTemplate.run(ExceptionTemplate.java:41)
        at org.activemq.broker.impl.DefaultBroker.stop(DefaultBroker.java:217)
        at org.activemq.broker.impl.BrokerContainerImpl.stop(BrokerContainerImpl.java:266)
        at org.activemq.broker.impl.BrokerContainerImpl.containerShutdown(BrokerContainerImpl.java:763)
        at org.activemq.broker.impl.BrokerContainerImpl$1.run(BrokerContainerImpl.java:752)
Failed to shut down: javax.jms.JMSException: Cannot transition to
stopped state from failed. Reason: java.lang.IllegalStateException:
Cannot transition to stopped state from failed
javax.jms.JMSException: Cannot transition to stopped state from failed
        at org.activemq.util.JMSExceptionHelper.newJMSException(JMSExceptionHelper.java:49)
        at org.activemq.util.ExceptionTemplate.throwJMSException(ExceptionTemplate.java:72)
        at org.activemq.broker.impl.DefaultBroker.stop(DefaultBroker.java:224)
        at org.activemq.broker.impl.BrokerContainerImpl.stop(BrokerContainerImpl.java:266)
        at org.activemq.broker.impl.BrokerContainerImpl.containerShutdown(BrokerContainerImpl.java:763)
        at org.activemq.broker.impl.BrokerContainerImpl$1.run(BrokerContainerImpl.java:752)
Caused by: java.lang.IllegalStateException: Cannot transition to
stopped state from failed
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.setStateInstance(GBeanInstanceState.java:492)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:416)
        at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:200)
        at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:545)
        at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:215)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor$StopInvoke.invoke(ProxyMethodInterceptor.java:390)
        at org.apache.geronimo.kernel.basic.ProxyMethodInterceptor.intercept(ProxyMethodInterceptor.java:96)
        at org.activemq.store.PersistenceAdapter$$EnhancerByCGLIB$$f60a69a2.stop(<generated>)
        at org.activemq.broker.impl.DefaultBroker$3.execute(DefaultBroker.java:220)
        at org.activemq.util.ExceptionTemplate.run(ExceptionTemplate.java:41)
        at org.activemq.broker.impl.DefaultBroker.stop(DefaultBroker.java:217)
        ... 3 more
Server shutdown completed

Mime
View raw message