thanks for your response. Good to know. Maybe this should be documented in the Geofence-extension docs.
···
**Paul Biskup**
Head of Business Geo Intelligence
BGI
Fichtner IT Consulting GmbH
Sarweystraße 3
70191 Stuttgart
Germany
Telefon
|
+49 (711) 8995 1453
|
Mobil
|
+49 (151) 1623 1453
|
E-mail
|
Paul.Biskup@…3654…
|
Fichtner IT Consulting GmbH
Sarweystr. 3, 70191 Stuttgart, Germany
Amtsgericht Stuttgart HRB 761846
Board of Directors
Andreas Höfler (Chairman), Dr. Albrecht Reuter
www.fit.fichtner.de
[](https://www.fichtner.de)
Erklärungen der Fichtner IT Consulting GmbH, die per E-Mail übermittelt werden, sind nur im Falle schriftlicher Bestätigung rechtsverbindlich.
Bitte achten Sie auf die Umwelt, drucken Sie nur bei Bedarf.
Von: Emanuele Tajariol <emanuele.tajariol@…6887…>
Gesendet: Donnerstag, 23. März 2023 10:34
An: Biskup, Paul <Paul.Biskup@…3654…>
Cc: geoserver-devel@lists.sourceforge.net
Betreff: Re: [Geoserver-devel] GWC-page shown instead of redirect to geoserver/web when using Geofence-extension
ADVICE: This email is from an external source - be careful of attachments and links.
Hi Paul,
adding -Dgwc.context.suffix=gwc to the GeoServer JAVA_OPTS is the way to go.
There are some issues about how spring deals with properties, mixing geofence and gwc ones, so the java opt is part of the whole configuration at the moment more than just a workaround.
Cheers,
Emanuele
On Wed, Mar 22, 2023 at 8:24 PM Biskup, Paul <Paul.Biskup@…3654…> wrote:
Hi,
after updating the GeoServer to 2.22.2 an old error (https://osgeo-org.atlassian.net/browse/GEOS-8331) returned, when using GWC with the Geofence extension.
When I try to open http://localhost:8080/geoserver the site is not redirected to http://localhost:8080/geoserver/web. Instead the GWC-page is shown.
Trying to access http://localhost:8080/geoserver/gwc returns an 404-exception.
Adding “gwc.context.suffix=gwc“ in the “geofence-server.properties” as proposed here https://gis.stackexchange.com/questions/408565/geoserver-homepage-is-showing-geowebcache-homepage, doesn’t fix the issue.
I found a workaround by adding -Dgwc.context.suffix=gwc to the JavaOpts (solution proposed here: https://github.com/geoserver/geofence/issues/235).
Best regards,
Paul
Paul Biskup
Head of Business Geo Intelligence
BGI
Fichtner IT Consulting GmbH
Sarweystraße 3
70191 Stuttgart
Germany
Fichtner IT Consulting GmbH
Sarweystr. 3, 70191 Stuttgart, Germany
Amtsgericht Stuttgart HRB 761846
Board of Directors
Andreas Höfler (Chairman), Dr. Albrecht Reuter
www.fit.fichtner.de
Erklärungen der Fichtner IT Consulting GmbH, die per E-Mail übermittelt werden, sind nur im Falle schriftlicher Bestätigung rechtsverbindlich.
Bitte achten Sie auf die Umwelt, drucken Sie nur bei Bedarf.
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
–
Regards,
Emanuele Tajariol
==
GeoServer Professional Services from the experts!
Visit http://bit.ly/gs-services-us for more information.
==
Ing. Emanuele Tajariol
Technical Lead
GeoSolutions Group
mobile: +39 347 7895230
office: +39 0584 962313
fax: +39 0584 1660272
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.