[Geoserver-devel] [JIRA] (GEOS-11047) Support Tomcat 10.1

Nicolas Peifer created an issue

GeoServer / WishGEOS-11047

Support Tomcat 10.1

Issue Type:

WishWish

Affects Versions:

2.23.1

Assignee:

Unassigned

Created:

28/Jun/23 10:18 AM

Priority:

MediumMedium

Reporter:

Nicolas Peifer

The installation of GeoServer on Tomcat 10.1 succeeds only if I use the Tomcat Migration Tool for Jakarta EE or deploy to webapps-javaee (which in turn uses the before mentioned tool).

But even then, I ran into trouble: A custom GeoServer plugin stopped working because a method with an javax*.annotation.PostConstruct* annotation does not get called. I had to exclude jakarta.annotation-api from gs-platform and then include version 2.1.0 myself. Background: Tomcat 10 implements Jakarta EE 10 [1] which includes jakarta.annotation-api 2.1 [2]. But gs-platform uses jakarta.annotation-api 1.3.4 which was recent before Jakarta EE 9.

This is just a workaround which fixes the incompatible dependencies of GeoServer. It would be nice if GeoServer would run on Tomcat 10.1 directly. Are there any plans on this?

[1] https://tomcat.apache.org/whichversion.html
[2] https://jakarta.ee/specifications/annotations/

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227-sha1:534ec1c)

Atlassian logo