Issue

You use packutil.jar to migrate your content. When you try to create and download a package, the download stops with an exception similar to the following:

24.10.2007 16:04:59 *ERROR* delivery: Unhandled Exception: java.lang.IllegalStateException: OutputStream already obtained

24.10.2007 16:04:59 *ERROR* delivery: popOutput: Problem closing the output: Broken pipe

The server.log shows:

24.10.2007 16:04:59 *MARK * servletengine: Servlet threw exception: java.lang.IllegalStateException: OutputStream already obtained at com.day.cq.delivery.OutputStack.createWriter(OutputStack.java:285) at com.day.cq.delivery.DeliveryHttpServletResponseImpl.getWriter(DeliveryHttpServletResponseImpl.java:380) at com.day.jasper40.runtime.JspWriterImpl.initOut(Unknown Source) at com.day.jasper40.runtime.JspWriterImpl.flushBuffer(Unknown Source) at com.day.jasper40.runtime.JspWriterImpl.flush(Unknown Source) at com.day.jasper40.runtime.PageContextImpl.release(Unknown Source)

Solution

Create smaller packages, or increase the Java heap size.

Additional information

The JVM heap size limits the package that you can create and download with packutil.

此産品由 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 授權  Creative Commons 條款未涵蓋 Twitter™ 與 Facebook 文章。

法律說明   |   線上隱私權政策