[Geoserver-users] WARNing in logs..

hi everybody !

Could somebodt explain this warning in the logs ?
Is it due to a misconfiguration of struts ?

2009-05-04 11:27:17,504 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;set=UTF-8; set to: text/html; url was: http://xxx.yy/geoserver/admin/loadFromXML.do

Thanks

Hi Sébastien,

This is happening more or less because some code in geoserver is first grabbing the output stream to write to, writing to it, and then setting the mime type after the fact.

Looking at the code it is not immediately evident where this happens. I would have to debug to get more info.

The warning is emitted by the gzip compression filter which surrounds all requests. David (the author) may have more relevant info.

-Justin

Sébastien Geindre wrote:

hi everybody !

Could somebodt explain this warning in the logs ?
Is it due to a misconfiguration of struts ?

2009-05-04 11:27:17,504 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;set=UTF-8; set to: text/html; url was: http://xxx.yy/geoserver/admin/loadFromXML.do

Thanks

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

I added this error message during the development process while seeing
some strange behavior from struts. As far as I know, this late setting
of the mimetype does not cause any problems, so I wouldn't have any
problem with raising the log level for this message to FINE or FINER (or
just removing it entirely).

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, 2009-05-04 at 11:36 -0600, Justin Deoliveira wrote:

Hi Sébastien,

This is happening more or less because some code in geoserver is first
grabbing the output stream to write to, writing to it, and then setting
the mime type after the fact.

Looking at the code it is not immediately evident where this happens. I
would have to debug to get more info.

The warning is emitted by the gzip compression filter which surrounds
all requests. David (the author) may have more relevant info.

-Justin

Sébastien Geindre wrote:
> hi everybody !
>
> Could somebodt explain this warning in the logs ?
> Is it due to a misconfiguration of struts ?
>
> 2009-05-04 11:27:17,504 WARN [geoserver.filters] - Setting mimetype
> after acquiring stream! was:text/html;set=UTF-8; set to: text/html; url
> was: http://xxx.yy/geoserver/admin/loadFromXML.do
>
> Thanks
>
>
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations
> Conference from O'Reilly Media. Velocity features a full day of
> expert-led, hands-on workshops and two days of sessions from industry
> leaders in dedicated Performance & Operations tracks. Use code vel09scf
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

OK, thanks for the answers !

David Winslow a écrit :

I added this error message during the development process while seeing
some strange behavior from struts. As far as I know, this late setting
of the mimetype does not cause any problems, so I wouldn't have any
problem with raising the log level for this message to FINE or FINER (or
just removing it entirely).

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, 2009-05-04 at 11:36 -0600, Justin Deoliveira wrote:
  

Hi Sébastien,

This is happening more or less because some code in geoserver is first grabbing the output stream to write to, writing to it, and then setting the mime type after the fact.

Looking at the code it is not immediately evident where this happens. I would have to debug to get more info.

The warning is emitted by the gzip compression filter which surrounds all requests. David (the author) may have more relevant info.

-Justin

Sébastien Geindre wrote:
    

hi everybody !

Could somebodt explain this warning in the logs ?
Is it due to a misconfiguration of struts ?

2009-05-04 11:27:17,504 WARN [geoserver.filters] - Setting mimetype after acquiring stream! was:text/html;set=UTF-8; set to: text/html; url was: http://xxx.yy/geoserver/admin/loadFromXML.do

Thanks

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users