Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 488BC98C4 for ; Fri, 10 Feb 2012 15:06:41 +0000 (UTC) Received: (qmail 9256 invoked by uid 500); 10 Feb 2012 15:06:41 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 9185 invoked by uid 500); 10 Feb 2012 15:06:40 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 9177 invoked by uid 99); 10 Feb 2012 15:06:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 15:06:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of uimaee@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-ww0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Feb 2012 15:06:34 +0000 Received: by wgbdt13 with SMTP id dt13so2159268wgb.30 for ; Fri, 10 Feb 2012 07:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FzaSjcvwokGNfE8zmjCQB6gUICFonlw/X6OSLSHI7mw=; b=DWorCsS1vhh3lgD7ukq2kOfp0Gq4a7uf/dbHN9flotzFugMl6hmyYP4IoEr+KP0R5p QVgOTqto7sA8WAVP0iVUkkdz59jjyN3SoSe4U82o8zoOgaCo6i/4RpndMIK4BcWlNa0r vVsZatfHSDm6nREb3Cb8ltfOECSmsbeN61Ags= MIME-Version: 1.0 Received: by 10.180.83.72 with SMTP id o8mr3667880wiy.22.1328886373440; Fri, 10 Feb 2012 07:06:13 -0800 (PST) Received: by 10.223.88.198 with HTTP; Fri, 10 Feb 2012 07:06:13 -0800 (PST) In-Reply-To: References: <4F314251.2040305@averbis.de> <4F328780.4020209@averbis.de> Date: Fri, 10 Feb 2012 10:06:13 -0500 Message-ID: Subject: Re: UIMA AS: Invalid destination after broker restart From: Jaroslaw Cwiklik To: user@uima.apache.org Content-Type: multipart/alternative; boundary=f46d0442887e3c5c3104b89d78fb --f46d0442887e3c5c3104b89d78fb Content-Type: text/plain; charset=ISO-8859-1 Frank, so far I dont see the problem with uima-as code from the svn trunk. I set up a client with a synchronous sendAndReceive() which sends CASes repeatedly. While the client is sending CASes I kill the broker, wait a few minutes and restart it. I checked the log for invalid destination exception. None was logged. In your test case, do you send just one CAS after bouncing the broker or does your client send multiple CASes and each fails the same way (InvalidDestination) in the service? Jerry C On Wed, Feb 8, 2012 at 2:38 PM, Jaroslaw Cwiklik wrote: > Frank, I will try to recreate the problem. Yesterday, I tried the scenario > with async sendCAS() and saw no problems after bouncing a broker. Will test > the scenario with sendAndReceive(). > > Jerry C > > > > On Wed, Feb 8, 2012 at 9:32 AM, Frank Enders wrote: > >> Jerry, thanks for your reply first of all. >> Pending messages don't seem to play a role in our scenario. I am just >> sending single messages synchronously using sendAndReceiveCAS(). >> So when I restart the broker no messages are pending. >> I attached jconsole to the broker in order to observe its behaviour: >> A strange thing is that when the error occurs I can see that the missing >> queue actually should be present: >> >> i.e.: >> The error states: >> "javax.jms.InvalidDestinationException: Cannot publish to a deleted >> Destination: temp-queue://ID:xubuntu-VirtualBox-42260-1328698333409-0:2:1" >> >> But in jconsole I can see: >> >> |- org.apache.acticemq >> |- OurBroker >> |- TempQueue >> |- ID_xubuntu-VirtualBox-42260-1328698333409-0_2_1 >> >> appearing at the same time (until the UimaASMetaRequestTimeout is >> reached). >> >> Each subsequent request I send produces the same error (only the temp >> queue's id changes for each request). >> >> After stopping and redeploying the endpoint, everything works fine again. >> >> All the best, >> Frank >> > > --f46d0442887e3c5c3104b89d78fb--