You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Arif Shaikh <ar...@ncgicorp.com> on 2001/02/07 16:54:33 UTC

Recuring problem - please help

Hi Everybody;

I am having problems with invoking my JSPs.
i am using Apache-Tomcat inside VisualAge for Java 3.5. the simple JSPs are working where it has to show only the html (static) content. but if any JSP needs to get something from the database it gives me the following error (i have checked in the debugger to find whether it is able to get the connection, which has no problems whatsoever).


java.lang.IllegalStateException: Response has already been committed
	java.lang.Throwable(java.lang.String)
	java.lang.Exception(java.lang.String)
	java.lang.RuntimeException(java.lang.String)
	java.lang.IllegalStateException(java.lang.String)
	void org.apache.tomcat.core.HttpServletResponseFacade.sendError(int, java.lang.String)
	void org.apache.jasper.runtime.JspServlet.unknownException(javax.servlet.http.HttpServletResponse, java.lang.Throwable)
	void org.apache.jasper.runtime.JspServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
	void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
	void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
	void org.apache.tomcat.core.RequestDispatcherImpl.forward(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
 void javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
	void javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest, javax.servlet.ServletResponse)
	void org.apache.tomcat.core.ServletWrapper.handleRequest(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
	void org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request, org.apache.tomcat.core.Response)
	void org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection, java.lang.Object [])
	void org.apache.tomcat.service.TcpConnectionThread.run()
	void java.lang.Thread.run()


i will really appreciate your help guys as i am unable to understand the origin of the problem.

Thanks
Arif Shaikh