Return-Path: X-Original-To: apmail-activemq-dev-archive@www.apache.org Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CDBFC4F7 for ; Sat, 28 Apr 2012 05:36:20 +0000 (UTC) Received: (qmail 56062 invoked by uid 500); 28 Apr 2012 05:36:19 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 55694 invoked by uid 500); 28 Apr 2012 05:36:19 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 55007 invoked by uid 99); 28 Apr 2012 05:36:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2012 05:36:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 28 Apr 2012 05:36:12 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 61AF4406AFE for ; Sat, 28 Apr 2012 05:35:51 +0000 (UTC) Date: Sat, 28 Apr 2012 05:35:51 +0000 (UTC) From: "Brian Topping (JIRA)" To: dev@activemq.apache.org Message-ID: <2039528440.5895.1335591351401.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Closed] (AMQ-184) Test Failure in activeio.ExceptionListenerTest MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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