cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Kelley <robjkel...@yahoo.com>
Subject Barf on JSPGenerator on Hello.jsp (HELP!)
Date Tue, 04 Jun 2002 19:32:45 GMT

Hi:

I'm running cocoon 2.0.2 on Tomcat  4.0.1 (Windows).  I've been trying to run the hello example
for the jsp:

http://127.0.0.1:8080/cocoon/jsp/hello

I get the same error (stack trace at end of email):

"SAXException JspGenerator.generate()" 

My sitemap entry is:

   <map:match pattern="jsp/*">
    <map:generate src="/docs/samples/jsp/{1}.jsp" type="jsp"/>
    <map:transform src="stylesheets/page/simple-page2html.xsl"/>
    <map:serialize type="html"/>
   </map:match>


My cocoon.xconf jsp-engine is:
  <jsp-engine logger="core.jsp-engine">
    <parameter name="servlet-class" value="org.apache.jasper.servlet.JspServlet"/>
    <parameter name="servlet-name" value="*.jsp"/>
  </jsp-engine>

And I'm at wit's end. How do I get JSPs to work?

Please help!

Rob

Stack Trace:
org.apache.cocoon.ProcessingException: SAXException JspGenerator.generate() 
at org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:132) 
at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:251)

at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:399)

at org.apache.cocoon.www.sitemap_xmap.matchN105B4(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:7741)

at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:3119)

at org.apache.cocoon.www.sitemap_xmap.process(C:\Program Files\Apache Tomcat 4.0\work\localhost\cocoon\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:2617)

at org.apache.cocoon.sitemap.Handler.process(Handler.java:222) 
at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) 
at org.apache.cocoon.sitemap.SitemapManager.process(SitemapManager.java:154) 
at org.apache.cocoon.Cocoon.process(Cocoon.java:575) 
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

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

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2344) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163) 
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) 
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) 
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) 
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011) 
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106) 
at java.lang.Thread.run(Unknown Source) 

 


--



---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
Mime
View raw message