From uima-dev-return-7647-apmail-incubator-uima-dev-archive=incubator.apache.org@incubator.apache.org Tue Jul 08 09:40:22 2008 Return-Path: Delivered-To: apmail-incubator-uima-dev-archive@locus.apache.org Received: (qmail 3914 invoked from network); 8 Jul 2008 09:40:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Jul 2008 09:40:22 -0000 Received: (qmail 47233 invoked by uid 500); 8 Jul 2008 09:40:23 -0000 Delivered-To: apmail-incubator-uima-dev-archive@incubator.apache.org Received: (qmail 47213 invoked by uid 500); 8 Jul 2008 09:40:23 -0000 Mailing-List: contact uima-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-dev@incubator.apache.org Delivered-To: mailing list uima-dev@incubator.apache.org Received: (qmail 47202 invoked by uid 99); 8 Jul 2008 09:40:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 02:40:23 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Jul 2008 09:39:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8CED1234C157 for ; Tue, 8 Jul 2008 02:39:31 -0700 (PDT) Message-ID: <394006292.1215509971572.JavaMail.jira@brutus> Date: Tue, 8 Jul 2008 02:39:31 -0700 (PDT) From: "Olivier Terrier (JIRA)" To: uima-dev@incubator.apache.org Subject: [jira] Updated: (UIMA-1105) CPE is sutck trying to retrieve a free CAS from the pool In-Reply-To: <2097478274.1215509854998.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/UIMA-1105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Olivier Terrier updated UIMA-1105: ---------------------------------- Attachment: uima.zip > CPE is sutck trying to retrieve a free CAS from the pool > -------------------------------------------------------- > > Key: UIMA-1105 > URL: https://issues.apache.org/jira/browse/UIMA-1105 > Project: UIMA > Issue Type: Bug > Components: Collection Processing > Affects Versions: 2.2.1 > Environment: Windows XP 32 bits > Reporter: Olivier Terrier > Attachments: uima.zip > > > Buggy scenario is a CPE with a first remote processor deployed as a Vinci service and an integrated CAS consumer that throws a ResourceProcessException in its process method. > It is quite easy to reproduce with a dummy consumer with this implementation > > public void processCas(CAS aCAS) throws ResourceProcessException { > throw new ResourceProcessException(new FileNotFoundException("file not found")); > } > It looks like the CPE is stuck trying to retrieve a CAS from the CAS pool that is apparently empty at some point. > My feeling is that when you have an ResourceProcessException thrown in the last component of the CPE, the code that is supposed to release the CAS from the CAS pool is not properly called... > If I suspend the process in Eclipse I can see that the CasConsumer and the Collection Reader pipelines Threads are waiting on the > CPECasPool.getCas(long) method > I attach the uima.log set to the FINEST level -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.