0 Replies Latest reply on Nov 2, 2004 2:38 AM by malipanchu

    Controlling the Trace in the console

    malipanchu

      I am using JBOSS 3.2.3.

      I am getting a lot of trace messages in the console when the database connection gets lost.

      Can someone help with the configuration details to have a control on this trace.

      A part of it the trace is below:
      12:57:14,109 WARN [LocalManagedConnectionFactory] Destroying connection that is
      not valid, due to the following exception:
      java.sql.SQLException: Communication link failure: java.net.SocketException, und
      erlying cause: Software caused connection abort: recv failed

      ** BEGIN NESTED EXCEPTION **

      java.net.SocketException
      MESSAGE: Software caused connection abort: recv failed

      STACKTRACE:

      java.net.SocketException: Software caused connection abort: recv failed
      at java.net.SocketInputStream.socketRead0(Native Method)
      at java.net.SocketInputStream.read(SocketInputStream.java:129)
      at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
      at java.io.BufferedInputStream.read1(BufferedInputStream.java:222)
      at java.io.BufferedInputStream.read(BufferedInputStream.java:277)
      at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1316)
      at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1463)
      at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1854)
      at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
      at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
      at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1164)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:2087)
      at com.mysql.jdbc.Connection.execSQL(Connection.java:2037)
      at com.mysql.jdbc.Statement.execute(Statement.java:900)
      at org.jboss.resource.adapter.jdbc.CheckValidConnectionSQL.isValidConnec
      tion(CheckValidConnectionSQL.java:30)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnectionFactory.i
      sValidConnection(BaseWrapperManagedConnectionFactory.java:436)
      at org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.checkVal
      id(BaseWrapperManagedConnection.java:260)
      at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.m
      atchManagedConnections(LocalManagedConnectionFactory.java:182)
      at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge
      tConnection(InternalManagedConnectionPool.java:175)
      at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP
      ool.getConnection(JBossManagedConnectionPool.java:496)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage
      dConnection(BaseConnectionManager2.java:425)
      at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo
      nnection(TxConnectionManager.java:318)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateC
      onnection(BaseConnectionManager2.java:477)
      at org.jboss.resource.connectionmanager.BaseConnectionManager2$Connectio
      nManagerProxy.allocateConnection(BaseConnectionManager2.java:814)
      at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(Wrapp
      erDataSource.java:102)