Nicolas Peifer ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ad09411ac-1b72-480b-b859-d064490b00fc
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNjU2ZWFiYjhkZDVkNDk1MWIzMWViM2NjYWMxNzJhZTMiLCJwIjoiaiJ9
 ) / Wish ( 
https://osgeo-org.atlassian.net/browse/GEOS-11047?atlOrigin=eyJpIjoiNjU2ZWFiYjhkZDVkNDk1MWIzMWViM2NjYWMxNzJhZTMiLCJwIjoiaiJ9
 ) GEOS-11047 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11047?atlOrigin=eyJpIjoiNjU2ZWFiYjhkZDVkNDk1MWIzMWViM2NjYWMxNzJhZTMiLCJwIjoiaiJ9
 ) Support Tomcat 10.1 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11047?atlOrigin=eyJpIjoiNjU2ZWFiYjhkZDVkNDk1MWIzMWViM2NjYWMxNzJhZTMiLCJwIjoiaiJ9
 )

Issue Type: Wish Affects Versions: 2.23.1 Assignee: Unassigned Created: 
28/Jun/23 10:18 AM Priority: Medium Reporter: Nicolas Peifer ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ad09411ac-1b72-480b-b859-d064490b00fc
 )

The installation of GeoServer on Tomcat 10.1 succeeds only if I use the Tomcat 
Migration Tool for Jakarta EE ( 
https://tomcat.apache.org/download-migration.cgi ) 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/

( 
https://osgeo-org.atlassian.net/browse/GEOS-11047#add-comment?atlOrigin=eyJpIjoiNjU2ZWFiYjhkZDVkNDk1MWIzMWViM2NjYWMxNzJhZTMiLCJwIjoiaiJ9
 ) Add Comment ( 
https://osgeo-org.atlassian.net/browse/GEOS-11047#add-comment?atlOrigin=eyJpIjoiNjU2ZWFiYjhkZDVkNDk1MWIzMWViM2NjYWMxNzJhZTMiLCJwIjoiaiJ9
 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( 
https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail
 ) or iOS ( 
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8
 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227- 
sha1:534ec1c )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to