3 Replies Latest reply on Dec 14, 2003 11:17 PM by lunxian

    SocketTimeoutException for JBoss-3.2.2 on jvm 1.4.0

    ssui Newbie

      Hi everyone:
      I have java.net.SocketTimeoutException:Read timed out after Jboss started normally for about 4 hours.
      I am using jboss-3.2.2 production version and j2sdk1.4.0.

      In fact, after I got this error, I started to see Outof Memory error.

      Anybody could provide help? Greatly appreciated.

      rgds.


      See the following log segment:

      15:48:34,143 INFO [URLDeploymentScanner] Started jboss.deployment:type=DeploymentScanner,flavor=URL
      15:48:34,231 INFO [MainDeployer] Deployed package: file:/usr/local/jboss-3.2.2/server/mds/conf/jboss-service.xml
      15:48:34,234 INFO [Server] JBoss (MX MicroKernel) [3.2.2 (build: CVSTag=JBoss_3_2_2 date=200310182216)] Started in 28s:655ms
      20:42:50,481 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      21:39:21,454 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      22:17:10,415 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      22:35:04,270 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      22:35:49,374 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      22:36:04,859 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      22:36:05,139 WARN [OILServerILService] Connection failure (1).
      java.net.SocketTimeoutException: Read timed out
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:116)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
      at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2118)
      at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2301)
      at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2368)
      at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2440)
      at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2589)
      at java.io.ObjectInputStream.readByte(ObjectInputStream.java:837)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210)
      at java.lang.Thread.run(Thread.java:536)
      22:40:15,763 ERROR [STDERR] java.lang.OutOfMemoryError
      22:40:21,255 WARN [OILServerILService] Client request resulted in a server exception:
      org.jboss.mq.SpyJMSException: Could not store message: 30353 msg=30352 hard NOT_STORED PERSISTENT queue=QUEUE.PRIMARY priority=4 hashCode=13077376; - nested throwable: (java.sql.SQLException: out of memory)
      at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:745)
      at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:44)
      at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:145)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:407)
      at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:383)
      at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:136)
      at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:162)
      at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:270)
      at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136)
      at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:253)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.sql.SQLException: out of memory
      at org.hsqldb.Trace.getError(Unknown Source)
      at org.hsqldb.jdbcResultSet.(Unknown Source)
      at org.hsqldb.jdbcConnection.executeStandalone(Unknown Source)
      at org.hsqldb.jdbcConnection.execute(Unknown Source)
      at org.hsqldb.jdbcStatement.fetchResult(Unknown Source)
      at org.hsqldb.jdbcStatement.executeUpdate(Unknown Source)
      at org.hsqldb.jdbcPreparedStatement.executeUpdate(Unknown Source)
      at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:321)
      at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:783)
      at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:730)
      ... 10 more