Re: Java 11 - UIMA-AS 2.10.3

2020-03-05 Thread Hai-Son Nguyen
Hi Jerry, Thanks for the patch!! Everything seemed ok except I did encounter https requirement for the maven repo: https://blog.sonatype.com/central-repository-moving-to-https during the build and updated the uima-as-parent/pom.xml lines 57 & 74 "http:/" -> "https:/" Our engine started up and

Re: Java 11 - UIMA-AS 2.10.3

2020-03-03 Thread Hai-Son Nguyen
Thanks Jerry, I got the Saxon errors when I tried to use the libraries directly from the UIMA 2.10.4 (bootstrap and others) so it was difficult for me to test past that point. Will try to do more testing with the fixes. I tried both Oracle and OpenJDK 11; will try to do more testing soon.

Re: Java 11 - UIMA-AS 2.10.3

2020-03-02 Thread Jaroslaw Cwiklik
Thanks for the update. Whose Java are you using (Oracle, IBM, OpenJDK, other)? I've checked out the latest version of uima-as and tried to build it with OpenJDK 11. Found a few build issues related to version of things in the poms. Fixed those and was able to build uima-as and run uima-as example

Re: Java 11 - UIMA-AS 2.10.3

2020-02-28 Thread Hai-Son Nguyen
Thanks Jerry, We've had moving to Java 11 from 8 on our agenda for a while; since we just ended a release cycle and so the question came up when/if it could occur this next cycle... There are other changes that go with the latest Java that make it crucial for us to move forward this year but

Re: Java 11 - UIMA-AS 2.10.3

2020-02-27 Thread Jaroslaw Cwiklik
The UIMA-AS has been tested with Java 8 only. Is it critical for you to run uima-as (and core uima) with Java 11? Not sure what else may break with uma-as with a newer java. I will take a look tomorrow at the Dd2Spring problem. Looks like SAXTransformerFactory has changed. - Jerry On Wed, Feb

Re: Java 11 - UIMA-AS 2.10.3

2020-02-26 Thread Hai-Son Nguyen
Thanks Marshall, I updated the bootstrap.jar file with the one from UIMA 2.10.4 and the problem went away and a new one arose with using the dd2spring.xml file (not sure if the issue is coupled or independent: INFO: Using Saxon Java API - Java Vendor:Oracle Corporation Feb 26, 2020 8:24:23 AM

Re: Java 11 - UIMA-AS 2.10.3

2020-02-26 Thread Jaroslaw Cwiklik
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

Re: Java 11 - UIMA-AS 2.10.3

2020-02-26 Thread Marshall Schor
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

Java 11 - UIMA-AS 2.10.3

2020-02-26 Thread Hai-Son Nguyen
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