I get this error when shutting down jee5-jetty6 & jee5-tomcat

Regards
Krish

On 12/7/06, anita kulshreshtha <[EMAIL PROTECTED]> 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(<generated>)
       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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> wrote:
>
> >   Yes I am seeing this too. Still investigating..
> >
> > Thanks
> > Anita
> >
> > --- David Jencks <[EMAIL PROTECTED]> 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:
> > >
> [EMAIL PROTECTED]
> >
> > > 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

Reply via email to