activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariusz Pacek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMQ-5955) Failed to update database lock: java.sql.SQLRecoverableExce ption: IO Error: Socket read timed out java.sql.SQLRecoverableException: IO Error: Socket read timed out
Date Fri, 04 Sep 2015 10:50:45 GMT
Mariusz Pacek created AMQ-5955:
----------------------------------

             Summary: Failed to update database lock: java.sql.SQLRecoverableExce ption: IO
Error: Socket read timed out java.sql.SQLRecoverableException: IO Error: Socket read timed
out
                 Key: AMQ-5955
                 URL: https://issues.apache.org/jira/browse/AMQ-5955
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.11.1
         Environment: Servicemix 5.4.1, java 1.7, linux
            Reporter: Mariusz Pacek


{code}
22:11:32,695 | ERROR | A Scheduled Task | DefaultDatabaseLocker            | 67 - org.apache.activemq.activemq-osgi
- 5.11.1 | Failed to update database lock: java.sql.SQLRecoverableExce
ption: IO Error: Socket read timed out
java.sql.SQLRecoverableException: IO Error: Socket read timed out
        at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1298)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1558)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:5767)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:5914)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:4666)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)[197:org.apache.servicemix.bundles.commons-dbcp:1.4.0.3]
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)[197:org.apache.servicemix.bundles.commons-dbcp:1.4.0.3]
        at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(DelegatingPreparedStatement.java:105)[197:org.apache.servicemix.bundles.commons-dbcp:1.4.0.3]
        at org.apache.activemq.store.jdbc.DefaultDatabaseLocker.keepAlive(DefaultDatabaseLocker.java:164)[67:org.apache.activemq.activemq-osgi:5.11.1]
        at org.apache.activemq.broker.LockableServiceSupport.keepLockAlive(LockableServiceSupport.java:126)[67:org.apache.activemq.activemq-osgi:5.11.1]
        at org.apache.activemq.broker.LockableServiceSupport$1.run(LockableServiceSupport.java:98)[67:org.apache.activemq.activemq-osgi:5.11.1]
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_25]
        at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)[:1.7.0_25]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)[:1.7.0_25]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)[:1.7.0_25]
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)[:1.7.0_25]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_25]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_25]
        at java.lang.Thread.run(Thread.java:724)[:1.7.0_25]
Caused by: oracle.net.ns.NetException: Socket read timed out
        at oracle.net.ns.Packet.receive(Packet.java:356)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.net.ns.DataPacket.receive(DataPacket.java:101)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:301)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:245)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:167)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.net.ns.NetInputStream.read(NetInputStream.java:85)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket(T4CSocketInputStreamWrapper.java:119)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrapper.java:75)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CMAREngineStream.unmarshalUB1(T4CMAREngineStream.java:447)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:409)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:264)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:598)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:249)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:70)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(T4CPreparedStatement.java:1267)[201:wrap_mvn_oracle_oracle-ojdbc7_g_12.1.0.2:0.0.0]
        ... 18 more

{code}

After this error activemq cannot reconnect jms connection

After a while in servicemix log there appears this kinds of errors:
{code}
22:12:53,207 | ERROR | SOME_RESPONSE] | faultJmsMessageListenerContainer | 132 - org.apache.servicemix.bundles.spring-jms
- 3.2.11.RELEASE_1 | Could not refresh JMS Connection for destination 'SOMENAME' - retrying
in 5000 ms. Cause: Error while attempting to add new Connection to the pool; nested exception
is javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Broker
named 'default' does not exist.
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message