Return-Path: Delivered-To: apmail-uima-user-archive@www.apache.org Received: (qmail 37234 invoked from network); 8 Jul 2010 14:31:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jul 2010 14:31:29 -0000 Received: (qmail 20278 invoked by uid 500); 8 Jul 2010 14:31:29 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 20228 invoked by uid 500); 8 Jul 2010 14:31:28 -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 20220 invoked by uid 99); 8 Jul 2010 14:31:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 14:31:28 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pcu84424@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 14:31:20 +0000 Received: by bwz10 with SMTP id 10so544589bwz.6 for ; Thu, 08 Jul 2010 07:31:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=qMTMpzQ8FwMwKlfCUrZY7hgQYSNm+SCszvRo9HaQV/c=; b=TDYqDVg5P/QHTb52w6ISKJVhP6jfLrqHPWNbKokll96l5LuTrhY82tvaZXERKLlaj4 K6QYznz0lVQjJGEH/Uu8S+P+zpDddTAs71jN0wtePYuvifWO06n2DdiRtYIv5fipm4t5 riltAU1Gi9zVxeR9rdgDg10lUQlaGcsJVY9IQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ULw5kjjfEV85WZ99Y4MsoCPsySoNqtUJ0IGnTcMoiNnb2pS30yrTg/iSf1gyChnqSW vZPG2k3StZE7il9C5KPmjM2heLpfzBo6YFo437JR0o1rpaaH+VJ7mHzUYgtv9OWMtvhy 6lYVn+24bygl1xZnopy/J5YmWvMJ4PL1HES8o= MIME-Version: 1.0 Received: by 10.204.160.146 with SMTP id n18mr6377245bkx.116.1278599459807; Thu, 08 Jul 2010 07:30:59 -0700 (PDT) Received: by 10.204.130.24 with HTTP; Thu, 8 Jul 2010 07:30:59 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Jul 2010 16:30:59 +0200 Message-ID: Subject: Re: Fail to deploy service in UIMA AS From: LinTong To: user@uima.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Thanks to Jaroslaw Cwiklik If the following message is not what you mean, please tell me how to output the full stack trace. Thanks. 08.07.10 16:22:51 - 10: org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy: WARNUNG: Thread: main Exception:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'primitive_ctlr_NLPQueue_1' defined in URL [file:C:/Users/AppData/Local/Temp/UIMAdd2springOutput43031.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl]: Constructor threw exception; nested exception is org.apache.uima.resource.ResourceInitializationException: Error initializing "org.apache.uima.resource.impl.DataResource_impl" from descriptor file:/C:/Development/eclipse/apache-uima/examples/descriptors/tutorial/analysisEngine/primitive/nlp/POSTagger.xml. 08.07.10 16:22:51 - 10: UIMA_Service.main: WARNUNG: Thread: main Exception:org.apache.uima.resource.ResourceInitializationException On Thu, Jul 8, 2010 at 3:54 PM, Jaroslaw Cwiklik wrote: > Please provide a full stack trace from the uima log if it is available. When > there is an initialization failure there should be a cause for it. > Regards, JC > > On Thu, Jul 8, 2010 at 7:29 AM, LinTong wrote: > >> Hello Everybody >> >> I tried to deploy a UIMA aggregate AE which includes "Hidden Markov >> Model Tagger Annotator" (UIMA sandbox) as a remote service in UIMA-AS. >> The deployment always failed and no error message returned. Sometimes >> it just said: Service: AE_Name stopped. >> >> I debugged it and found that serviceInitializationSemaphore.acquire() >> (SpringContainerDeployer.java) throws en exception >> "ResourceInitializationException". And in UIMA.log it says: >> 08.07.10 13:04:15 - 11: >> >> org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.initializeAnalysisEngine: >> WARNUNG: org.apache.uima.resource.ResourceInitializationException: >> Error initializing "org.apache.uima.resource.impl.DataResource_impl" >> from descriptor >> >> file:/C:/Users/workspace/uimf-0.3.2-SNAPSHOT/target/classes/desc/analysisEngine/primitive/nlp/POSTagger.xml. >> >> What is strange is that I deploy this AAE SUCCESSFULLY in Eclipse on >> my desktop, but it failed when using deployAsyncService.cmd. On my >> laptop it always failed neither in eclipse and using >> deployAsyncService.cmd. >> >> For this reason I think the descriptor and java have no problem and >> JVM has enough memory space. >> >> Any idea about my problem? Thanks very much for your help ! >> >> -- >> Best Regards >> LinTong(Pierre) >> > -- Best Regards LinTong(Pierre)