cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tolga tunca <tolgatoo...@yahoo.com>
Subject How can I configure Cocoon2 to run my JSP's ?
Date Fri, 21 Jun 2002 17:19:23 GMT
I am using  Tomcat 4.0.1 , Cocoon 2.0.2 . 
I have my JSP's, they generate valid XML's. But I
couldn't see them working with C2.
I tried the JSP Generator and JSP Reader examples of
C2 but they didn't work too.
I put the error message below, maybe it will be
helpful.
Any help would be appreciated.
  
  
--------------------------
--------------------------
 An error occurred
 The org.apache.cocoon.www.sitemap_xmap notifies that
 org.apache.cocoon.ProcessingException says:
 Exception JspGenerator.generate()
 More precisely:
 org.apache.cocoon.ProcessingException: Exception
 JspGenerator.generate():
 java.lang.ClassCastException:
 org.apache.xerces.jaxp.DocumentBuilderFactoryImpl 3
 
 ----------
  
> extra info
>  
> Original exception : java.lang.ClassCastException:
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> at
>
javax.xml.parsers.DocumentBuilderFactory.newInstance(DocumentBuilderFactory.java:103)
> at
>
org.apache.jasper.parser.ParserUtils.parseXMLDocument(ParserUtils.java:183)
> at
>
org.apache.jasper.compiler.TldLocationsCache.processWebDotXml(TldLocationsCache.java:165)
> at
>
org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:138)
> at
>
org.apache.jasper.EmbededServletOptions.<init>(EmbededServletOptions.java:324)
> at
>
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:266)
> at
>
org.apache.cocoon.components.jsp.JSPEngineImpl.executeJSP(JSPEngineImpl.java:121)
> at
>
org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:116)
> 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.matchN10790(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:9472)
> at
>
org.apache.cocoon.www.sitemap_xmap.process(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3667)
> at
>
org.apache.cocoon.www.sitemap_xmap.process(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3097)
> 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.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 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.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(Thread.java:536)
> ------
>  
> stacktrace
>  
> org.apache.cocoon.ProcessingException: Exception
> JspGenerator.generate():
> java.lang.ClassCastException:
> org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> at
>
org.apache.cocoon.generation.JspGenerator.generate(JspGenerator.java:140)
> 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.matchN10790(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:9472)
> at
>
org.apache.cocoon.www.sitemap_xmap.process(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3667)
> at
>
org.apache.cocoon.www.sitemap_xmap.process(/usr/local/tomcat/work/localhost/cocoon/cocoon-files/org/apache/cocoon/www/sitemap_xmap.java:3097)
> 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.valves.CertificatesValve.invoke(CertificatesValve.java:246)
> 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.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)
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message