Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 79074 invoked from network); 7 Dec 2006 18:29:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Dec 2006 18:29:19 -0000 Received: (qmail 64175 invoked by uid 500); 7 Dec 2006 18:29:13 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 64131 invoked by uid 500); 7 Dec 2006 18:29:13 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 64103 invoked by uid 99); 7 Dec 2006 18:29:13 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 10:29:13 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of www.bkk@gmail.com designates 64.233.162.237 as permitted sender) Received: from [64.233.162.237] (HELO nz-out-0102.google.com) (64.233.162.237) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Dec 2006 10:29:02 -0800 Received: by nz-out-0102.google.com with SMTP id j2so377751nzf for ; Thu, 07 Dec 2006 10:28:41 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o6E6WEfQL3fF05Y8fysQsEo0OiaNvnqjVPmZBKZXDX6dmjm4n/butiY+M23NU5rH9NF/w6pdr7yDhEDaFoKr44UJMjM49FwvjyDrGHcp8ximRYYo1ue6deCh/jbrn5fVK6N6swMKI2QYXP0K/ivA5ZdapMK1upCu8XhdLaPr9Cw= Received: by 10.78.200.3 with SMTP id x3mr156230huf.1165516120738; Thu, 07 Dec 2006 10:28:40 -0800 (PST) Received: by 10.78.105.9 with HTTP; Thu, 7 Dec 2006 10:28:40 -0800 (PST) Message-ID: <2ed2f49c0612071028y6cdf755cic7deaf4318e404f8@mail.gmail.com> Date: Thu, 7 Dec 2006 23:58:40 +0530 From: "Krishnakumar B" To: dev@geronimo.apache.org Subject: Re: Stack trace while shutting down amq in geronimo 2.0 In-Reply-To: <19913.71050.qm@web31708.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <329898.23873.qm@web31715.mail.mud.yahoo.com> <19913.71050.qm@web31708.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org I get this error when shutting down jee5-jetty6 & jee5-tomcat Regards Krish On 12/7/06, anita kulshreshtha wrote: > This trace is produced by geronimo-framework. The trace is produced > when attributes of JavaCompContext (rmi-naming) are viewed by jconsole. > > Thanks > Anita > > [*********] 100% 4s Startup complete > Listening on Ports: > 1099 0.0.0.0 RMI Naming > 4242 0.0.0.0 Remote Login Listener > 9999 0.0.0.0 JMX Remoting Connector > > Geronimo Application Server started > 13:08:02,015 WARN [MBeanGBeanBridge] Exception while getting attribute > environment > javax.management.ReflectionException > at > org.apache.geronimo.system.jmx.MBeanGBeanBridge.getAttribute(MBeanGBeanBridge.j > ava:122) > at > org.apache.geronimo.system.jmx.MBeanGBeanBridge.getAttributes(MBeanGBeanBridge. > java:143) > at > com.sun.jmx.mbeanserver.DynamicMetaDataImpl.getAttributes(DynamicMetaDataImpl.j > ava:125) > at > com.sun.jmx.mbeanserver.MetaDataImpl.getAttributes(MetaDataImpl.java:189) > at > com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBea > nServerInterceptor.java:696) > at > com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:686) > at > javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.jav > a:1389) > at > javax.management.remote.rmi.RMIConnectionImpl.access$100(RMIConnectionImpl.java > :81) > at > javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnec > tionImpl.java:1245) > at java.security.AccessController.doPrivileged(Native Method) > at > javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnecti > onImpl.java:1348) > at > javax.management.remote.rmi.RMIConnectionImpl.getAttributes(RMIConnectionImpl.j > ava:633) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja > va:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at > sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > > at java.lang.Thread.run(Thread.java:595) > Caused by: java.lang.NullPointerException > at > org.apache.xbean.naming.context.ContextFlyweight.getEnvironment(ContextFlyweigh > t.java:144) > at > org.apache.xbean.naming.context.ContextFlyweight$$FastClassByCGLIB$$592f1945.in > voke() > at net.sf.cglib.reflect.FastMethod.invoke(FastMethod.java:53) > at > org.apache.geronimo.gbean.runtime.FastMethodInvoker.invoke(FastMethodInvoker.ja > va:38) > at > org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:3 > 90) > at > org.apache.geronimo.gbean.runtime.GBeanInstance.getAttribute(GBeanInstance.java > :681) > at > org.apache.geronimo.kernel.basic.BasicKernel.getAttribute(BasicKernel.java:178) > > at > org.apache.geronimo.system.jmx.MBeanGBeanBridge.getAttribute(MBeanGBeanBridge.j > ava:118) > ... 22 more > --- anita kulshreshtha wrote: > > > The shutdown of geronimo-tomcat-minimal server produces this > > trace: > > 12:34:10,671 INFO [root] > > ---------------------------------------------- > > 12:38:32,171 WARN [BasicLifecycleMonitor] Exception occured while > > notifying listener > > java.lang.NullPointerException > > at > > > org.apache.geronimo.gjndi.binding.GBeanBinding.removeBinding(GBeanBinding.java:159) > > at > > > org.apache.geronimo.gjndi.binding.GBeanBinding$GBeanLifecycleListener.stopped(GBeanBinding.java:108) > > at > > > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.fireStoppedEvent(BasicLifecycleMonitor.java:197) > > at > > > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor.access$500(BasicLifecycleMonitor.java:41) > > at > > > org.apache.geronimo.kernel.basic.BasicLifecycleMonitor$RawLifecycleBroadcaster.fireStoppedEvent(BasicLifecycleMonitor.java:259) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:359) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:188) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551) > > at > > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551) > > at > > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551) > > at > > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:180) > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:551) > > at > > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:423) > > at > > > org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfig > > > > Thanks > > Anita > > > > --- anita kulshreshtha wrote: > > > > > Yes I am seeing this too. Still investigating.. > > > > > > Thanks > > > Anita > > > > > > --- David Jencks wrote: > > > > > > > I'm seeing the following stack trace when shutting down the > > jetty6 > > > > > > > geronimo server in trunk. Anyone have a clue about why, if it is > > a > > > > > > > problem, and what we might do about it? > > > > > > > > thanks > > > > david jencks > > > > > > > > Server shutdown begun > > > > 00:37:33,024 WARN [GeronimoConnectionEventListener] > > > > connectionErrorOccurred called with null > > > > SQL Exception: No current connection. > > > > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException > > > > (Unknown Source) > > > > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException > > > > (Unknown Source) > > > > at org.apache.derby.impl.jdbc.Util.noCurrentConnection > > > > (Unknown Source) > > > > at > > > > > > > > > org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown > > > > > > > > Source) > > > > at org.apache.derby.impl.jdbc.EmbedConnection.rollback > > > > (Unknown Source) > > > > at > > org.apache.derby.iapi.jdbc.BrokeredConnection.rollback > > > > (Unknown Source) > > > > at > > > > > > > > > > org.tranql.connector.jdbc.ManagedXAConnection.localTransactionRollback > > > > > > > > (ManagedXAConnection.java:121) > > > > at org.tranql.connector.AbstractManagedConnection > > > > > > $LocalTransactionImpl.rollback(AbstractManagedConnection.java:196) > > > > at org.tranql.connector.jdbc.ConnectionHandle.rollback > > > > (ConnectionHandle.java:135) > > > > at > > > org.apache.activemq.store.jdbc.DefaultDatabaseLocker.stop > > > > > > > > (DefaultDatabaseLocker.java:80) > > > > at > > > > org.apache.activemq.store.jdbc.JDBCPersistenceAdapter.stop > > > > (JDBCPersistenceAdapter.java:202) > > > > at > > > > org.apache.activemq.store.journal.JournalPersistenceAdapter.stop > > > > (JournalPersistenceAdapter.java:254) > > > > at org.apache.activemq.util.ServiceStopper.stop > > > > (ServiceStopper.java:42) > > > > at org.apache.activemq.broker.BrokerService.stop > > > > (BrokerService.java:443) > > > > at > > org.apache.activemq.gbean.BrokerServiceGBeanImpl.doStop > > > > > > > (BrokerServiceGBeanImpl.java:106) > > > > at > > > > org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance > > > > (GBeanInstance.java:1146) > > > > at > > > > > > > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop > > > > (GBeanInstanceState.java:337) > > > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop > > > > > > > > (GBeanInstanceState.java:188) > > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.stop > > > > (GBeanInstance.java:551) > > > > at > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean > > > > (BasicKernel.java:423) > > > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop > > > > > > > > (GBeanInstanceState.java:180) > > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.stop > > > > (GBeanInstance.java:551) > > > > at > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean > > > > (BasicKernel.java:423) > > > > at > > > org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop > > > > > > > > (GBeanInstanceState.java:180) > > > > at org.apache.geronimo.gbean.runtime.GBeanInstance.stop > > > > (GBeanInstance.java:551) > > > > at > > org.apache.geronimo.kernel.basic.BasicKernel.stopGBean > > > > (BasicKernel.java:423) > > > > at > > > > org.apache.geronimo.kernel.config.KernelConfigurationManager > > > > $ShutdownHook.run(KernelConfigurationManager.java:310) > > > > at > > > > org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks > > > > (BasicKernel.java:668) > > > > at org.apache.geronimo.kernel.basic.BasicKernel.shutdown > > > > > > (BasicKernel.java:645) > > > > at > > > org.apache.geronimo.system.main.Daemon$1.run(Daemon.java: > > > > > > > > 234) > > > > 00:37:33,028 ERROR [JournalPersistenceAdapter] Could not stop > > > > service: > > > > > > org.apache.activemq.store.journal.JournalPersistenceAdapter@de5f0d. > > > > > > > Reason: SQL Exception: No current connection. > > > > SQL Exception: No current connection. > > > > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException > > > > (Unknown Source) > > > > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException > > > > (Unknown Source) > > > > at org.apache.derby.impl.jdbc.Util.noCurrentConnection > > > > (Unknown Source) > > > > at > > > > > > > > > org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown > > > > > > > > Source) > > > > at org.apache.derby.impl.jdbc.EmbedConnection.rollback > > > > (Unknown Source) > > > > at > > org.apache.derby.iapi.jdbc.BrokeredConnection.rollback > > > > (Unknown Source) > > > > at > > > > > > > > > > org.tranql.connector.jdbc.ManagedXAConnection.localTransactionRollback > > > > > > > > (ManagedXAConnection.java:121) > > > > at org.tranql.connector.AbstractManagedConnection > > > > > > $LocalTransactionImpl.rollback(AbstractManagedConnection.java:196) > > > > at org.tranql.connector.jdbc.ConnectionHandle.rollback > > > === message truncated === > > > > > ____________________________________________________________________________________ > Cheap talk? > Check out Yahoo! Messenger's low PC-to-Phone call rates. > http://voice.yahoo.com >