geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chi Runhua (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GERONIMO-4876) "java.lang.Exception" when I shutdown the server
Date Tue, 15 Sep 2009 07:49:57 GMT

    [ https://issues.apache.org/jira/browse/GERONIMO-4876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12755407#action_12755407
] 

Chi Runhua commented on GERONIMO-4876:
--------------------------------------

I encountered the same exception when shutting down the server.

My environment are as followed:

Ubuntu 9.0.4+JDK1.6+G2.2_0908 build

{code}
2009-09-15 14:39:14,602 ERROR [Connector] Protocol handler pause failed
java.net.ConnectException: Connection refused
	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:214)
	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:201)
	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
	at java.net.Socket.connect(Socket.java:530)
	at java.net.Socket.connect(Socket.java:480)
	at java.net.Socket.<init>(Socket.java:377)
	at java.net.Socket.<init>(Socket.java:220)
	at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:487)
	at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:284)
	at org.apache.jk.server.JkMain.pause(JkMain.java:683)
	at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
	at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
	at org.apache.catalina.core.StandardService.stop(StandardService.java:563)
	at org.apache.geronimo.tomcat.TomcatContainer.doStop(TomcatContainer.java:253)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1111)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:340)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:189)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
	at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:339)
	at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:661)
	at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:638)
	at org.apache.geronimo.kernel.KernelGBean.shutdown(KernelGBean.java:382)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
	at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1437)
	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1275)
	at java.security.AccessController.doPrivileged(AccessController.java:284)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1377)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
	at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
	at java.lang.reflect.Method.invoke(Method.java:599)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310)
	at sun.rmi.transport.Transport$1.run(Transport.java:171)
	at java.security.AccessController.doPrivileged(AccessController.java:284)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
	at java.lang.Thread.run(Thread.java:735)
2009-09-15 14:39:15,616 ERROR [Connector] Coyote connector has not been started
2009-09-15 14:39:15,617 ERROR [Connector] Coyote connector has not been started
2009-09-15 14:39:15,618 ERROR [Connector] Coyote connector has not been started
{code}



> "java.lang.Exception"  when I shutdown the server
> -------------------------------------------------
>
>                 Key: GERONIMO-4876
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-4876
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector
>    Affects Versions: 2.2
>         Environment: jdk6
> windows xp sp2
>            Reporter: Bin He
>            Priority: Minor
>
> start server
> shutdown server using "shutdown.bat"
> It shows an error:
> 2009-09-15 13:07:51,367 WARN  [ConnectorGBean] TomcatWebConnector connector failed
> 2009-09-15 13:07:51,445 ERROR [GBeanInstanceState] Error while stopping; GBean is now
in the FAILED state: abstractName="org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car?ServiceModule=org.apache.geronimo.configs/tomcat6/2.2-SNAPSHOT/car,j2eeType=GBean,name=TomcatWebConnector"
> java.lang.Exception: Problem while updaing the persistent value of attibute: Attribute
Name: keystoreFile, Type: class java.lang.String, GBeanInstance: Tomcat Connector HTTP BIO
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1080)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:340)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:189)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:339)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:661)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:638)
> 	at org.apache.geronimo.kernel.KernelGBean.shutdown(KernelGBean.java:382)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at java.lang.reflect.Method.invoke(Method.java:599)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
> 	at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1437)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1275)
> 	at java.security.AccessController.doPrivileged(AccessController.java:284)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1377)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at java.lang.reflect.Method.invoke(Method.java:599)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:171)
> 	at java.security.AccessController.doPrivileged(AccessController.java:284)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:735)
> Caused by: java.lang.NullPointerException
> 	at org.apache.geronimo.tomcat.connector.AbstractHttp11ConnectorGBean.getKeystoreFile(AbstractHttp11ConnectorGBean.java:86)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at java.lang.reflect.Method.invoke(Method.java:599)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanAttribute.getValue(GBeanAttribute.java:364)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1076)
> 	... 48 more
> 2009-09-15 13:07:52,820 ERROR [Connector] Protocol handler pause failed
> java.net.ConnectException: Connection refused: connect
> 	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:352)
> 	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:214)
> 	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:201)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:377)
> 	at java.net.Socket.connect(Socket.java:530)
> 	at java.net.Socket.connect(Socket.java:480)
> 	at java.net.Socket.<init>(Socket.java:377)
> 	at java.net.Socket.<init>(Socket.java:220)
> 	at org.apache.jk.common.ChannelSocket.unLockSocket(ChannelSocket.java:487)
> 	at org.apache.jk.common.ChannelSocket.pause(ChannelSocket.java:284)
> 	at org.apache.jk.server.JkMain.pause(JkMain.java:683)
> 	at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:153)
> 	at org.apache.catalina.connector.Connector.pause(Connector.java:1073)
> 	at org.apache.catalina.core.StandardService.stop(StandardService.java:563)
> 	at org.apache.geronimo.tomcat.TomcatContainer.doStop(TomcatContainer.java:253)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.destroyInstance(GBeanInstance.java:1111)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.attemptFullStop(GBeanInstanceState.java:340)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:189)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstanceState.stop(GBeanInstanceState.java:150)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.stop(GBeanInstance.java:546)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.stopGBean(BasicKernel.java:421)
> 	at org.apache.geronimo.kernel.config.KernelConfigurationManager$ShutdownHook.run(KernelConfigurationManager.java:339)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.notifyShutdownHooks(BasicKernel.java:661)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.shutdown(BasicKernel.java:638)
> 	at org.apache.geronimo.kernel.KernelGBean.shutdown(KernelGBean.java:382)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at java.lang.reflect.Method.invoke(Method.java:599)
> 	at org.apache.geronimo.gbean.runtime.ReflectionMethodInvoker.invoke(ReflectionMethodInvoker.java:34)
> 	at org.apache.geronimo.gbean.runtime.GBeanOperation.invoke(GBeanOperation.java:130)
> 	at org.apache.geronimo.gbean.runtime.GBeanInstance.invoke(GBeanInstance.java:850)
> 	at org.apache.geronimo.kernel.basic.BasicKernel.invoke(BasicKernel.java:237)
> 	at org.apache.geronimo.system.jmx.MBeanGBeanBridge.invoke(MBeanGBeanBridge.java:172)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:848)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:773)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1437)
> 	at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:83)
> 	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1275)
> 	at java.security.AccessController.doPrivileged(AccessController.java:284)
> 	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1377)
> 	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:799)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
> 	at java.lang.reflect.Method.invoke(Method.java:599)
> 	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:310)
> 	at sun.rmi.transport.Transport$1.run(Transport.java:171)
> 	at java.security.AccessController.doPrivileged(AccessController.java:284)
> 	at sun.rmi.transport.Transport.serviceCall(Transport.java:167)
> 	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:547)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:802)
> 	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:661)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> 	at java.lang.Thread.run(Thread.java:735)
> 2009-09-15 13:07:53,836 INFO  [StandardService] Stopping service Catalina
> 2009-09-15 13:07:53,836 ERROR [Connector] Coyote connector has not been started
> 2009-09-15 13:07:53,836 ERROR [Connector] Coyote connector has not been started
> 2009-09-15 13:07:53,836 ERROR [Connector] Coyote connector has not been started

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message