cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Gruber <Gabriel.Gru...@workflow.at>
Subject Re: Servlet.service() for servlet Cocoon threw exception
Date Wed, 04 Oct 2006 12:17:57 GMT
Hi
just adjust the heap space of your Tomcat:

f.i. to set heapspace to 512MB
CATALINA_OPTS=-Xmx512M

cheers,
Gabriel




news@swisslab.de 
04.10.2006 13:45
Please respond to
users@cocoon.apache.org


To
"'users@cocoon.apache.org'" <users@cocoon.apache.org>
cc

Subject
Servlet.service() for servlet Cocoon threw exception






Hello List,
 
I've Cocoon running with Tomcat 5.5. Cocoon only deploys PDF files 
generated with FOP using the fo2pdf serializer.
Between 1000 and 2000 deployed PDF files the errer shows up. Cocoon is 
still running, and able to deploy everything else than PDF files. For 
instance, the xml serializer is till working. But fo2pdf only is working 
again after shutting down the server.
The errormessage:
 
WARN! *** JMS block is installed but jms client library not found. ***
- For the jms block to work you must install and start a JMS server and 
place the client jar in WEB-INF/lib.
- The default server, OpenJMS is configured in cocoon.xconf but is not 
bundled with Cocoon.
org.apache.excalibur.source.SourceNotFoundException: 
file:/C:/Programme/Apache Software Foundation/Tomcat 
5.5/webapps/cocoon/samples/blocks/portal/tools/conf.xml doesn't exist.
 at 
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:150)
 at 
org.apache.cocoon.portal.tools.PortalToolManager.parameterize(PortalToolManager.java:97)
 at 
org.apache.avalon.framework.container.ContainerUtil.parameterize(ContainerUtil.java:267)
 at 
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:274)
 at 
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:108)
 at 
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(ExcaliburComponentManager.java:522)
 at 
org.apache.cocoon.components.CocoonComponentManager.initialize(CocoonComponentManager.java:561)
 at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
 at org.apache.cocoon.Cocoon.initialize(Cocoon.java:282)
 at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:283)
 at 
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1391)
 at org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:481)
 at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
 at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
 at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
 at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
 at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
 at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
 at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
 at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:894)
 at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:857)
 at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:475)
 at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
 at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
 at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
 at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
 at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
 at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
 at 
org.apache.catalina.core.StandardService.start(StandardService.java:450)
 at org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
 at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
 at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
Caused by: java.io.FileNotFoundException: C:\Programme\Apache Software 
Foundation\Tomcat 5.5\webapps\cocoon\samples\blocks\portal\tools\conf.xml 
(Das System kann den angegebenen Pfad nicht finden)
 at java.io.FileInputStream.open(Native Method)
 at java.io.FileInputStream.<init>(Unknown Source)
 at 
org.apache.excalibur.source.impl.FileSource.getInputStream(FileSource.java:146)
 ... 37 more
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
- Servlet.service() for servlet Cocoon threw exception
java.lang.OutOfMemoryError: Java heap space
 
What could that be?
 
thanks

Mime
View raw message