-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Amol,

On 4/19/12 5:32 AM, Amol Puglia wrote:
> Hello Team,
> 
> We are getting following error in tomcat. Apr 19, 2012 11:10:13 AM
> org.apache.catalina.core.StandardWrapperValve invoke SEVERE:
> Servlet.service() for servlet jsp threw exception 
> java.lang.IllegalStateException: getOutputStream() has already been
> called for this response at
> org.apache.catalina.connector.Response.getWriter(Response.java:610)
>
> 
at
org.apache.catalina.connector.ResponseFacade.getWriter(ResponseFacade.java:198)
> at
> org.apache.jasper.runtime.JspWriterImpl.initOut(JspWriterImpl.java:125)
>
> 
at org.apache.jasper.runtime.JspWriterImpl.write(JspWriterImpl.java:276)

That can't be the end of the stack trace. Post the whole thing (no
matter how long).

> Tomcat Version :- Apache Tomcat/6.0.26

That's quite old (2 years out of date at this point). You might want
to move up to the latest version to get important security fixes
(including several "Moderate" and "Important" ones) as well as bug fixes.

> Kindly provide the solution.

Briefly: don't call getOutputStream more than once ;)

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+QPGgACgkQ9CaO5/Lv0PCT6ACdGH+weJ2jJxqXVpLdyAqaqzaQ
yD0AoMO5lVOV3fND5fiypVh2i7s6hufl
=FD9+
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to