Hi,
I know I wrote about this problem several times.
Also I have a section of a website 75 MB : many films...If I try to
export only this section I get a java heap space error. A following
bouncing the server doesn't brought any success. Therefore I think it
can not be only a simple heap space error problem of magnolia. If it was
a the export would works fine after a following bouncing. But the heap
space error stays.
I tried follow:
I deleted one film link in my website and tried to export my website
section again.. Success.!!!.no heap space error. Therefore I think it's
not a magnolia problem. The film link was the problem. Could it be? I
can open the film file outside the website. All right. But maybe
jackrabbit has a problem with it. Is there any opportunity to find out
the reason for this incorrect file link/node ??? Is it the file itself
or only the including in magnolia ???
Questions in the context :
1. have anybody problems to open or export websites/website-sections
with a size above 70 MB ?
2. Can an incorrect film link be the reason for a failed export?
It's very important for us to solve this problem immediately? Because we
want to go online this week. And we have to backup our website-sections
every day about a cron job.A export of all other section works
fine,only this one section cause the java heap space error.
At the moment we solve this export problem in the following way:
To backup the film section we copy only the repository files separately :
repositorypfad/version
repositorypfad/repository
repositorypfad/workspaces/website
repositorypfad/workspaces/config
It's not the best solution, but one!!
All other section we backup with the magnolia export tool.
We use magnolia 3.0.2, jackrabbit 1.3.1
<PersistenceManager
class="org.apache.jackrabbit.core.state.db.DerbyPersistenceManager">
error log after the failed export :
INFO | jvm 2 | 2007/10/15 08:41:16 | ERROR
info.magnolia.cms.servlets.MVCServletHandlerImpl
MVCServletHandlerImpl.java(execute:99) 15.10.2007 06:41:16 can't call
command: exportxml
INFO | jvm 2 | 2007/10/15 08:41:17 | java.lang.OutOfMemoryError:
Java heap space
INFO | jvm 2 | 2007/10/15 08:41:18 | 293844 [P1-18] WARN
org.mortbay.jetty.context.magnolia -
/author/.magnolia/pages/export.xml?exportxml=true&mgnlFormat=true&mgnlRepository=website&mgnlPath=/adp/service/downloads/filme&mgnlKeepVersions=false:
INFO | jvm 2 | 2007/10/15 08:41:18 |
java.lang.IllegalStateException: response.getWriter() called after
response.getOutputStream()
INFO | jvm 2 | 2007/10/15 08:41:18 | at
com.opensymphony.module.sitemesh.filter.Buffer.getWriter(Buffer.java:52)
INFO | jvm 2 | 2007/10/15 08:41:19 | at
com.opensymphony.module.sitemesh.filter.PageResponseWrapper$3.activateDestination(PageResponseWrapper.java:82)
INFO | jvm 2 | 2007/10/15 08:41:19 | at
com.opensymphony.module.sitemesh.filter.RoutablePrintWriter.getDestination(RoutablePrintWriter.java:38)
INFO | jvm 2 | 2007/10/15 08:41:19 | at
com.opensymphony.module.sitemesh.filter.RoutablePrintWriter.write(RoutablePrintWriter.java:136)
INFO | jvm 2 | 2007/10/15 08:41:20 | at
java.io.PrintWriter.write(Unknown Source)
INFO | jvm 2 | 2007/10/15 08:41:20 | at
java.io.PrintWriter.write(Unknown Source)
INFO | jvm 2 | 2007/10/15 08:41:20 | at
java.io.PrintWriter.print(Unknown Source)
INFO | jvm 2 | 2007/10/15 08:41:21 | at
java.io.PrintWriter.println(Unknown Source)
INFO | jvm 2 | 2007/10/15 08:41:21 | at
java.lang.Throwable.printStackTrace(Unknown Source)
INFO | jvm 2 | 2007/10/15 08:41:21 | at
info.magnolia.cms.util.FreeMarkerUtil.process(FreeMarkerUtil.java:136)
INFO | jvm 2 | 2007/10/15 08:41:22 | at
info.magnolia.module.admininterface.TemplatedMVCHandler.renderHtml(TemplatedMVCHandler.java:87)
INFO | jvm 2 | 2007/10/15 08:41:22 | at
info.magnolia.module.admininterface.pages.ExportPage.renderHtml(ExportPage.java:277)
INFO | jvm 2 | 2007/10/15 08:41:22 | at
info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:112)
INFO | jvm 2 | 2007/10/15 08:41:23 | at
info.magnolia.cms.servlets.MVCServlet.doGet(MVCServlet.java:48)
INFO | jvm 2 | 2007/10/15 08:41:23 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
INFO | jvm 2 | 2007/10/15 08:41:23 | at
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
INFO | jvm 2 | 2007/10/15 08:41:24 | at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
INFO | jvm 2 | 2007/10/15 08:41:24 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:830)
INFO | jvm 2 | 2007/10/15 08:41:24 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:88)
INFO | jvm 2 | 2007/10/15 08:41:25 | at
info.magnolia.cms.filters.MgnlCmsFilter.doFilter(MgnlCmsFilter.java:106)
INFO | jvm 2 | 2007/10/15 08:41:25 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:25 | at
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
INFO | jvm 2 | 2007/10/15 08:41:26 | at
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
INFO | jvm 2 | 2007/10/15 08:41:26 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:26 | at
info.magnolia.cms.cache.CacheFilter.doFilter(CacheFilter.java:96)
INFO | jvm 2 | 2007/10/15 08:41:26 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:27 | at
de.logosmedia.adp.filter.LoginFilter.doFilter(LoginFilter.java:196)
INFO | jvm 2 | 2007/10/15 08:41:27 | at
de.logosmedia.adp.filter.LoginFilter.doFilter(LoginFilter.java:130)
INFO | jvm 2 | 2007/10/15 08:41:27 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:27 | at
info.magnolia.cms.filters.MgnlInterceptFilter.doFilter(MgnlInterceptFilter.java:130)
INFO | jvm 2 | 2007/10/15 08:41:27 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:28 | at
info.magnolia.cms.filters.MgnlContextFilter.doFilter(MgnlContextFilter.java:45)
INFO | jvm 2 | 2007/10/15 08:41:28 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:28 | at
info.magnolia.cms.security.SecurityFilter.doFilter(SecurityFilter.java:101)
INFO | jvm 2 | 2007/10/15 08:41:28 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:28 | at
info.magnolia.cms.filters.MultipartRequestFilter.doFilter(MultipartRequestFilter.java:80)
INFO | jvm 2 | 2007/10/15 08:41:29 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:29 | at
info.magnolia.cms.filters.MgnlVirtualUriFilter.doFilter(MgnlVirtualUriFilter.java:83)
INFO | jvm 2 | 2007/10/15 08:41:29 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:30 | at
info.magnolia.cms.filters.ContentTypeFilter.doFilter(ContentTypeFilter.java:66)
INFO | jvm 2 | 2007/10/15 08:41:30 | at
info.magnolia.cms.filters.MagnoliaManagedFilter$CustomFilterChain.doFilter(MagnoliaManagedFilter.java:92)
INFO | jvm 2 | 2007/10/15 08:41:30 | at
info.magnolia.cms.filters.MagnoliaManagedFilter.doFilter(MagnoliaManagedFilter.java:65)
INFO | jvm 2 | 2007/10/15 08:41:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO | jvm 2 | 2007/10/15 08:41:30 | at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:471)
INFO | jvm 2 | 2007/10/15 08:41:31 | at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
INFO | jvm 2 | 2007/10/15 08:41:31 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
INFO | jvm 2 | 2007/10/15 08:41:31 | at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
INFO | jvm 2 | 2007/10/15 08:41:32 | at
org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
INFO | jvm 2 | 2007/10/15 08:41:32 | at
org.mortbay.http.HttpServer.service(HttpServer.java:909)
INFO | jvm 2 | 2007/10/15 08:41:32 | at
org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
INFO | jvm 2 | 2007/10/15 08:41:33 | at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
INFO | jvm 2 | 2007/10/15 08:41:33 | at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
INFO | jvm 2 | 2007/10/15 08:41:33 | at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
INFO | jvm 2 | 2007/10/15 08:41:33 | at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
INFO | jvm 2 | 2007/10/15 08:41:34 | at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
If anybody have similar problems or only have a idea or any mind about
this problem please let us know. Thanks to all.
Anja
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------