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 44087103FA for ; Mon, 15 Jul 2013 16:09:57 +0000 (UTC) Received: (qmail 41895 invoked by uid 500); 15 Jul 2013 16:09:57 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 41696 invoked by uid 500); 15 Jul 2013 16:09:55 -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 41670 invoked by uid 99); 15 Jul 2013 16:09:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 16:09:53 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of msa@schor.com designates 69.41.242.21 as permitted sender) Received: from [69.41.242.21] (HELO gateway07.websitewelcome.com) (69.41.242.21) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Jul 2013 16:09:45 +0000 Received: by gateway07.websitewelcome.com (Postfix, from userid 5007) id B10E6D455E75F; Mon, 15 Jul 2013 11:09:15 -0500 (CDT) Received: from gator74.hostgator.com (gator74.hostgator.com [184.173.199.208]) by gateway07.websitewelcome.com (Postfix) with ESMTP id A4D67D455E717 for ; Mon, 15 Jul 2013 11:09:15 -0500 (CDT) Received: from [129.34.20.23] (port=24703 helo=[9.2.211.72]) by gator74.hostgator.com with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80) (envelope-from ) id 1UylL1-0004Lv-HC for user@uima.apache.org; Mon, 15 Jul 2013 11:09:23 -0500 Message-ID: <51E41EB2.9050106@schor.com> Date: Mon, 15 Jul 2013 12:09:22 -0400 From: Marshall Schor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: problem if use remoteAnalysisEngine in deployment script References: <51E3902F.8000803@orkash.com> In-Reply-To: <51E3902F.8000803@orkash.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator74.hostgator.com X-AntiAbuse: Original Domain - uima.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - schor.com X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([9.2.211.72]) [129.34.20.23]:24703 X-Source-Auth: msa+schor.com X-Email-Count: 1 X-Source-Cap: bWlzY2hvcjttaXNjaG9yO2dhdG9yNzQuaG9zdGdhdG9yLmNvbQ== X-Virus-Checked: Checked by ClamAV on apache.org Did you start both services? Service 1: the one serving endpoint CQueue. Service 2: the one serving endpoint CasConsumerQueue Can you find / post any error logs? -Marshall On 7/15/2013 2:01 AM, reshu.agarwal wrote: > > Hiii, > > I am trying to use remote analysis engine as given below:: > > > > > > > > > > > > > > > > continueOnRetryFailure="true" thresholdCount="100" thresholdWindow="1000" > thresholdAction="terminate"/> > > > > brokerURL="${defaultBrokerURL}"/> > > > continueOnRetryFailure="true" thresholdCount="100" thresholdWindow="1000" > thresholdAction="terminate"/> > > > > > > > > > > But problem is that I find in the jconsole monitor only this casConsumerQueue > not the CQueue I want to know why CQueue is not created and the following > given exception is coming so how can I make this deployment script to run::: > > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:601) > at org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:98) > Caused by: org.apache.uima.resource.ResourceInitializationException > at > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.waitForServiceNotification(SpringContainerDeployer.java:516) > at > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.initializeContainer(SpringContainerDeployer.java:301) > at > org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy(SpringContainerDeployer.java:420) > at > org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.deploy(BaseUIMAAsynchronousEngine_impl.java:824) > at > org.apache.uima.examples.as.RunRemoteAsyncAE.(RunRemoteAsyncAE.java:173) > at > org.apache.uima.examples.as.RunRemoteAsyncAE.main(RunRemoteAsyncAE.java:308) > ... 5 more > Caused by: org.apache.uima.resource.ResourceInitializationException > at > org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1964) > at > org.apache.uima.aae.controller.BaseAnalysisEngineController.stop(BaseAnalysisEngineController.java:1860) > at > org.apache.uima.aae.controller.AggregateAnalysisEngineController_impl.stop(AggregateAnalysisEngineController_impl.java:3067) > at > org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:2117) > at > org.apache.uima.aae.controller.BaseAnalysisEngineController.terminate(BaseAnalysisEngineController.java:2083) > at > org.apache.uima.aae.error.handler.GetMetaErrorHandler.handleError(GetMetaErrorHandler.java:104) > at > org.apache.uima.aae.error.ErrorHandlerChain.handle(ErrorHandlerChain.java:57) > at > org.apache.uima.aae.delegate.ControllerDelegate.handleError(ControllerDelegate.java:61) > at org.apache.uima.aae.delegate.Delegate$2.run(Delegate.java:777) > at java.util.TimerThread.mainLoop(Timer.java:555) > at java.util.TimerThread.run(Timer.java:505) > > If I changed the remoteAnalysisEngine to analysisEngine this xml works perfectly. > > Thanks in advance. > > Reshu Agarwal > >