cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerzy Kut" <jer...@rzeszow.tiger.com.pl>
Subject Re: about transform error or others
Date Sat, 18 May 2002 10:30:48 GMT
What is the difference between greeting2.xsp and greeting3.xsp? Could You send xsps and xslt
(pure and logicsheet) assigned with them?
Try to disable one of transformers and trace it then. Or serialize to xml and look at result.
Regards
Jerzy Kut
  ----- Original Message ----- 
  From: ml 
  To: cocoon-users@xml.apache.org 
  Sent: Saturday, May 18, 2002 8:47 AM
  Subject: about transform error or others


  hi, everyone
  I'm using cocoon2.0
  I just test the sample as the tutorial of G:\jakarta\src\cocoon-2.0\docs\userdocs\xsp\logicsheet.html
  the following is my sitemap.xmap configure
  $COCOON/sitemap.xmap
  <map:pipeline>
     <map:match pattern="luna/**">
      <map:mount uri-prefix="luna" src="luna/" check-reload="yes"/>
     </map:match>
  </map:pipeline>
   
  $COCOON/luna/sitemap.xmap
  <map:match pattern="greeting.xml">
      <map:generate src="greeting.xml"/>
      <map:transform src="stylesheets/greeting.xsl"/>
      <map:serialize/>
     </map:match>
  <map:match pattern="greeting2.xsp">
      <map:generate type="serverpages" src="greeting2.xsp"/>
      <map:transform src="stylesheets/greeting.xsl"/>
      <map:serialize />
  </map:match>
  <map:match pattern="greeting3.xsp">
      <map:generate type="serverpages" src="greeting3.xsp"/>
      <map:transform src="stylesheets/logicsheet.greeting.xsl"/>
      <map:transform src="stylesheets/greeting.xsl"/>
      <map:serialize />
  </map:match>

  my files structor 
  $COCOON/luna/greeting.xml
  $COCOON/luna/greeting2.xsp
  $COCOON/luna/greeting3.xsp
  $COCOON/luna/stylesheets/logicsheet.greeting.xsl
  $COCOON/luna/stylesheets/greeting.xsl

  in the client, the greeting.xml and greeting2.xsp is correct, but when I get greeting3.xsp,
the following exception throwed: 
  could you help me to resolve it? and how to configure logicsheet of mine in cocoon2? thanx

       Failed to execute pipeline. 
        details 
        from  
        source org.apache.cocoon.ProcessingException 
        description org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException:
Problem in getTransformer:Error in creating Transform Handler 
        extra info 
       org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException:
Problem in getTransformer:Error in creating Transform Handler
       
       org.apache.cocoon.ProcessingException: Failed to execute pipeline.: java.lang.RuntimeException:
Problem in getTransformer:Error in creating Transform Handler
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:374)
	at org.apache.cocoon.www.luna.sitemap_xmap.wildcardMatchN40003A(sitemap_xmap.java:708)
	at org.apache.cocoon.www.luna.sitemap_xmap.process(sitemap_xmap.java:360)
	at org.apache.cocoon.www.luna.sitemap_xmap.process(sitemap_xmap.java:308)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN40023E(sitemap_xmap.java:3402)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2627)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2462)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
	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(Thread.java:484)
java.lang.RuntimeException: Problem in getTransformer:Error in creating Transform Handler
	at org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTransformer.java:279)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.connectPipeline(CachingEventPipeline.java:332)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:206)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:359)
	at org.apache.cocoon.www.luna.sitemap_xmap.wildcardMatchN40003A(sitemap_xmap.java:708)
	at org.apache.cocoon.www.luna.sitemap_xmap.process(sitemap_xmap.java:360)
	at org.apache.cocoon.www.luna.sitemap_xmap.process(sitemap_xmap.java:308)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN40023E(sitemap_xmap.java:3402)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2627)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2462)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
	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(Thread.java:484)

       
       Original exception : java.lang.RuntimeException: Problem in getTransformer:Error in
creating Transform Handler
	at org.apache.cocoon.transformation.TraxTransformer.setConsumer(TraxTransformer.java:279)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.connectPipeline(CachingEventPipeline.java:332)
	at org.apache.cocoon.components.pipeline.CachingEventPipeline.process(CachingEventPipeline.java:206)
	at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:359)
	at org.apache.cocoon.www.luna.sitemap_xmap.wildcardMatchN40003A(sitemap_xmap.java:708)
	at org.apache.cocoon.www.luna.sitemap_xmap.process(sitemap_xmap.java:360)
	at org.apache.cocoon.www.luna.sitemap_xmap.process(sitemap_xmap.java:308)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.www.sitemap_xmap.wildcardMatchN40023E(sitemap_xmap.java:3402)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2627)
	at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:2462)
	at org.apache.cocoon.sitemap.Handler.process(Handler.java:163)
	at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:114)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:514)
	at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:647)
	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(Thread.java:484)
       

  _________________________________________
  M L

  Tel#:010-62580066-608
  Fax#:010-62578544
  _________________________________________ 


Mime
View raw message