[Geoserver-users] Odd response to OpenLayers request for a tile from GeoServer?

I’m seeing a weird response for tile requests from OpenLayers from my GeoServer install. Using Fiddler it appears there is an additional 4cb in front of the GIF89a when requesting a tile.

Here is a very basic request with the appropriate layers and styles defined and request similar to what is provided in the
http://docs.codehaus.org/display/GEOSDOC/Geoserver+and+Google+SLDs tutorial. Exact same parameters specified with the sigma site
will produce the correct content-type while I get a text response back of 4cbGIF89a from my server

I’m attempting to run the GeoServer.war within my application server.

Any help would be great since I’m pretty stuck at this point.

Strange one... do you see the same behavior with png?

-Justin

Samuel Doyle wrote:

I'm seeing a weird response for tile requests from OpenLayers from my
GeoServer install. Using Fiddler it appears there is an additional 4cb
in front of the GIF89a when requesting a tile.

Here is a very basic request with the appropriate layers and styles
defined and request similar to what is provided in the
http://docs.codehaus.org/display/GEOSDOC/Geoserver+and+Google+SLDs
tutorial. Exact same parameters specified with the sigma site
will produce the correct content-type while I get a text response back
of 4cbGIF89a from my server

I'm attempting to run the GeoServer.war within my application server.

Any help would be great since I'm pretty stuck at this point.

<html>
<head>

</head>
<body>
  <div style="width:100%; height:100%" id="map"></div>
  <script defer="defer" type="text/javascript">
    var map = new OpenLayers.Map('map');
    var gs_all_wms = new OpenLayers.Layer.WMS( "Google",
        // "http://sigma.openplans.org:3128/geoserver/wms?&quot;,
        "http://midtown:8080/geoserver/wms?&quot;,
        {
          layers:
'topp:poly_landmarks,topp:water_polygon,topp:roads,topp:major_roads',
          transparent: 'TRUE',
          BGCOLOR: '0xFFFFFF',
          styles:
'freemap_open_space,freemap_water,freemap_roads,freemap_major_roads',
          format: 'image/gif'
        } );
    map.addLayer(gs_all_wms);
    map.zoomToMaxExtent();
  </script>
</body>
</html>

!DSPAM:4007,4664e528279207180515871!

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

!DSPAM:4007,4664e528279207180515871!

------------------------------------------------------------------------

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

!DSPAM:4007,4664e528279207180515871!

--
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Ciao Samuel,
can you please provide some details about the platforms you are working on?

Did you install ImageIO yourself or you are relying on the one shipped
with geoserver?

Ciao,
Simone.

On 6/5/07, Samuel Doyle <sdoyle_2@anonymised.com> wrote:

I'm seeing a weird response for tile requests from OpenLayers from my
GeoServer install. Using Fiddler it appears there is an additional 4cb in
front of the GIF89a when requesting a tile.

Here is a very basic request with the appropriate layers and styles defined
and request similar to what is provided in the
http://docs.codehaus.org/display/GEOSDOC/Geoserver+and+Google+SLDs
tutorial. Exact same parameters specified with the sigma site
will produce the correct content-type while I get a text response back of
4cbGIF89a from my server

I'm attempting to run the GeoServer.war within my application server.

Any help would be great since I'm pretty stuck at this point.

<html>
<head>

</head>
<body>
  <div style="width:100%; height:100%" id="map"></div>
  <script defer="defer" type="text/javascript">
    var map = new OpenLayers.Map('map');
    var gs_all_wms = new OpenLayers.Layer.WMS( "Google",
        //
"http://sigma.openplans.org:3128/geoserver/wms?&quot;,
        "http://midtown:8080/geoserver/wms?&quot;,
        {
          layers:
'topp:poly_landmarks,topp:water_polygon,topp:roads,topp:major_roads',
          transparent: 'TRUE',
          BGCOLOR: '0xFFFFFF',
          styles:
'freemap_open_space,freemap_water,freemap_roads,freemap_major_roads',
          format: 'image/gif'
        } );
    map.addLayer(gs_all_wms);
    map.zoomToMaxExtent();
  </script>
</body>
</html>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
-------------------------------------------------------
Eng. Simone Giannecchini
President /CEO GeoSolutions

http://www.geo-solutions.it

-------------------------------------------------------

Samuel Doyle ha scritto:

I'm seeing a weird response for tile requests from OpenLayers from my GeoServer install. Using Fiddler it appears there is an additional 4cb in front of the GIF89a when requesting a tile.

This is really weird. We can't reproduce it.
We tested both on Linux and on Windows. May it be an operating system thing, or a setting in the container?

Cheers
Andrea