From user-return-4824-apmail-uima-user-archive=uima.apache.org@uima.apache.org Sat Mar 23 15:30:08 2013 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 F2393F531 for ; Sat, 23 Mar 2013 15:30:07 +0000 (UTC) Received: (qmail 97088 invoked by uid 500); 23 Mar 2013 15:30:07 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 97058 invoked by uid 500); 23 Mar 2013 15:30:07 -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 97050 invoked by uid 99); 23 Mar 2013 15:30:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 15:30:07 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcaug-uima-user@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Mar 2013 15:30:01 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UJQOR-0006SB-DV for user@uima.apache.org; Sat, 23 Mar 2013 16:30:03 +0100 Received: from cpe-72-229-43-69.nyc.res.rr.com ([72.229.43.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Mar 2013 16:30:03 +0100 Received: from an2434 by cpe-72-229-43-69.nyc.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 23 Mar 2013 16:30:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@uima.apache.org From: Aiman Subject: Re: UIMA-AS: sendAndRecieveCAS hangs with no response Date: Sat, 23 Mar 2013 11:29:29 -0400 Lines: 38 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpe-72-229-43-69.nyc.res.rr.com User-Agent: Unison/2.1.6 X-Virus-Checked: Checked by ClamAV on apache.org Hi all - After some debugging, it turned out that this is caused by the Cas Multipliers that I have in my pipleline. When I remove them from the pipeline it performs very well. I was wondering if there are any considerations that I have to make when using cas multipliers with UIMA-AS ? Are there any settings that I have to change to the descriptor? Thanks On 2013-03-23 15:01:42 +0000, Aiman said: > Hello all - > > I have been able to successfully deploy my pipeline using UIMA-AS, I > tested it through command line tools and received the output CAS. I was > then able to programmatically call the service using Client API both > asynchronous and synchronously. However, for some reason, after few > runs it stopped working. > > Now whenever I call sendAndReceiveCAS it just blocks without receiving > any response, viewing uima.log did not help as I only found some INFO > messages without any errors. sendCAS is more of a hit and miss, it > works sometimes and sometimes it does not. I do not understand what > causing this and I don't know how to troubleshoot it. I've tried to > purge activemq queue, restart it, restart the AS service, changed the > queue name. But none of that helped. When I try to terminate the > service (using s+Enter), it also hangs after showing a few lines of > "....... AnalysisEngineInstancePool.destroy() was called". > > I know it's getting stuck somewhere, but my pipeline is very > lightweight and it takes a few milliseconds directly without UIMA-AS. I > would apperciate any help in troubleshooting this. > > Thanks!