1 Reply Latest reply on Aug 20, 2007 12:13 PM by Ales Justin

    Jboss portal is not shutting down properly

    lsk lsk Newbie

      Hi,
      When i try to shutdown jboss I get the following errors which means that I am not able to shutdown the server properly.Please tell me how to solve this problem.

      14:42:16,952 ERROR [PoolTcpEndpoint] Socket error caused by remote host /202.79.221.34
      java.net.SocketException: Connection reset
      at java.net.SocketInputStream.read(SocketInputStream.java:168)
      at com.sun.net.ssl.internal.ssl.InputRecord.a(DashoA12275)
      at com.sun.net.ssl.internal.ssl.InputRecord.read(DashoA12275)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.a(DashoA12275)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.j(DashoA12275)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(DashoA12275)
      at org.apache.tomcat.util.net.jsse.JSSESocketFactory.handshake(JSSESocketFactory.java:119)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:520)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:534)
      14:42:17,954 INFO [StandardService] Stopping service jboss.web
      14:42:17,973 INFO [Http11Protocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-80
      14:42:17,976 INFO [Http11Protocol] Stopping Coyote HTTP/1.1 on http-0.0.0.0-443
      14:42:17,978 INFO [TomcatDeployer] undeploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/
      14:42:17,980 INFO [TomcatDeployer] undeploy, ctxPath=/ws4ee, warUrl=.../tmp/deploy/tmp63367jboss-ws4ee.war/
      14:42:18,028 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-server.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.stop(Unknown Source)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,029 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-samples.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.stop(Unknown Source)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,030 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-core.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.stop(Unknown Source)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,030 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-cms.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.stop(Unknown Source)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:640)
      at org.jboss.deployment.MainDeployer.stop(MainDeployer.java:632)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:613)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,056 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-server.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.destroy(Unknown Source)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:667)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,059 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-samples.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.destroy(Unknown Source)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:667)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,062 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-core.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.destroy(Unknown Source)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:667)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      14:42:18,175 ERROR [MainDeployer] Undeployment failed: file:/home/jboss/jboss-4.0.3SP1/server/default/tmp/deploy/tmp63362jboss-portal.sar-contents/portal-cms.war
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy87.destroy(Unknown Source)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:675)
      at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:667)
      at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:614)
      at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:500)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:988)
      at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:963)
      at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:941)
      Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
      at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:508)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:638)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      ... 20 more
      /home/jboss/jboss-4.0.3SP1/bin/run.sh: line 181: 4073 Real-time signal 28 "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
      [root@mobmeee bin]#