From user-return-8311-archive-asf-public=cust-asf.ponee.io@uima.apache.org Wed Feb 26 19:12:45 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 33EB418065C for ; Wed, 26 Feb 2020 20:12:45 +0100 (CET) Received: (qmail 62926 invoked by uid 500); 26 Feb 2020 19:12:44 -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 62913 invoked by uid 99); 26 Feb 2020 19:12:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Feb 2020 19:12:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 88D251A33E7 for ; Wed, 26 Feb 2020 19:12:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.958 X-Spam-Level: X-Spam-Status: No, score=0.958 tagged_above=-999 required=6.31 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.248, HTML_MESSAGE=0.2, KAM_DMARC_STATUS=0.01, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tqNlUpodwG7R for ; Wed, 26 Feb 2020 19:12:41 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.166.193; helo=mail-il1-f193.google.com; envelope-from=uimaee@gmail.com; receiver= Received: from mail-il1-f193.google.com (mail-il1-f193.google.com [209.85.166.193]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 2DA387DDD3 for ; Wed, 26 Feb 2020 19:12:41 +0000 (UTC) Received: by mail-il1-f193.google.com with SMTP id g126so131206ilh.2 for ; Wed, 26 Feb 2020 11:12:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=zMW65mXcdw9jDlSInuPsnUckZyVPvJ6XaOGzz6segC0=; b=H5oCOnvRhW15jl3eQD7fLJnvkVZ/6K8mzaZ0SRS95FNd4ca30kEWQfsFn/sOao3OAi Oj9OpdagvRnR2aT0bYCg4cDuvZrIMetEujq/e8Txh93B2mTimTsQ6DTLOF5DHWENqmmg JfLuHkMuHmUBpQmBp9L5spJADS/JHN29clF/WRDXV4F1JPsr4ewsQa4Vi6zo22XpBIc0 KqHEXj5mzMzT+f4ZojeYRnRScykjZEGj7lYkbNx02px+M9ZE+ddLptS7Oz8jt0ayuLsT PKaiKT6O70dw7IlHpjgqFICQPeju7UJ5g30EKFirhnpy2QIkcCYD39PyJSR5dETKK0B/ OFLg== X-Gm-Message-State: APjAAAV4Tr9a/Dmu2AWDtUGbz43ypYFfoROR6hqGbHjWk56UItdwVnGW cxU/7s+oL0qEf5G+EhyvvCeqlC5Ep3uoVLCjq6uynXf0 X-Google-Smtp-Source: APXvYqzGPNjhE0ShnF0Ny51U3GhVyvkulTsLJE56qWJdqxxiS59/g+ZPG04u+it/FJ6Y15myuEH6vs1EJHwmHJhX3/0= X-Received: by 2002:a92:4016:: with SMTP id n22mr146539ila.13.1582744353530; Wed, 26 Feb 2020 11:12:33 -0800 (PST) MIME-Version: 1.0 References: <7ce980fe-70f9-18aa-0f4c-30678d390e7c@schor.com> In-Reply-To: <7ce980fe-70f9-18aa-0f4c-30678d390e7c@schor.com> From: Jaroslaw Cwiklik Date: Wed, 26 Feb 2020 14:12:23 -0500 Message-ID: Subject: Re: Java 11 - UIMA-AS 2.10.3 To: user@uima.apache.org Content-Type: multipart/alternative; boundary="000000000000f66824059f7f6227" --000000000000f66824059f7f6227 Content-Type: text/plain; charset="UTF-8" Hi, the uima-as release is on my plate. No ETA though. I am still waiting for Apache Infra to make a switch from SVN to GIT. Not sure how long this will take. Also the release takes some time to happen. So you have a few options: 1) If Java 11 is not absolutely necessary you can run with Java 8 2) You can build your own uima-as runtime from SVN trunk. It already has a dependency on uima 2.10.3 ( 2.10.3) 3) You can replace uimaj-core.jar in your uima-as deployment with this jar: https://repo.maven.apache.org/maven2/org/apache/uima/uimaj-core/2.10.4/uimaj-core-2.10.4.jar (in $UIMA_HOME/lib). Not sure if this is the only jar you need. In case you need other (newer) uima jars just check here: https://repo.maven.apache.org/maven2/org/apache/uima/uimaj-core/2.10.4 - Jerry On Wed, Feb 26, 2020 at 11:33 AM Marshall Schor wrote: > Hi, > > This problem was fixed in core uima (uimaj) in version 2.10.3, see Jira > issue: > https://issues.apache.org/jira/browse/UIMA-5754 > > But uima-as version 2.10.3 was built/delivered with a previous version of > core > uima (uimaj), and doesn't have this fix. > > We'll look into fixes/workarounds for this earlier version. > > -Marshall > > > On 2/26/2020 12:58 AM, Hai-Son Nguyen wrote: > > Hi, > > I receiving an exception running: > > bin/runUimaClass.sh org.apache.uima.adapter.jms.service.UIMA_Service > ... > > using Java 11 both the Oracle > > java 11.0.6 2020-01-14 LTS > > and the OpenJDK versions: > > openjdk 11.0.3 2019-04-16 > > > > Exception in thread "main" java.lang.ClassCastException: class > jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class > java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader > and java.net.URLClassLoader are in module java.base of loader 'bootstrap') > > at > org.apache.uima.bootstrap.UimaBootstrap.addUrlsToSystemLoader(UimaBootstrap.java:146) > > at > org.apache.uima.bootstrap.UimaBootstrap.main(UimaBootstrap.java:74) > > > > Thanks! > > Hai-Son > --000000000000f66824059f7f6227--