You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Benjamin Graf (JIRA)" <ji...@apache.org> on 2016/05/28 19:17:12 UTC

[jira] [Created] (ARTEMIS-544) Derby shutdown to early causing nasty exceptions

Benjamin Graf created ARTEMIS-544:
-------------------------------------

             Summary: Derby shutdown to early causing nasty exceptions
                 Key: ARTEMIS-544
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-544
             Project: ActiveMQ Artemis
          Issue Type: Bug
    Affects Versions: 1.3.0
            Reporter: Benjamin Graf


When shutting down the hook to shutdown derby runs too early causing a lot of exceptions in journal sync threads.
{noformat}
21:09:48,714 ERROR [org.apache.activemq.artemis.journal] Error performing rollback: java.sql.SQLNonTransientConnectionException: No current connection.
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.Util.noCurrentConnection(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.EmbedConnection.checkIfClosed(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.EmbedConnection.setupContextStack(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.EmbedConnection.rollback(Unknown Source) [derby.jar:]
        at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl.performRollback(JDBCJournalImpl.java:265) [artemis-jdbc-store-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
        at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl.sync(JDBCJournalImpl.java:223) [artemis-jdbc-store-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
        at org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalSync.run(JDBCJournalSync.java:33) [artemis-jdbc-store-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
        at java.util.TimerThread.mainLoop(Timer.java:555) [rt.jar:1.8.0_92]
        at java.util.TimerThread.run(Timer.java:505) [rt.jar:1.8.0_92]
Caused by: ERROR 08003: No current connection.
        at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) [derby.jar:]
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source) [derby.jar:]
        ... 13 more

{noformat}




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