cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: Creating a new Transformer
Date Tue, 28 Dec 2004 15:40:04 GMT

Armaz Mellati wrote:
> Hi
> 
> I have a problem to make my Transformers to work.
> 
> Goal : Make a slightly altered CincludeTransformer
> 
> To do this I have copied the whole source of the CincludeTransformer into a
> class of my own, renamed it, compiled and added in the sitemap under the
> transformer definitions.
> When I try to use it, I get no errors, however I don't get any output
> either. I can use the new transformer in a pipeline but it just doesn't give
> any output. 
> All I get in debug.log is this : 
> 
> DEBUG   (2004-12-25) 22:10.16:181   [sitemap] (/HSPortal/testinclude)
> http-8083-Processor25/ResourceLimitingPool: Got a
> org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline from
> the pool.
> DEBUG   (2004-12-25) 22:10.16:181   [sitemap] (/HSPortal/testinclude)
> http-8083-Processor25/ResourceLimitingPool: Got a
> org.apache.cocoon.generation.FileGenerator from the pool.
> DEBUG   (2004-12-25) 22:10.16:189   [sitemap] (/HSPortal/testinclude)
> http-8083-Processor25/ResourceLimitingPool: Put a
> org.apache.cocoon.generation.FileGenerator back into the pool.
> DEBUG   (2004-12-25) 22:10.16:189   [sitemap] (/HSPortal/testinclude)
> http-8083-Processor25/ResourceLimitingPool: Put a
> org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline back
> into the pool.
> 
> As you can see, the whole process stops as soon as the Transformer is to be
> started (right after the generator). But no errors what so ever. The process
> never gets to the serializer and therefore I get no response back to the
> browser.

This smells like a case of swallowed exceptions or such. Wrap your 
transform() method in a try/catch and see if it brings you more 
information.
Also did you check error.log or any of the other logfiles ?

HTH
Jorg


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


Mime
View raw message