Return-Path: X-Original-To: apmail-ctakes-dev-archive@www.apache.org Delivered-To: apmail-ctakes-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9C87F11E17 for ; Mon, 14 Apr 2014 14:53:19 +0000 (UTC) Received: (qmail 23673 invoked by uid 500); 14 Apr 2014 14:53:18 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 23590 invoked by uid 500); 14 Apr 2014 14:53:18 -0000 Mailing-List: contact dev-help@ctakes.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ctakes.apache.org Delivered-To: mailing list dev@ctakes.apache.org Received: (qmail 23581 invoked by uid 99); 14 Apr 2014 14:53:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 14:53:17 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [129.176.114.197] (HELO mail9.mayo.edu) (129.176.114.197) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 14:53:12 +0000 Received: from unknown (HELO mail9.mayo.edu) ([10.146.66.179]) by ironport9-poly.mayo.edu with ESMTP; 14 Apr 2014 09:49:19 -0500 Message-Id: <3dfcdc$gbf5nn@ironport9.mayo.edu> X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqIEALP1S1MKgNEM/2dsb2JhbABag0HDKVGBOnSCJQEBAQQ6AgFIBAIBCA0EBAEBKAdGCQgBAQQTiAEIxTiGDBOOeQaCd4E7BJ9djng Received: from unknown (HELO msgoms03.mayo.edu) ([10.128.209.12]) by ironport9.mayo.edu with ESMTP; 14 Apr 2014 09:49:19 -0500 Date: Mon, 14 Apr 2014 14:52:46 +0000 From: "Masanz, James J." Subject: RE: Command line invocation In-reply-to: To: "'dev@ctakes.apache.org'" MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-language: en-US Content-transfer-encoding: quoted-printable Accept-Language: en-US Thread-topic: Command line invocation Thread-index: Ac9WZw8CdP6WNlhSRWy3wLi90Vjz5gArM+gwAAiX2vAALpQ8YA== X-MS-Has-Attach: X-MS-TNEF-Correlator: References: <6e55ab$8l34tf@ironport10.mayo.edu> X-CFilter-Loop: Reflected X-Virus-Checked: Checked by ClamAV on apache.org Did you by chance miss the step where you=20 "Download the cTAKES resources ZIP file with a matching version from the ct= akesresources project" Do you have a directory such as=20 resources/org/apache/ctakes/dictionary/lookup/umls* such as resources/org/apache/ctakes/dictionary/lookup/umls2011ab -----Original Message----- From: Abraham Tom [mailto:atom@practicefusion.com]=20 Sent: Sunday, April 13, 2014 11:49 AM To: dev@ctakes.apache.org Subject: RE: Command line invocation Thanks for the information I was on the developer version, but now I have reverted to the user version= =20 I reinstalled cTakes, specifically apache-ctakes-3.1.0-bin.tar.gz and follo= wed the instructions from https://cwiki.apache.org/confluence/display/CTAKE= S/cTAKES+3.1+User+Install+Guide=20 Then I tried to execute the following=20 java -cp $CTAKES_HOME/lib/*:$CTAKES_HOME/desc/:$CTAKES_HOME/resources/ -Xm= s512M -Xmx1024M org.apache.ctakes.clinicalpipeline.ClinicalPipelineWithUmls and I got the following message Exception in thread "main" org.apache.uima.resource.ResourceInitializationE= xception Then I tried to invoke the jar intself java -jar -Xms512M -Xmx1024M ./lib/ctakes-clinical-pipeline-3.1.0.jar=20 but I got the following error Failed to load Main-Class manifest attribute from ./lib/ctakes-clinical-pipeline-3.1.0.jar Groovy is an option if I there are instructions on how to use it I would not mind helping to build those instructions to invoke specific cla= sses Best regards, Abraham Tom ____________________________ Abraham Tom Data Warehouse Engineer =20 -----Original Message----- From: Masanz, James J. [mailto:Masanz.James@mayo.edu]=20 Sent: Sunday, April 13, 2014 5:32 AM To: 'dev@ctakes.apache.org' Subject: RE: Command line invocation Yes, that's possible. You need more things on your classpath - you can take a look at the classpa= th within runctakesCVD.bat Or if you are open to using groovy, take a look at the scripts directory wi= thin ctakes-core -----Original Message----- From: Abraham Tom [mailto:atom@practicefusion.com] Sent: Saturday, April 12, 2014 10:55 AM To: dev@ctakes.apache.org Subject: Command line invocation I am not a core java developer, I am a Hadoop data guy We are experimenting= with using cTakes and we have no Java developers in house I am trying to invoke ClinicalPipelineWithUmls on a server where I installe= d the developer cTakes. This invocation is done via the following command= line java -verbose -cp "/opt/cTAKES-3.1.1/ctakes-clinical-pipeline/target/classe= s;/home/mapr/.m2/repository/org/cleartk/cleartk-util/0.9.2/cleartk-util-0.9= .2.jar" org.apache.ctakes.clinicalpipeline.ClinicalPipelineWithUmls but I am getting a Class not found error I would like to invoke via command line so that I can wrap a shell script a= round it and automate the processing of various docs. This should be possible shouldn't it? Best regards, Abraham Tom