[
https://issues.apache.org/jira/browse/ARTEMIS-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670382#comment-15670382
]
Benjamin Graf commented on ARTEMIS-544:
---------------------------------------
@[~martyntaylor]: I think this issue can be closed since it doesn't occur
anymore?
> 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
> Assignee: Martyn Taylor
>
> When shutting down the hook to shutdown derby runs too early causing a
> exception in JDBCJournalImpl thread.
> {noformat}
> 20:32:27,245 WARN [org.apache.activemq.artemis.journal] AMQ142021: Error on
> IO callback, DATABASE TRANSACTION FAILED
> 20:32:28,483 ERROR [org.apache.activemq.artemis.core.server] AMQ224008:
> Failed to store id:
> ActiveMQUnsupportedPacketException[errorType=UNSUPPORTED_PACKET
> message=DATABASE TRANSACTION FAILED]
> at
> org.apache.activemq.artemis.api.core.ActiveMQExceptionType$2.createException(ActiveMQExceptionType.java:40)
> [artemis-commons-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.api.core.ActiveMQExceptionType.createException(ActiveMQExceptionType.java:231)
> [artemis-commons-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.journal.impl.SimpleWaitIOCallback.waitCompletion(SimpleWaitIOCallback.java:63)
> [artemis-journal-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl.appendRecord(JDBCJournalImpl.java:293)
> [artemis-jdbc-store-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl.appendAddRecord(JDBCJournalImpl.java:351)
> [artemis-jdbc-store-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager.storeID(AbstractJournalStorageManager.java:797)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.storeID(BatchingIDGenerator.java:148)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.persistence.impl.journal.BatchingIDGenerator.persistCurrentID(BatchingIDGenerator.java:65)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.persistence.impl.journal.JDBCJournalStorageManager.stop(JDBCJournalStorageManager.java:76)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:776)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:654)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.core.server.impl.ActiveMQServerImpl.stop(ActiveMQServerImpl.java:547)
> [artemis-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.jms.server.impl.JMSServerManagerImpl.stop(JMSServerManagerImpl.java:407)
> [artemis-jms-server-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at
> org.apache.activemq.artemis.integration.FileBroker.stop(FileBroker.java:79)
> [artemis-cli-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> at org.apache.activemq.artemis.cli.commands.Run$2.run(Run.java:166)
> [artemis-cli-1.3.0-SNAPSHOT.jar:1.3.0-SNAPSHOT]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)