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 7525017B96 for ; Tue, 22 Sep 2015 11:28:17 +0000 (UTC) Received: (qmail 33292 invoked by uid 500); 22 Sep 2015 11:28:17 -0000 Delivered-To: apmail-ctakes-dev-archive@ctakes.apache.org Received: (qmail 33237 invoked by uid 500); 22 Sep 2015 11:28:17 -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 33217 invoked by uid 99); 22 Sep 2015 11:28:16 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Sep 2015 11:28:16 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 804F0C0CDC for ; Tue, 22 Sep 2015 11:28:16 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.993 X-Spam-Level: ** X-Spam-Status: No, score=2.993 tagged_above=-999 required=6.31 tests=[HTML_MESSAGE=3, RP_MATCHES_RCVD=-0.006, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8YN_xIQ4ZT71 for ; Tue, 22 Sep 2015 11:28:14 +0000 (UTC) Received: from zixvpm.geisinger.edu (zixvpm02.geisinger.edu [159.240.9.22]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id DE72042F38 for ; Tue, 22 Sep 2015 11:28:13 +0000 (UTC) Received: from 127.0.0.1 (ZixVPM [127.0.0.1]) by Outbound.geisinger.edu (Proprietary) with SMTP id A75B42D7CA0 for ; Tue, 22 Sep 2015 07:28:06 -0400 (EDT) Received: from LOFEXMBX208W12V.geisinger.edu (ghsnetprew8k2v.geisinger.edu [10.230.9.97]) by zixvpm.geisinger.edu (Proprietary) with ESMTP id 4145F2D7C97 for ; Tue, 22 Sep 2015 07:28:06 -0400 (EDT) Received: from LOFEXMBX207W12V.geisinger.edu (10.240.245.19) by LOFEXMBX208W12V.geisinger.edu (10.240.245.20) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Tue, 22 Sep 2015 07:28:05 -0400 Received: from LOFEXMBX207W12V.geisinger.edu ([fe80::3464:515c:5d48:2220]) by LOFEXMBX207W12V.geisinger.edu ([fe80::3464:515c:5d48:2220%12]) with mapi id 15.00.1104.000; Tue, 22 Sep 2015 07:28:05 -0400 From: "Geise, Brandon D." To: "'dev@ctakes.apache.org'" Subject: RE: Packaging Ctakes Application Thread-Topic: Packaging Ctakes Application Thread-Index: AdD0dHW53qMGbMxyQq2yFiKt2gJnuAAtP0yg Date: Tue, 22 Sep 2015 11:28:05 +0000 Message-ID: <5ed4cb4a41374f8e9165f5c7bf37db20@LOFEXMBX207W12V.geisinger.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.240.245.250] Content-Type: multipart/alternative; boundary="_000_5ed4cb4a41374f8e9165f5c7bf37db20LOFEXMBX207W12Vgeisinge_" MIME-Version: 1.0 X-Symantec-Inspected: Forwarded X-VPM-MSG-ID: d63e53f2-f516-4924-a517-866758cd49bb X-VPM-HOST: zixvpm02.geisinger.edu X-VPM-GROUP-ID: ab4b1a85-7b51-48cf-875a-5ccd24e5bbf3 X-VPM-ENC-REGIME: Plaintext X-VPM-CERT-FLAG: 0 X-VPM-IS-HYBRID: 0 --_000_5ed4cb4a41374f8e9165f5c7bf37db20LOFEXMBX207W12Vgeisinge_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable As a follow-up I've followed the distribution packaging strategy to = package my application and I've gotten past the error below, but now I'm = running into the error below: Caused by: org.apache.uima.resource.ResourceInitializationException: Could = not access the resource data at = resources=5Corg=5Capache=5Cctakes=5Cdictionary=5Clookup=5Cfast=5CcakesHsql.= xml. I've double checked all my paths and tried changing from relative to = absolute but still no luck? Has anyone run into this before and have a = suggestion on where to look? Thanks, Brandon From: Geise, Brandon D. Sent: Monday, September 21, 2015 9:59 AM To: 'dev=40ctakes.apache.org' Subject: Packaging Ctakes Application Hi All, I've created a test application using Ctakes and now would like to package = into jar. What I've tried is creating a single jar with all resources in = the JAR and it starts loading the models as expected for the = TokenizerAnnotatorPTB (default from cTakes) but close to the end of the = loading the models I get a URI is not hierarchical error. Loading configuration. Loading feature templates. Loading lexica. Loading model: =2E............................... Loading model: =2E............................ URI is not hierarchical java.lang.IllegalArgumentException: URI is not hierarchical If I run the same from Eclipse it looks like Loading configuration. Loading feature templates. Loading lexica. Loading model: =2E............................... Loading model: =2E............................ 21 Sep 2015 09:47:19 INFO AbstractJCasTermAnnotator - Using dictionary = lookup window type: org.apache.ctakes.typesystem.type.textspan.Sentence Can someone offer some suggestions on the best way to package a maven = application that uses cTakes? Based on another thread I have even tried = to extract the resources folder and specify in the classpath but I'm still = receiving the same error. Thanks, Brandon IMPORTANT WARNING: The information in this message (and the documents = attached to it, if any) is confidential and may be legally privileged. It = is intended solely for the addressee. Access to this message by anyone = else is unauthorized. If you are not the intended recipient, any = disclosure, copying, distribution or any action taken, or omitted to be = taken, in reliance on it is prohibited and may be unlawful. If you have = received this message in error, please delete all electronic copies of = this message (and the documents attached to it, if any), destroy any hard = copies you may have created and notify me immediately by replying to this = email. Thank you. Geisinger Health System utilizes an encryption process to safeguard = Protected Health Information and other confidential data contained in = external e-mail messages. If email is encrypted, the recipient will = receive an e-mail instructing them to sign on to the Geisinger Health = System Secure E-mail Message Center to retrieve the encrypted e-mail.= --_000_5ed4cb4a41374f8e9165f5c7bf37db20LOFEXMBX207W12Vgeisinge_--