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 ECA0DC74C for ; Thu, 25 Jul 2013 14:43:00 +0000 (UTC) Received: (qmail 56767 invoked by uid 500); 25 Jul 2013 14:43:00 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 56645 invoked by uid 500); 25 Jul 2013 14:42:58 -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 56621 invoked by uid 99); 25 Jul 2013 14:42:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 14:42:57 +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 (nike.apache.org: domain of uimaee@gmail.com designates 209.85.219.52 as permitted sender) Received: from [209.85.219.52] (HELO mail-oa0-f52.google.com) (209.85.219.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 14:42:50 +0000 Received: by mail-oa0-f52.google.com with SMTP id g12so4402517oah.25 for ; Thu, 25 Jul 2013 07:42:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=J6eCW9TBHu4gpLpGkvW3KBc5sKuvoye52Gt60gTqmcs=; b=rvuKAGVBIdOBcWBzH1Z2xevn2ud99DY+caG227i98rL1HXoBoUIL5Nj/t2AivjkHxt LT118BSv03FUQvbJxhXWGx6fDHCIMGsa8ISjGm+yrv9iFEWDZae4Kb+KjOkf7jYdLBP6 VQLsvt/qfrlpzhZTn1fo/XfkpuXgwFl4XFimG61oMKKrhsPiVSj30tzoz2h+jxCtAsjK /DwFqrs378fM/CAQky4RRL+sBARmRO31Sl2UCfRI2nx2bpKCqLRSNRChKz4alzZuBaRn ltfQs7+iYPeuHo3pWVoOxjZpfz45gMkRngspSBn3fyP26tAQS8egm8veZrrdhn6ot0iw YQoA== MIME-Version: 1.0 X-Received: by 10.182.230.163 with SMTP id sz3mr35676740obc.81.1374763349791; Thu, 25 Jul 2013 07:42:29 -0700 (PDT) Received: by 10.182.14.10 with HTTP; Thu, 25 Jul 2013 07:42:29 -0700 (PDT) In-Reply-To: <51F0A849.9030108@orkash.com> References: <51E65773.2090307@orkash.com> <51E809DD.9050900@schor.com> <51E82076.4080405@schor.com> <51E909BF.2060006@orkash.com> <51EE7675.8000801@orkash.com> <51EF540A.2080608@orkash.com> <51F0A849.9030108@orkash.com> Date: Thu, 25 Jul 2013 10:42:29 -0400 Message-ID: Subject: Re: use of remoteAnalysisEngine cause failure From: Jaroslaw Cwiklik To: user@uima.apache.org Content-Type: multipart/alternative; boundary=001a11c2f63a1d5b1a04e257094c X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2f63a1d5b1a04e257094c Content-Type: text/plain; charset=ISO-8859-1 The runRemoteAsync.sh deploys a java program which is configured (default) to exit a jvm on the first error from a remote service. Working as designed. If you want to continue running despite error use the following: runRemoteAsync.sh -i which ignores errors. JC On Thu, Jul 25, 2013 at 12:23 AM, reshu.agarwal wrote: > On 07/24/2013 06:13 PM, Jaroslaw Cwiklik wrote: > >> The "...Cannot publish to a deleted Destination.." is caused by a broker >> not being able to deliver a message to a >> given queue. It looks like the client has terminated and the broker >> deleted >> its temp reply queue while the service >> was processing a CAS. >> >> >> JC >> >> >> On Wed, Jul 24, 2013 at 12:11 AM, reshu.agarwal > >**wrote: >> >> On 07/23/2013 05:56 PM, reshu.agarwal wrote: >>> >>> the heap space for the Memory Pool PS|Surviver space. >>>> >>>> Hi, >>> >>> In Jconsole memory column I noticed that the memory Pool PS Survivor >>> Space >>> is get fully filled and the processing stop with the error. >>> >>> >>> Error on process CAS call to remote service: >>> org.apache.uima.aae.error.****UimaEEServiceException: >>> org.apache.uima.cas.****CASRuntimeException: "Preexisting FS encountered >>> >>> but not allowed. "xmi:id=1797" >>> >>> and in the uima.log I found this error: >>> >>> org.apache.uima.adapter.jms.****activemq.**** >>> JmsEndpointConnection_impl.****send: >>> WARNING: >>> javax.jms.****InvalidDestinationException: Cannot publish to a deleted >>> Destination: temp-queue://ID:user-55759-****1374578217010-0:0:1 >>> >>> >>> I thing it is because of the memory Pool PS Survivor Space. If I am right >>> Please tell me the solution and If I am wrong then tell me the reason so >>> that I can resolve this. >>> >>> Thanks in advance. >>> >>> -- >>> Reshu Agarwal >>> >>> >>> Hi, > > Thanks for the reply JC, I monitor the console and found, this is because > of the queue deletion but the queue deletion is because of the first > exception: > > > Error on process CAS call to remote service: > org.apache.uima.aae.error.****UimaEEServiceException: > org.apache.uima.cas.****CASRuntimeException: "Preexisting FS encountered > > but not allowed. "xmi:id=1797" > > I think, when this above mentioned exception occurred, runRemoteAsync.sh > Service stops so that the temp queue producer, which is started by this > runRemoteAsync.sh, deleted from the broker. But, Remote Analysis Engine > services were still sending the messages to this producer queue, hence, > deleted destination exception occurrs. > > I do not understand why the first exceptionoccurs and how to resolve it as > my all parallel classes do not update any preexisting Feature Structure but > creating new Feature structures. > > As I mentioned before I got the exception if I used more documents and > this exception is coming on the same set of document suppose(250) but not > on a particular document but some time after 50 document's processing or > some time after 100 document's processing and some time after 150 or 170 > document's processing." > > Please tell me why this is happening. > > -- > Thanks, > Reshu Agarwal > > --001a11c2f63a1d5b1a04e257094c--