Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.1.1
-
Fix Version/s: None
-
Component/s: WMS
-
Labels:None
-
Environment:Solaris, Java 1.6, Apache 2 with mod_proxy and gzip compression of pages served and reverse proxy to
Tomcat 6 at back end.
We use the Geoserver Reverse Proxy filter because we use apache with modProxy and reverse proxy.
-
Number of attachments :
Description
Using geoserver 2.1.1 with ReverseProxyFilter=true and GZIP compression filter commented out (*note)
in web.xml we get problem with javascript files (e.g OpenLayers.js) being truncated on last line.
As a result the Open Layers map preview doesn't work, just get frame with no map.
To see issue go to http://www.metoc.gov.au/geoserver, click layer preview and
select open layers link for layer ran:beach_temp.
To see the problem with javascript files run this URL:
http://www.metoc.gov.au/geoserver/openlayers/OpenLayers.js
Javascript will display in browser scroll right to end
and notice how its chopped off.
Also try this URL:
http://www.metoc.gov.au/geoserver/web/resources/org.geoserver.web.GeoServerBasePage/js/jquery.inline-info.js
Notice unmatched curly brace { at end, again file is truncated.
Interestingly this problem goes away by switching the geoserver GZIP compression
back on and all else the same i.e ReverseProxyFilter=ON and Apache compression=ON
*note - related issue is GEOT-4756 - double gzip problem. Workaround for this issue was for us to
switch off the geoserver GZIP compression filter. However this appears to have caused the issue reported
here with the Javascript.
Thanks and Regards,
Andrew
Adding Gabriel and David, the original authors of the reverse proxy filter, and gzip compression filter, respectively. They might have a clue