1 Reply Latest reply on Nov 4, 2003 3:58 AM by mverhoef

    JBoss3.2.2 Error when shuting down

    terablot Newbie

      Have anyone have the same experience that shutting down JBoss 3.2.2 resulted in the following error? I haven't deploy any application yet, just plainly starting jboss by running run.bat -c default. It starts up fine.

      15:32:14,710 INFO [MainDeployer] Removing deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@32d7df
      15:32:14,710 ERROR [PoolTcpEndpoint] Caught exception trying to unlock accept.
      java.net.BindException: Cannot assign requested address: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
      at java.net.Socket.(Socket.java:268)
      at java.net.Socket.(Socket.java:122)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:328)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.stopEndpoint(PoolTcpEndpoint.java:316)
      at org.apache.coyote.http11.Http11Protocol.destroy(Http11Protocol.java:170)
      at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1205)
      at org.apache.catalina.startup.Embedded.stop(Embedded.java:1030)
      at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.stopService(EmbeddedTomcatService.java:290)
      at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:240)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      at $Proxy14.stop(Unknown Source)
      at org.jboss.system.ServiceController.stop(ServiceController.java:471)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.stop(Unknown Source)
      at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:373)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:489)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:472)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)
      15:32:14,851 ERROR [PoolTcpEndpoint] Caught exception trying to unlock accept.
      java.net.BindException: Cannot assign requested address: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
      at java.net.Socket.(Socket.java:268)
      at java.net.Socket.(Socket.java:122)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.closeServerSocket(PoolTcpEndpoint.java:328)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:397)
      at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:529)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:619)
      at java.lang.Thread.run(Thread.java:479)
      15:32:14,898 WARN [PoolTcpEndpoint] Reinitializing ServerSocket
      15:32:14,898 ERROR [STDERR] java.net.BindException: Cannot assign requested address: connect
      15:32:14,898 ERROR [STDERR] at java.net.PlainSocketImpl.socketConnect(Native Method)
      15:32:14,913 ERROR [STDERR] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:350)
      15:32:14,913 ERROR [STDERR] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:137)
      15:32:14,913 ERROR [STDERR] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:124)
      15:32:14,913 ERROR [STDERR] at java.net.Socket.(Socket.java:268)
      15:32:14,929 ERROR [STDERR] at java.net.Socket.(Socket.java:122)
      15:32:14,929 ERROR [STDERR] at org.apache.jk.common.ChannelSocket.destroy(ChannelSocket.java:384)
      15:32:14,929 ERROR [STDERR] at org.apache.jk.server.JkMain.stop(JkMain.java:311)
      15:32:14,929 ERROR [STDERR] at org.apache.jk.server.JkCoyoteHandler.destroy(JkCoyoteHandler.java:181)
      15:32:14,945 ERROR [STDERR] at org.apache.coyote.tomcat4.CoyoteConnector.stop(CoyoteConnector.java:1205)
      15:32:14,945 ERROR [STDERR] at org.apache.catalina.startup.Embedded.stop(Embedded.java:1030)
      15:32:14,945 ERROR [STDERR] at org.jboss.web.tomcat.tc4.EmbeddedTomcatService.stopService(EmbeddedTomcatService.java:290)
      15:32:14,945 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:240)
      15:32:14,976 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      15:32:14,976 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      15:32:14,976 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      15:32:14,976 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
      15:32:14,976 ERROR [STDERR] at $Proxy14.stop(Unknown Source)
      15:32:14,976 ERROR [STDERR] at org.jboss.system.ServiceController.stop(ServiceController.java:471)
      15:32:14,976 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      15:32:14,991 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      15:32:14,991 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      15:32:14,991 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      15:32:15,007 ERROR [STDERR] at $Proxy4.stop(Unknown Source)
      15:32:15,007 ERROR [STDERR] at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:373)
      15:32:15,023 ERROR [STDERR] at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:489)
      15:32:15,023 ERROR [STDERR] at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:472)
      15:32:15,023 ERROR [STDERR] at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:359)
      15:32:15,023 ERROR [STDERR] at java.lang.reflect.Method.invoke(Native Method)
      15:32:15,038 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      15:32:15,038 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
      15:32:15,038 ERROR [STDERR] at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:849)
      15:32:15,038 ERROR [STDERR] at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:824)
      15:32:15,054 ERROR [STDERR] at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:812)

        • 1. Re: JBoss3.2.2 Error when shuting down
          mverhoef Newbie


          hi,

          I'm having the same/similar problems.
          when I run Jboss 3.2.2 with integrated Tomcat out
          of the box on my Linux system with JDK1.4.2_02
          and I try to shutdown via shutdown.sh -S or
          <control C> in the JBoss process,
          nothing happens, only after a few minutes an
          exception occurs:

          10:34:23,185 INFO [EmbeddedTomcatService] Stopping jboss.web:service=WebServer
          10:34:23,186 INFO [MainDeployer] Removing deployer: org.jboss.web.tomcat.tc4.EmbeddedTomcatService@eafb71

          10:37:32,197 ERROR [PoolTcpEndpoint] Caught exception trying to unlock accept.
          java.net.ConnectException: Connection timed out
          at java.net.PlainSocketImpl.socketConnect(Native Method)
          at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
          at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:169)