Hi, thanks for the tests! The Java 17 situation is known and documented: https://docs.geoserver.org/latest/en/user/production/java.html#running-on-java-17
Mind Java 17 support is still considered experimental only. Cheers Andrea On Tue, Oct 10, 2023 at 4:41 PM JP Motaung via Geoserver-devel < geoserver-devel@lists.sourceforge.net> wrote: > Good day, > > > > Hope all is well and that you are keeping safe. > > > > We have had the pleasure of testing the RC 2.24 GeoServer release and > below is some of the feedback we have compiled regarding installation and > testing. > > > > > > Geoserver RC-24: > > Windows installation: > > > > 1. Both the Windows installer and Bin versions crash with the > following error message when using OpenJDK 17.0.8.7 (layer preview or > server status) > > javax.servlet.ServletException: > org.springframework.web.util.NestedServletException: Handler dispatch > failed; nested exception is java.lang.IllegalAccessError: superclass access > check failed: class org.marlin.pisces.MarlinRenderingEngine (in unnamed > module @0x3a0ee19b) cannot access class sun.java2d.pipe.RenderingEngine (in > module java.desktop) because module java.desktop does not export > sun.java2d.pipe to unnamed module @0x3a0ee19b > > With OpenJDK 11.0.20.8, there is a subtle warning, but it does still > render a map correctly: > > WARNING: An illegal reflective access operation has occurred > > WARNING: Illegal reflective access by org.geoserver.web.admin.StatusPanel > (file:/______v2.24-RC/GeoServer/webapps/geoserver/WEB-INF/lib/gs-web-core-2.24-RC.jar) > to method sun.java2d.pipe.RenderingEngine.getInstance() > > WARNING: Please consider reporting this to the maintainers of > org.geoserver.web.admin.StatusPanel > > WARNING: Use --illegal-access=warn to enable warnings of further illegal > reflective access operations > > WARNING: All illegal access operations will be denied in a future release > > INFO: > =============================================================================== > > INFO: Marlin software rasterizer = ENABLED > > INFO: Version = [marlin-0.9.3-Unsafe] > > INFO: sun.java2d.renderer = > org.marlin.pisces.MarlinRenderingEngine > > > > I do not think this is limited to v2.24-RC. The same problems occur when > running v2.22.5 on Windows (17 and 11). > > > > Researching: > https://gis.stackexchange.com/questions/432408/geoserver-problems-with-java-18 > and > reading: > > > https://docs.geoserver.org/main/en/user/production/java.html#running-on-java-17 > > > > This will help: > > rm webapps/geoserver/WEB-INF/lib/marlin-0.9.3.jar > > and then it will work on OpenJDK 17. Confirmed. > > > > > > 1. Tested on OpenJDK-11 > 1. Created workspace > 2. Created a PostGIS datastore > 3. Created layers > 4. Viewed layers > 5. Created styles > 6. Created users and rolls (Tested that users can only view certain > data which were assigned to them) > > > > Linux (AfriGIS servers) > > 1. Viewing existing AfriGIS data were successful > 2. Successful functionality tests: > > > 1. Created workspace > 2. Created a PostGIS (JNDI) datastore > 3. Created a PostGIS (JNDI) datastore > 4. Created layers > 5. Viewed layers > 6. Created styles > 7. Tested existing users and rolls (Tested that users can only view > certain data which were assigned to them) > > > > 1. consider creating a *symbolic *link for the Tomcat directory. > > e.g. > > *example command: ln -s /opt/apache-tomcat-9.0.75 /opt/apache-tomcat* > > > > > > Kind Regards > > > > JP Motaung > > *IT | Systems Administrator* > > > > *Office *+27 87 310 6400 > > *Mobile *+27 82 311 0696 > > > > *AfriGIS (Pty) Ltd* > > -25.808611 | 28.256111 > > Rigel Park, 446 Rigel Avenue S, Erasmusrand, Pretoria, South Africa > > [image: AfriGIS Email Footer Logo] > > > _______________________________________________ > Geoserver-devel mailing list > Geoserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > -- Regards, Andrea Aime == GeoServer Professional Services from the experts! Visit http://bit.ly/gs-services-us for more information. == Ing. Andrea Aime @geowolf Technical Lead GeoSolutions Group phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549 https://www.geosolutionsgroup.com/ http://twitter.com/geosolutions_it ------------------------------------------------------- Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia. This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel