tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barnett, Brian W." <bbarn...@scholarinc.com>
Subject BodyContentImpl problem
Date Wed, 16 Jun 2004 05:16:30 GMT
I recently upgraded my development environment and now my jsp pages do not
display. I get the following error:

[ServletException in:/WEB-INF/jsp/AgentList.jsp]
org.apache.jasper.runtime.BodyContentImpl.clearBody()V'

I have no idea what to even try. Here are the changes I made to the dev
environment:

Tomcat 5.0.16 to 5.0.25
Eclipse 3.0M4 to 3.0RC2
Installed Sysdeo Tomcat Eclipse plugin
Installed XMLBuddy Eclipse plugin

Running Struts 1.1, j2sdk 1.4.2-03.

The code essentially remained the same.

Does anyone have any ideas? I'm stuck here. Google didn't help.

Here is a stack trace of the error:
2004-06-15 23:24:53 ApplicationDispatcher[] Servlet.service() for servlet
jsp threw exception
java.lang.AbstractMethodError:
org.apache.jasper.runtime.BodyContentImpl.clearBody()V
	at
org.apache.jasper.runtime.BodyContentImpl.setWriter(BodyContentImpl.java:619
)
	at
org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:735)
	at
org.apache.jasper.runtime.PageContextImpl.pushBody(PageContextImpl.java:721)
	at
org.apache.jsp.WEB_002dINF.jsp.AgentList_jsp._jspx_meth_html_submit_0(AgentL
ist_jsp.java:241)
	at
org.apache.jsp.WEB_002dINF.jsp.AgentList_jsp._jspx_meth_html_form_0(AgentLis
t_jsp.java:214)
	at
org.apache.jsp.WEB_002dINF.jsp.AgentList_jsp._jspService(AgentList_jsp.java:
91)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:750)
	at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatch
er.java:636)
	at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher
.java:546)
	at
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1
002)
	at
org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:626)
	at
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:137)
	at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:177)
	at
org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:756)
	at
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja
va:881)
	at
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:473)
	at
org.apache.jsp.WEB_002dINF.jsp.common.systemLayout_jsp._jspx_meth_tiles_inse
rt_2(systemLayout_jsp.java:219)
	at
org.apache.jsp.WEB_002dINF.jsp.common.systemLayout_jsp._jspService(systemLay
out_jsp.java:110)
	at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:3
11)
	at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
	at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.
java:750)
	at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDis
patcher.java:510)
	at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatch
er.java:445)
	at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher
.java:359)
	at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:10
69)
	at
org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcesso
r.java:274)
	at
org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRe
questProcessor.java:254)
	at
org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequ
estProcessor.java:309)
	at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
	at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
	at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:126)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application
FilterChain.java:284)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh
ain.java:204)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja
va:257)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContext
Valve.java:245)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja
va:199)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase
.java:587)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:184
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164
)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:149)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java
:156)
	at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContex
t.java:151)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
	at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
	at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConne
ction(Http11Protocol.java:732)
	at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
	at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav
a:688)
	at java.lang.Thread.run(Thread.java:534)


Thanks,
Brian Barnett

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message