Luke South ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Abb966cbe-863b-4888-b2e8-61af16f712e5
 ) *created* an issue

GeoServer ( 
https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiNzY0MGQ0ZDVmOTJkNDUyNTljYTI2YTAwNDk2OTFkZTkiLCJwIjoiaiJ9
 ) / Bug ( 
https://osgeo-org.atlassian.net/browse/GEOS-11038?atlOrigin=eyJpIjoiNzY0MGQ0ZDVmOTJkNDUyNTljYTI2YTAwNDk2OTFkZTkiLCJwIjoiaiJ9
 ) GEOS-11038 ( 
https://osgeo-org.atlassian.net/browse/GEOS-11038?atlOrigin=eyJpIjoiNzY0MGQ0ZDVmOTJkNDUyNTljYTI2YTAwNDk2OTFkZTkiLCJwIjoiaiJ9
 ) Geoserver 2.23.1 doesnt pick up web-fragment.xml within custom jar when 
deployed on WebLogic ( 
https://osgeo-org.atlassian.net/browse/GEOS-11038?atlOrigin=eyJpIjoiNzY0MGQ0ZDVmOTJkNDUyNTljYTI2YTAwNDk2OTFkZTkiLCJwIjoiaiJ9
 )

Issue Type: Bug Affects Versions: 2.23.1 Assignee: Unassigned Components: 
web-app Created: 21/Jun/23 12:46 PM Environment:

WebLogic 14.1.1

GeoServer 2.23.1

Priority: Low Reporter: Luke South ( 
https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Abb966cbe-863b-4888-b2e8-61af16f712e5
 )

We have a custom jar file that contains filters, a servlet, and a 
web-fagment.xml that are to be included alongside the deployment of GeoServer. 
Adding this jar to WEB-INF/lib is sufficient for a Tomcat 9 deployment, the jar 
is picked up, the customisations are executed when testing. However when 
deploying this same customised geoserver war to WebLogic, the custom servlet 
and filters are not getting executed.

I found that if i edited the web.xml file by replacing the first tag with the 
following to explicitly mention servlet version 3 the customisations are picked 
up and executed.

<web-app xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance";
xmlns= "http://java.sun.com/xml/ns/javaee";
xmlns:web = "http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd";
xsi:schemaLocation= "http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"; 
id= "WebApp_ID" version= "3.0" >

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

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:28a616e )
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to