0 Replies Latest reply on Jan 22, 2007 6:27 PM by Ranjan Ojha

    Socket Read Timed out Error with Queue during PersistenceMan

    Ranjan Ojha Newbie

      We are using jboss-3.2.1 in our Production Environment. While bouncing the jboss app server, the following Error messages are being seen when trying to start the services for a Queue through the restoreQueue in PersistenceManager. Any help would be greatly appreciated.

      2007-01-17 15:43:36,088 ERROR [STDERR] java.sql.SQLException: Closed Connection
      2007-01-17 15:43:36,090 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
      2007-01-17 15:43:36,090 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:162)
      2007-01-17 15:43:36,090 ERROR [STDERR] at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227)
      2007-01-17 15:43:36,090 ERROR [STDERR] at oracle.jdbc.driver.PhysicalConnection.rollback(PhysicalConnection.java:1031)
      2007-01-17 15:43:36,090 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.rollback(LocalManagedConnection.java:116)
      2007-01-17 15:43:36,091 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.rollback(TxConnectionManager.java:859)
      2007-01-17 15:43:36,091 ERROR [STDERR] at org.jboss.tm.TransactionImpl.rollbackResources(TransactionImpl.java:1648)
      2007-01-17 15:43:36,091 ERROR [STDERR] at org.jboss.tm.TransactionImpl.rollback(TransactionImpl.java:448)
      2007-01-17 15:43:36,091 ERROR [STDERR] at org.jboss.mq.pm.jdbc2.PersistenceManager$TransactionManagerStrategy.endTX(PersistenceManager.java:179)
      2007-01-17 15:43:36,091 ERROR [STDERR] at org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:381)
      2007-01-17 15:43:36,091 ERROR [STDERR] at org.jboss.mq.server.JMSQueue.<init>(JMSQueue.java:46)
      2007-01-17 15:43:36,092 ERROR [STDERR] at org.jboss.mq.server.jmx.Queue.startService(Queue.java:66)
      2007-01-17 15:43:36,092 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      2007-01-17 15:43:36,092 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
      2007-01-17 15:43:36,092 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-01-17 15:43:36,092 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-01-17 15:43:36,092 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2007-01-17 15:43:36,093 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      2007-01-17 15:43:36,093 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      2007-01-17 15:43:36,093 ERROR [STDERR] at $Proxy11.start(Unknown Source)
      2007-01-17 15:43:36,093 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:392)
      2007-01-17 15:43:36,093 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:408)
      2007-01-17 15:43:36,094 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:408)
      2007-01-17 15:43:36,094 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:408)
      2007-01-17 15:43:36,094 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:408)
      2007-01-17 15:43:36,094 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2007-01-17 15:43:36,094 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-01-17 15:43:36,094 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-01-17 15:43:36,095 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2007-01-17 15:43:36,095 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      2007-01-17 15:43:36,095 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      2007-01-17 15:43:36,095 ERROR [STDERR] at $Proxy5.start(Unknown Source)
      2007-01-17 15:43:36,095 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      2007-01-17 15:43:36,095 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      2007-01-17 15:43:36,096 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      2007-01-17 15:43:36,096 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      2007-01-17 15:43:36,096 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
      2007-01-17 15:43:36,096 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-01-17 15:43:36,096 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-01-17 15:43:36,096 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2007-01-17 15:43:36,097 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      2007-01-17 15:43:36,097 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      2007-01-17 15:43:36,097 ERROR [STDERR] at $Proxy7.deploy(Unknown Source)
      2007-01-17 15:43:36,097 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
      2007-01-17 15:43:36,097 ERROR [STDERR] at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
      2007-01-17 15:43:36,098 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
      2007-01-17 15:43:36,098 ERROR [STDERR] at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
      2007-01-17 15:43:36,098 ERROR [STDERR] at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
      2007-01-17 15:43:36,098 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-01-17 15:43:36,098 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-01-17 15:43:36,098 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-01-17 15:43:36,099 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-01-17 15:43:36,099 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2007-01-17 15:43:36,099 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      2007-01-17 15:43:36,099 ERROR [STDERR] at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
      2007-01-17 15:43:36,099 ERROR [STDERR] at $Proxy0.start(Unknown Source)
      2007-01-17 15:43:36,099 ERROR [STDERR] at org.jboss.system.ServiceController.start(ServiceController.java:392)
      2007-01-17 15:43:36,100 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      2007-01-17 15:43:36,100 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-01-17 15:43:36,100 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-01-17 15:43:36,100 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2007-01-17 15:43:36,100 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      2007-01-17 15:43:36,100 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      2007-01-17 15:43:36,101 ERROR [STDERR] at $Proxy5.start(Unknown Source)
      2007-01-17 15:43:36,101 ERROR [STDERR] at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
      2007-01-17 15:43:36,101 ERROR [STDERR] at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
      2007-01-17 15:43:36,101 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
      2007-01-17 15:43:36,101 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      2007-01-17 15:43:36,101 ERROR [STDERR] at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
      2007-01-17 15:43:36,102 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2007-01-17 15:43:36,102 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      2007-01-17 15:43:36,102 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      2007-01-17 15:43:36,102 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:324)
      2007-01-17 15:43:36,102 ERROR [STDERR] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      2007-01-17 15:43:36,102 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
      2007-01-17 15:43:36,103 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      2007-01-17 15:43:36,103 ERROR [STDERR] at $Proxy6.deploy(Unknown Source)
      2007-01-17 15:43:36,103 ERROR [STDERR] at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
      2007-01-17 15:43:36,103 ERROR [STDERR] at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
      2007-01-17 15:43:36,103 ERROR [STDERR] at org.jboss.Main.boot(Main.java:150)
      2007-01-17 15:43:36,104 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:388)
      2007-01-17 15:43:36,104 ERROR [STDERR] at java.lang.Thread.run(Thread.java:534)
      2007-01-17 15:43:36,106 WARN [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] ResourceException cleaning up ManagedConnection:org.jboss.resource.JBossResourceException: Could not cleanup: ; - nested throwable: (java.sql.SQLException: Closed Connection)
      2007-01-17 15:43:36,111 ERROR [org.jboss.mq.server.jmx.Queue.POSLog] Starting failed
      org.jboss.mq.SpyJMSException: Could not restore messages to destination : QUEUE.POSLog; - nested throwable: (java.io.IOException: Io exception: Socket read timed out)
       at org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:351)
       at org.jboss.mq.server.JMSQueue.<init>(JMSQueue.java:46)
       at org.jboss.mq.server.jmx.Queue.startService(Queue.java:66)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
       at $Proxy11.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:392)
       at org.jboss.system.ServiceController.start(ServiceController.java:408)
       at org.jboss.system.ServiceController.start(ServiceController.java:408)
       at org.jboss.system.ServiceController.start(ServiceController.java:408)
       at org.jboss.system.ServiceController.start(ServiceController.java:408)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy5.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
       at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy7.deploy(Unknown Source)
       at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
       at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200)
       at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:273)
       at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
       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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966)
       at $Proxy0.start(Unknown Source)
       at org.jboss.system.ServiceController.start(ServiceController.java:392)
       at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy5.start(Unknown Source)
       at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
       at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
       at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:597)
       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.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
       at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
       at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
       at $Proxy6.deploy(Unknown Source)
       at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:365)
       at org.jboss.system.server.ServerImpl.start(ServerImpl.java:272)
       at org.jboss.Main.boot(Main.java:150)
       at org.jboss.Main$1.run(Main.java:388)
       at java.lang.Thread.run(Thread.java:534)
      Caused by: java.io.IOException: Io exception: Socket read timed out
       at oracle.jdbc.driver.DatabaseError.SQLToIOException(DatabaseError.java:557)
       at oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.java:190)
       at oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:136)
       at java.io.ObjectInputStream$PeekInputStream.read(ObjectInputStream.java:2150)
       at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2370)
       at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2539)
       at java.io.ObjectInputStream$BlockDataInputStream.readFully(ObjectInputStream.java:2579)
       at java.io.ObjectInputStream.readFully(ObjectInputStream.java:944)
       at org.jboss.mq.SpyObjectMessage.readExternal(SpyObjectMessage.java:154)
       at org.jboss.mq.SpyMessage.readMessage(SpyMessage.java:636)
       at org.jboss.mq.pm.jdbc2.PersistenceManager.extractMessage(PersistenceManager.java:417)
       at org.jboss.mq.pm.jdbc2.PersistenceManager.restoreQueue(PersistenceManager.java:338)
       ... 72 more