From uima-dev-return-7694-apmail-incubator-uima-dev-archive=incubator.apache.org@incubator.apache.org Wed Jul 09 21:46:24 2008 Return-Path: Delivered-To: apmail-incubator-uima-dev-archive@locus.apache.org Received: (qmail 79259 invoked from network); 9 Jul 2008 21:46:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 21:46:24 -0000 Received: (qmail 2714 invoked by uid 500); 9 Jul 2008 21:46:25 -0000 Delivered-To: apmail-incubator-uima-dev-archive@incubator.apache.org Received: (qmail 2609 invoked by uid 500); 9 Jul 2008 21:46:25 -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 2598 invoked by uid 99); 9 Jul 2008 21:46:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 14:46:24 -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; Wed, 09 Jul 2008 21:45:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A64CE234C160 for ; Wed, 9 Jul 2008 14:45:31 -0700 (PDT) Message-ID: <1470616570.1215639931680.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 14:45:31 -0700 (PDT) From: "Marshall Schor (JIRA)" To: uima-dev@incubator.apache.org Subject: [jira] Assigned: (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 ] Marshall Schor reassigned UIMA-1105: ------------------------------------ Assignee: Marshall Schor > 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 > Assignee: Marshall Schor > Attachments: cpe.xml, ProcessingUnit-patch.txt, 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.