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 6431BF0A5 for ; Wed, 20 Mar 2013 13:45:13 +0000 (UTC) Received: (qmail 87764 invoked by uid 500); 20 Mar 2013 13:45:13 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 87719 invoked by uid 500); 20 Mar 2013 13:45:12 -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 87405 invoked by uid 99); 20 Mar 2013 13:45:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2013 13:45:09 +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; Wed, 20 Mar 2013 13:45:03 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UIJKC-0003fI-7F for user@uima.apache.org; Wed, 20 Mar 2013 14:45:04 +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 ; Wed, 20 Mar 2013 14:45:04 +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 ; Wed, 20 Mar 2013 14:45:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: user@uima.apache.org From: Aiman Subject: UIMA Simple Server and PEAR issues Date: Wed, 20 Mar 2013 13:43:46 +0000 (UTC) Lines: 26 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 72.229.43.69 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_4) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22) X-Virus-Checked: Checked by ClamAV on apache.org Hello all - I'm trying to use UIMA SimpleServer servlet to create a RESTful web service for my pipeline. I'm following this guide: http://uima.apache.org/downloads/sandbox/simpleServerUserGuide/simpleServerUser Guide.html#sandbox.simpleServer However, I am getting this exception: org.apache.uima.resource.ResourceInitializationException: The class SimpleTokenizer is not a valid Analysis Component. You must specify an Annotator, CAS Consumer, Collection Reader, or CAS Multiplier. If you are calling ResourceManager.setExtensionClassPath, this error can also be caused if you have put UIMA framework jar files on the extension classpath, which is not allowed. In my case, SimpleTokenizer extends JCasAnnotator_ImplBase. I've tried to package with and without UIMA jar files in the PEAR file, and tried to both include them and exclude them from the classpath (in install.xml). I also made sure that the UIMA versions are consistent across the web application and the UIMA application. But I'm still unable to get the web application up and running. I will appreciate any help. Thanks!