cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schiller, Clemens" <clemens.schil...@hp.com>
Subject Upgrading from FOP 0.20.5 to 0.92 beta
Date Mon, 31 Jul 2006 14:19:11 GMT
Hello,
I am using Cocoon 2.1.
PDF Output used to witf with FOP version 0.20.5.
I need to upgrade to FOP 0.92 because I need the
"page-break-inside"-attribute.
I tried this by downloading the new FOP, replacing the JAR file in the
WEB-INF\lib\ directory and changing the sitemap entry to
<map:serializer logger="sitemap.serializer.fo2pdf"
mime-type="application/pdf" name="fo2pdf"
src="org.apache.fop.cli.Main"/>
 
This gives me an Exception (see below).

How can I upgrade the FOP correctly? What did I do wrong?

Thanks for your help.


Exception stacktrace:
java.lang.ClassCastException: $Proxy2
	at
org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.setSeri
alizer(AbstractProcessingPipeline.java:308)
	at
org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipe
line.setSerializer(AbstractCachingProcessingPipeline.java:161)
	at
org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(
SerializeNode.java:103)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:46)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.i
nvoke(PreparableMatchNode.java:130)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:68)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(P
ipelineNode.java:142)
	at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.
invokeNodes(AbstractParentProcessingNode.java:68)
	at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(
PipelinesNode.java:92)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:234)
	at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process
(ConcreteTreeProcessor.java:176)
	at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreePro
cessor.java:252)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:686)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1153)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
	at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:294)
	at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
	at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:525)
	at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
	at org.mortbay.http.HttpServer.service(HttpServer.java:879)
	at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
	at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
	at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
)
	at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
	at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
	

 


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


Mime
View raw message