[OSGeoLive] #2379: Re3gistry fails due tomcat9 not supporting java8

OSGeoLive trac_osgeolive at osgeo.org
Mon Jul 18 00:51:00 PDT 2022

#2379: Re3gistry fails due tomcat9 not supporting java8
 Reporter:  omartinez  |      Owner:  osgeolive@…
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:  OSGeoLive15.0
Component:  OSGeoLive  |   Keywords:  re3gistry tomcat
 I’m updating the Re3gistry installer script. Re3gistry is a java8 software
 and requires deploying two apps into tomcat (re3gistry2 and
 re3gistry2API). I made some changes in the installer but arrived at the
 following error.


 -Jul-2022 18:49:51.207 SEVERE [http-nio-8080-exec-7]
 org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service()
 for servlet [jsp] threw exception
 org/eclipse/jdt/internal/compiler/env/INameEnvironment has been compiled
 by a more recent version of the Java Runtime (class file version 55.0),
 this version of the Java Runtime only recognizes class file versions up to
                 at java.lang.ClassLoader.defineClass1(Native Method)
                 at java.lang.ClassLoader.defineClass(ClassLoader.java:756)


 After some research, I found out that tomcat9 looks like it does not have
 support for version 52 (java 8) in Ubuntu 22.04 LTS. If I’m not wrong,
 OSGeo Live is based on this version. A thread about this issue:


 I’m not sure how to approach this issue, if it should imply changes in
 OSGeo Live base version or if we should try to install a different tomcat
 version in the re3gistry installer or try a workaround as it is explained
 in the last thread.

 Thanks for your help in advance.
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2379>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.

More information about the osgeolive mailing list