Migration: packutil.jar aborts package download


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)


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.