Javascript is truncated with ReverseProxyFilter=true, Geoserver GZIP 
compression=OFF
------------------------------------------------------------------------------------

                 Key: GEOS-4787
                 URL: https://jira.codehaus.org/browse/GEOS-4787
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.1.1
         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.
            Reporter: Andrew Walsh
            Assignee: Andrea Aime


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


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to