[Geoserver-users] Tomcat tuning for geoserver - Layer previews all blank

When you say blank, is the expected content missing, or are some of the normal map controls also missing? For recent releases of geoServer it seems that the system has a new/different dependency for the OpenLayers library used for preview - if you are accessing geoServer via a proxy, you will need a new path to be recognized that routes this traffic to the appropriate tomcat. I ended up adding (for apache httpd)

     ProxyPassMatch ^/openlayers3/(.*)$ ajp://localhost:8009/geoserver/openlayers3/$1

I'm not sure if this is a bug in geoServer (Windows builds), or some other underlying change (tomcat, ....), but either the system is now expecting a distinct (root dir) install of openlayers, or part of the path was omitted by geoserver in its calls. I haven't checked this for direct tomcat use (no proxy), but suspect even there the shortened path will cause issues.

Hi Tom,

It's only the expected content that's missing, the normal map controls are here.
I try with a SHP to see if the problem comes from my PostGis data

-----Message d'origine-----
De : Tom S [mailto:tom-sourceforge@anonymised.com]
Envoyé : vendredi 30 octobre 2015 17:24
À : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Tomcat tuning for geoserver - Layer previews all blank

When you say blank, is the expected content missing, or are some of the normal map controls also missing? For recent releases of geoServer it seems that the system has a new/different dependency for the OpenLayers library used for preview - if you are accessing geoServer via a proxy, you will need a new path to be recognized that routes this traffic to the appropriate tomcat. I ended up adding (for apache httpd)

     ProxyPassMatch ^/openlayers3/(.*)$
ajp://localhost:8009/geoserver/openlayers3/$1

I'm not sure if this is a bug in geoServer (Windows builds), or some other underlying change (tomcat, ....), but either the system is now expecting a distinct (root dir) install of openlayers, or part of the path was omitted by geoserver in its calls. I haven't checked this for direct tomcat use (no proxy), but suspect even there the shortened path will cause issues.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

I don't understand, I created a new layer with a very ligth SHP (1ko) and got this message when I wanted to preview on geoserver with openlayers :

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:8180/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd&quot;&gt; <ServiceExceptionReport version="1.1.1" > <ServiceException>
      java.lang.OutOfMemoryError: PermGen space
PermGen space
</ServiceException></ServiceExceptionReport>

-----Message d'origine-----
De : Maxence MELIN [mailto:maxence.melin@anonymised.com]
Envoyé : vendredi 30 octobre 2015 17:33
À : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Tomcat tuning for geoserver - Layer previews all blank

Hi Tom,

It's only the expected content that's missing, the normal map controls are here.
I try with a SHP to see if the problem comes from my PostGis data

-----Message d'origine-----
De : Tom S [mailto:tom-sourceforge@anonymised.com]
Envoyé : vendredi 30 octobre 2015 17:24
À : geoserver-users@lists.sourceforge.net
Objet : Re: [Geoserver-users] Tomcat tuning for geoserver - Layer previews all blank

When you say blank, is the expected content missing, or are some of the normal map controls also missing? For recent releases of geoServer it seems that the system has a new/different dependency for the OpenLayers library used for preview - if you are accessing geoServer via a proxy, you will need a new path to be recognized that routes this traffic to the appropriate tomcat. I ended up adding (for apache httpd)

     ProxyPassMatch ^/openlayers3/(.*)$
ajp://localhost:8009/geoserver/openlayers3/$1

I'm not sure if this is a bug in geoServer (Windows builds), or some other underlying change (tomcat, ....), but either the system is now expecting a distinct (root dir) install of openlayers, or part of the path was omitted by geoserver in its calls. I haven't checked this for direct tomcat use (no proxy), but suspect even there the shortened path will cause issues.

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users