cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lehtonen, Mika" <m...@digikartta.net>
Subject Re: Newer FOP to Cocoon 2.1.11
Date Mon, 18 Feb 2008 11:17:29 GMT
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
the new fop worked perfectly till I tried to plot a pdf with a huge
raster in it. After that I haven't been able to use it. I get this
error even if I restart the Tomacat or boot the whole server. Any idea
what is causing this malfunction?<br>
<br>
reg. mika<br>
<br>
<h1>HTTP Status 500 - </h1>
<hr noshade="noshade" size="1">
<p><b>type</b> Exception report</p>
<p><b>message</b> </p>
<p><b>description</b> <u>The server encountered an internal error
()
that prevented it from fulfilling this request.</u></p>
<p><b>exception</b> </p>
<pre>javax.servlet.ServletException: Servlet execution threw an exception
</pre>
<p><b>root cause</b> </p>
<pre>java.lang.OutOfMemoryError: PermGen space
	java.lang.ClassLoader.defineClass1(Native Method)
	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
	org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817)
	org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325)
	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204)
	java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
	org.apache.fop.image.analyser.ImageReaderFactory.&lt;clinit&gt;(ImageReaderFactory.java:57)
	org.apache.fop.image.ImageFactory.loadImage(ImageFactory.java:220)
	org.apache.fop.image.ImageLoader.loadImage(ImageLoader.java:56)
	org.apache.fop.image.ContextImageCache.getImage(ImageFactory.java:432)
	org.apache.fop.image.ImageFactory.getImage(ImageFactory.java:157)
	org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:70)
	org.apache.fop.fo.FObj.processNode(FObj.java:125)
	org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:320)
	org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185)
	org.apache.cocoon.xml.AbstractXMLPipe.startElement(AbstractXMLPipe.java:95)
	org.apache.xml.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:206)
	org.apache.xml.serializer.ToSAXHandler.flushPending(ToSAXHandler.java:279)
	org.apache.xml.serializer.ToXMLSAXHandler.endElement(ToXMLSAXHandler.java:245)
	org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1401)
	org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
	org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
	org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
	org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
	org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
	org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
	org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
	org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
	org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(TransformerImpl.java:2400)
	org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java:1376)
</pre>
<p><b>note</b> <u>The full stack trace of the root cause is available
in the Apache Tomcat/6.0.14 logs.</u></p>
<br>
<br>
Kai M&uuml;tz kirjoitti:
<blockquote cite="mid:IGEGJBGDBKJHILGCKKHLEEJLCFAA.kmuetz@web.de"
 type="cite">
  <pre wrap="">Lehtonen, Mika &lt;&gt; wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Superb!

..but still too complicated for me, I'm afraid.

Could you be more specific on compling part? I tried to compile that
code with javac (1.6.0_04) and got 73 errors. Then I "stole" the
    </pre>
  </blockquote>
  <pre wrap=""><!---->
You have to compile it with the cocoon 2.1.11 libs in classpath. This should
work. I haven't tried it with java 1.6.

You need at least the following libs in classpath:
fop.jar;
cocoon-2.1.11.jar;
avalon-framework-api-4.3.jar;
avalon-framework-impl-4.3.jar;
avalon-logkit-2.1.jar;
excalibur-sourceresolve-2.1.jar;
excalibur-xmlutil-2.1.jar;
excalibur-pool-api-2.1.jar;
commons-lang-2.3.jar

Regards, Kai


---------------------------------------------------------------------
To unsubscribe, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@cocoon.apache.org">users-unsubscribe@cocoon.apache.org</a>
For additional commands, e-mail: <a class="moz-txt-link-abbreviated" href="mailto:users-help@cocoon.apache.org">users-help@cocoon.apache.org</a>
  </pre>
</blockquote>
<br>
</body>
</html>

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


Mime
View raw message