activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Topping (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (AMQ-184) Test Failure in activeio.ExceptionListenerTest
Date Sat, 28 Apr 2012 05:35:51 GMT

     [ https://issues.apache.org/jira/browse/AMQ-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brian Topping closed AMQ-184.
-----------------------------

    
> Test Failure in activeio.ExceptionListenerTest
> ----------------------------------------------
>
>                 Key: AMQ-184
>                 URL: https://issues.apache.org/jira/browse/AMQ-184
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 2.0
>         Environment: Fedora Core 3, AMD64
>            Reporter: Brian Topping
>            Assignee: Hiram Chirino
>            Priority: Minor
>             Fix For: 3.2
>
>
> Failure in test when building:
> Testsuite: org.codehaus.activemq.transport.activeio.ExceptionListenerTest
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 4.679 sec
> ------------- Standard Output ---------------
> Created connection: org.codehaus.activemq.ActiveMQConnection@781f6226
> Failed to close connection: javax.jms.JMSException: asyncSend failed: java.net.SocketException:
Socket closed
> ------------- ---------------- ---------------
> ------------- Standard Error -----------------
> javax.jms.JMSException: asyncSend failed: java.net.SocketException: Socket closed
>         at org.codehaus.activemq.util.JMSExceptionHelper.newJMSException(JMSExceptionHelper.java:49)
>         at org.codehaus.activemq.transport.activeio.ActiveIOTransportChannel.doAsyncSend(ActiveIOTransportChannel.java:124)
>         at org.codehaus.activemq.transport.TransportChannelSupport.asyncSendWithReceipt(TransportChannelSupport.java:158)
>         at org.codehaus.activemq.transport.TransportChannelSupport.send(TransportChannelSupport.java:143)
>         at org.codehaus.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:916)
>         at org.codehaus.activemq.ActiveMQConnection.sendConnectionInfoToBroker(ActiveMQConnection.java:1132)
>         at org.codehaus.activemq.ActiveMQConnection.close(ActiveMQConnection.java:553)
>         at org.codehaus.activemq.transport.activeio.ExceptionListenerTest.tearDown(ExceptionListenerTest.java:81)
>         at junit.framework.TestCase.runBare(TestCase.java:130)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
>         at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
> Caused by: java.net.SocketException: Socket closed
>         at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
>         at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>         at org.activeio.packet.ByteArrayPacket.writeTo(ByteArrayPacket.java:100)
>         at org.activeio.net.SocketSynchChannel.write(SocketSynchChannel.java:134)
>         at org.activeio.adapter.SynchToAsynchChannelAdapter.write(SynchToAsynchChannelAdapter.java:183)
>         at org.codehaus.activemq.transport.activeio.ActiveIOTransportChannel.doAsyncSend(ActiveIOTransportChannel.java:114)
>         ... 15 more
> ------------- ---------------- ---------------
> Testcase: testFailingConnection(org.codehaus.activemq.transport.activeio.ExceptionListenerTest):
       FAILED
> Should have been notified of an exception
> junit.framework.AssertionFailedError: Should have been notified of an exception
>         at org.codehaus.activemq.transport.activeio.ExceptionListenerTest.testFailingConnection(ExceptionListenerTest.java:45)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message