[Geoserver-users] Deploy geoserver on Tomcat

Hi,
I’m using geoserver 1.3.
I have deployed Geoserver on Tomcat 5.5.15. Everythings are OK, but just WFS requests have some problems.
When I use the “demoRequest” function, all the Wms requests are OK (it’s in Http GET) but all Wfs request fail.
Ex: I use Wfs_getFeature.xml file, the error as below happen:

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:606)   org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:195)   org.vfny.geoserver.wfs.servlets.TestWfsPost.processRequest(TestWfsPost.java:236)   org.vfny.geoserver.wfs.servlets.TestWfsPost.doPost(TestWfsPost.java:68)   javax.servlet.http.HttpServlet.service(HttpServlet.java:709)   javax.servlet.http.HttpServlet.service(HttpServlet.java:802)   org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:122)  

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

I have tried to use the same request on the page http://globus.hiof.no/geoserver/wfs/TestWfsPost ( geoserver is also deployed on Tomcat 5.5.15) and everythings are perfect.

Can you tell me how to solve this problem!
This is very important with me!
Thanks for your help,
Hung.


Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.