[Geoserver-devel] [jira] Created: (GEOS-292) Dispatcher servlet not working for WFS under Tomcat 5.5.7

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/GEOS-292

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: GEOS-292
    Summary: Dispatcher servlet not working for WFS under Tomcat 5.5.7
       Type: Bug

     Status: Open
   Priority: Minor

Original Estimate: 1 day
Time Spent: Unknown
  Remaining: 1 day

    Project: GeoServer
Components:
             WFS
   Versions:
             1.2.5

   Assignee: Chris Holmes
   Reporter: Craig E. Oaks

    Created: Fri, 18 Feb 2005 4:17 PM
    Updated: Fri, 18 Feb 2005 4:17 PM
Environment: Geoserver 1.2.4, Tomcat 5.5.7, Java 1.5, WinXP

Description:
The Geoserver Dispatcher servlet is not working for WFS under Tomcat 5.5.7. This bug only occurs when performing XML requests and does not occur during KVP requests. I have tried both replacing and removing xalan.jar and have also reproduced the error under Java 1.4.2_07. (Note that a GeoServer install using Jetty in the same environment does not encounter this issue).

For example, an XML request of: http://someserver:8080/geoserver/wfs/GetFeature will return a valid GML response; however, a request of http://someserver:8080/geoserver/wfs (/GetFeature omitted) returns the following Tomcat 500 Server Error:

HTTP Status 500 -

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

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

java.lang.IllegalStateException: getOutputStream() has already been called for this response
  org.apache.catalina.connector.Response.getWriter(Response.java:596)
  org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:186)
  org.vfny.geoserver.servlets.wfs.TestWfsPost.processRequest(TestWfsPost.java:231)
  org.vfny.geoserver.servlets.wfs.TestWfsPost.doPost(TestWfsPost.java:72)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

note The full stack trace of the root cause is available in the Apache Tomcat/5.5.7 logs.

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

Apache Tomcat/5.5.7

Thanks for your help!

---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira