Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 67764 invoked from network); 29 Oct 2007 07:07:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Oct 2007 07:07:20 -0000 Received: (qmail 30677 invoked by uid 500); 29 Oct 2007 07:07:07 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 30612 invoked by uid 500); 29 Oct 2007 07:07:06 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 30601 invoked by uid 99); 29 Oct 2007 07:07:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2007 00:07:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Oct 2007 07:07:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0620F714238 for ; Mon, 29 Oct 2007 00:06:56 -0700 (PDT) Message-ID: <23682302.1193641616022.JavaMail.jira@brutus> Date: Mon, 29 Oct 2007 00:06:56 -0700 (PDT) From: "Vamsavardhana Reddy (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-2880) TransportDisposedIOException occurs when trying to close ActiveMQ queue In-Reply-To: <5686672.1172252285508.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-2880?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vamsavardhana Reddy updated GERONIMO-2880: ------------------------------------------ Affects Version/s: 2.1 Assignee: Vamsavardhana Reddy > TransportDisposedIOException occurs when trying to close ActiveMQ queue > ----------------------------------------------------------------------- > > Key: GERONIMO-2880 > URL: https://issues.apache.org/jira/browse/GERONIMO-2880 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: ActiveMQ > Affects Versions: 2.0.x, 2.1 > Environment: Windows XP SP2 > Reporter: Aman Nanner > Assignee: Vamsavardhana Reddy > Priority: Critical > Fix For: 2.0.x, 2.1 > > Attachments: AMQ_NoTxDatasource.patch > > > I have discovered some problems with queues while running unittest in our own J2EE app. > After sending a message on a queue, when we try to call the close() method on the queue, we get the following exception: > ---- > org.apache.activemq.transport.TransportDisposedIOException: Peer (vm://localhost#69) disposed. > ---- > where the number after "localhost" is different every time. > We do not experience this problem with topics. We are using ActiveMQ as part of an "embedded" configuration with Geronimo. > I've done some debugging and the problem occurs at this line in the ActiveMQMessageProducer.close() method: > ---- > this.session.asyncSendPacket(info.createRemoveCommand()); > ---- > The queue itself is disposed properly in the dispose() method that is called in the line before, but this sending of the asynchronous packet fails. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.