cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Reiss <d.re...@tu-bs.de>
Subject jsp:include and JSP-Reader (IllegalStateExc.)
Date Thu, 09 Dec 2004 00:58:21 GMT
Hello,

I have a jsp-file (read using JSP-Reader) that includes another jsp-file using
<jsp:include>. 

This should be dynamically evaluated as it is in Tomcat alone, but what I get 
is an IllegalStateException with the attached stacktrace.

I use Cocoon 2.1.4 running as webapp in Tomcat 5.5.4.

Any help would be appreciated.

Thanks in advance,

Cheers,
Dirk

PS: attached stacktrace

Original Exception: java.lang.IllegalStateException
         at 
org.apache.jasper.runtime.ServletResponseWrapperInclude.getOutputStream(ServletResponseWrapperInclude.java:62)


         at 
org.apache.cocoon.servlet.CocoonServlet.manageException(CocoonServlet.java:1269) 

         at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1158)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)


         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)


         at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:674) 

         at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:576) 

         at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:501) 

         at 
org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:966) 

         at 
org.apache.jsp.smartframe.smartapps.base.jsp.base_if_jsp._jspService(org.apache.jsp.smartframe.smartapps.base.jsp.base_if_jsp:45)


         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325) 

         at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at 
org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.java:109) 

         at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 

         at java.lang.reflect.Method.invoke(Method.java:324)
         at 
org.apache.avalon.excalibur.component.ComponentProxyGenerator$ComponentInvocationHandler.invoke(ComponentProxyGenerator.java:182)


         at $Proxy3.executeJSP(Unknown Source)
         at org.apache.cocoon.reading.JSPReader.generate(JSPReader.java:141)
         at 
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processReader(AbstractCachingProcessingPipeline.java:819)


         at 
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:522)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:119) 

         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)


         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)


         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)


         at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371) 

         at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312) 

         at 
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:133) 

         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:165)


         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:162)


         at 
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:107)


         at 
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:136)


         at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:371) 

         at 
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:312) 

         at org.apache.cocoon.Cocoon.process(Cocoon.java:656)
         at 
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1112)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)


         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)


         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) 

         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 

         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 

         at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)


         at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526) 

         at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)


         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) 

         at java.lang.Thread.run(Thread.java:534)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message