Hi Daniel, I've tested with the official GeoServer docker image, the preview works fine:
> docker pull docker.osgeo.org/geoserver:2.25.0 > docker run -it -p8080:8080 docker.osgeo.org/geoserver:2.25.0 [image: image.png] The "binary package" is also working fine for me. In neither case did I had to set up an allowlist... 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 On Tue, Apr 23, 2024 at 1:12 PM Calliess Daniel Ing. < 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> > *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 and www.w3.org which are in the default > list of allowed domains for entity expansion according to the > documentation > <https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities> > . > > > > The geoserver log shows a lot of "WARN [geotools.xsd] - Sax parser > property 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' > 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#/ > - 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 >
_______________________________________________ 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