[
https://issues.apache.org/jira/browse/QPID-2684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881192#action_12881192
]
Andrew Kennedy edited comment on QPID-2684 at 6/22/10 9:11 AM:
---------------------------------------------------------------
Fix close logic. Do not call conn.close() where the connection is obtained from
the StoreContext rather than created explicitly.
was (Author: andrew.kennedy):
Fix close logic
> AlertingTest fails under java-derby profile
> -------------------------------------------
>
> Key: QPID-2684
> URL: https://issues.apache.org/jira/browse/QPID-2684
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker MessageStore - DerbyStore
> Affects Versions: 0.5
> Reporter: Andrew Kennedy
> Fix For: 0.5
>
> Attachments: 0001-QPID-2684-Fix-close-logic-in-Derby-store.patch
>
>
> Under the java-derby profile, the AlertingTest fails with the following
> typical error:
> TestName: testAlertingReallyWorksWithRestart Duration: 2.228
> broker failed to become ready:java.lang.NullPointerException
> java.lang.RuntimeException: broker failed to become
> ready:java.lang.NullPointerException
> at
> org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:555)
> at
> org.apache.qpid.test.utils.QpidTestCase.startBroker(QpidTestCase.java:401)
> at org.apache.qpid.test.utils.QpidTestCase.setUp(QpidTestCase.java:291)
> at
> org.apache.qpid.server.logging.AbstractTestLogging.setUp(AbstractTestLogging.java:41)
> at
> org.apache.qpid.server.logging.AlertingTest.setUp(AlertingTest.java:54)
> at
> org.apache.qpid.test.utils.QpidTestCase.runBare(QpidTestCase.java:246)
> at org.apache.qpid.test.utils.QpidTestCase.run(QpidTestCase.java:305)
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]