Hi Steve, thank you for your suggestion. Yes, I'm using the GeoFence plugin and after deleting the xercesImpl-2.12.2.jar file in the lib folder of GeoServer, the errors are gone. As far as I could see GeoFence is working normally without this JAR file. But how would I find out if it is save to remove it permanantly?
By the way, I'm running the 64-bit JRE of Temurin 17.0.11+9. Regards Daniel From: Ikeoka, Steve <steve.ike...@gdit.com> Sent: Mittwoch, 24. April 2024 21:22 To: Jody Garnett <jody.garn...@gmail.com>; Calliess Daniel Ing. <daniel.calli...@stadt-salzburg.at> Cc: geoserver-users <geoserver-users@lists.sourceforge.net> Subject: [EXTERN!]: Re: [Geoserver-users] FW: WMS broken after GeoServer Update (SAXException) Try searching your Tomcat directory for a xercesImpl jar file and removing it if it's there. Do you have either the Printing or GeoFence Server extensions installed? I did a quick grep search and those are the only two modules that explicitly include xercesImpl. Steve Ikeoka ________________________________ From: Jody Garnett <jody.garn...@gmail.com<mailto:jody.garn...@gmail.com>> Sent: Wednesday, April 24, 2024 9:40 AM To: Calliess Daniel Ing. <daniel.calli...@stadt-salzburg.at<mailto:daniel.calli...@stadt-salzburg.at>> Cc: geoserver-users <geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>> Subject: Re: [Geoserver-users] FW: WMS broken after GeoServer Update (SAXException) What version and distribution of java do you have? The incompatibility may be there .. . -- Jody Garnett On Tue, Apr 23, 2024 at 3: 26 AM Calliess Daniel Ing. <Daniel. Calliess@ stadt-salzburg. at> wrote: Hi again, is there anybody who could ZjQcmQRYFpfptBannerStart This Message Is From an External Sender Please use caution with links, attachments, and any requests for credentials. ZjQcmQRYFpfptBannerEnd What version and distribution of java do you have? The incompatibility may be there ... -- Jody Garnett On Tue, Apr 23, 2024 at 3:26 AM Calliess Daniel Ing. <daniel.calli...@stadt-salzburg.at<mailto:daniel.calli...@stadt-salzburg.at>> wrote: Hi again, is there anybody who could tell if this is expected behaviour or a side effect of the introduction of the ENTITY_RESOLUTION_ALLOWLIST setting? Regards Daniel From: Calliess Daniel Ing. Sent: Montag, 22. April 2024 15:00 To: geoserver-users <geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>> Subject: WMS broken after GeoServer Update (SAXException) Hi, I updated my GeoServer (Tomcat 9/Windows Server) from 2.24.2 to 2.25.0 and now I can't preview WMS layers. The error message is: "java.lang.reflect.UndeclaredThrowableExceptionorg.xml.sax.SAXException: Entity resolution disallowed for null". The same message is shown when I try to validate an SLD stylesheet. I copied the full stack trace to a file and attached it to this message. I also reverted back to the data dir included in the 2.25.0 release and can reproduce the error f.e. with the 'point' style. I now found out that when I'm starting GeoServer with the -DENTITY_RESOLUTION_ALLOWLIST=* parameter, the error is gone. Although this parameter shouldn't be necessary because the styles are only containing references to www.opengis.net<https://urldefense.us/v3/__http:/www.opengis.net__;!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U3cPob8zI$> and www.w3.org<https://urldefense.us/v3/__http:/www.w3.org__;!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U3Vry9bLI$> which are in the default list of allowed domains for entity expansion according to the documentation<https://urldefense.us/v3/__https:/docs.geoserver.org/latest/en/user/production/config.html*production-config-external-entities__;Iw!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U32hAQaiY$>. The geoserver log shows a lot of "WARN [geotools.xsd] - Sax parser property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit<https://urldefense.us/v3/__http:/www.oracle.com/xml/jaxp/properties/entityExpansionLimit__;!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U3suBD2Gk$>' not recognized. Xerces version is incompatible." messages. Might there be a connection to the above issue? Am I doing something wrong? Thank you and best regards Daniel _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/<https://urldefense.us/v3/__http:/www.ianturton.com/talks/foss4g.html*/__;Iw!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U30ax6iOU$> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html<https://urldefense.us/v3/__http:/geoserver.org/comm/userlist-guidelines.html__;!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U3ex845II$> If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer<https://urldefense.us/v3/__https:/github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer__;!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U36ar_7PA$> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://urldefense.us/v3/__https:/lists.sourceforge.net/lists/listinfo/geoserver-users__;!!JRQnnSFuzw7wjAKq6ti6!xRAMWzeOSsebbxo_wxj6cFXfmiFO-3sM4xWGsPrfMsT5qBzd7kGKEFExOaP0tE3YEkNfv_yLK9wPz4U3SnXkkjA$>
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users