[Hippo-cms7-user] Re: Export Project zip file

Mansour Al Akeel mansour.alakeel at gmail.com
Mon Feb 1 20:34:23 CET 2010


The exception on the server related to this:

01.02.2010 15:27:28 ERROR [org.apache.wicket.RequestCycle.logRuntimeException():1437] Unable to write the response
org.apache.wicket.WicketRuntimeException: Unable to write the response
    at org.apache.wicket.Response.handleException(Response.java:283)
    at org.apache.wicket.Response.write(Response.java:307)
    at org.hippoecm.tools.projectexport.DownloadLink$DownloadRequestTarget.respond(DownloadLink.java:85)
    at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
    at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1181)
    at org.apache.wicket.RequestCycle.step(RequestCycle.java:1252)
    at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1353)
    at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
    at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:355)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:200)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:249)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
    at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1148)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:387)
    at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:326)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
    at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
    Caused by: java.io.IOException: Pipe broken
    at java.io.PipedInputStream.read(PipedInputStream.java:305)
    at java.io.PipedInputStream.read(PipedInputStream.java:361)
    at org.apache.wicket.util.io.Streams.copy(Streams.java:73)
    at org.apache.wicket.Response.write(Response.java:303)
    ...  29
    more





On Mon Feb 01,2010 02:40 pm, Mansour Al Akeel wrote:
> Hello All:
> 
> I haven't been lucky getting the exported project as a zip file to
> extract. I used unzip, and jar:
> 
>     mansour at mars target $ jar -vxf myProject.zip 
>     inflated: pom.xml
>     created: src/
>     created: src/main/
>     created: src/main/resources/
>     inflated: src/main/resources/myProject.cnd
>     inflated: src/main/resources/hst-content-live.xml
>     inflated: src/main/resources/hst-virtualhosts.xml
>     inflated: src/main/resources/hstconfiguration/sitemap.xml
>             java.io.EOFException: Unexpected end of ZLIB input stream at
>             java.util.zip.InflaterInputStream.fill(InflaterInputStream.java:223) at
>             java.util.zip.InflaterInputStream.read(InflaterInputStream.java:141) at
>             java.util.zip.ZipInputStream.read(ZipInputStream.java:146) at
>             sun.tools.jar.Main.extractFile(Main.java:827) at
>             sun.tools.jar.Main.extract(Main.java:762) at
>             sun.tools.jar.Main.run(Main.java:210) at
>             sun.tools.jar.Main.main(Main.java:1022) 
> 
> 
> With unzip:
> 
>     mansour at mars target $ unzip myProject.zip 
>     Archive:  myProject.zip
>         End-of-central-directory signature not found.  Either this file is not
>         a zipfile, or it constitutes one disk of a multi-part archive.  In the
>         latter case the central directory and zipfile comment will be found on
>         the last disk(s) of this archive.
>     unzip:  cannot find zipfile directory in one of myProject.zip or
>         myProject.zip.zip, and cannot find myProject.zip.ZIP, period.
> 
> 
> I am using atchetype generated from:
> 
> mvn archetype:generate -DarchetypeRepository=http://repository.hippocms.org/maven2 -DarchetypeGroupId=org.onehippo.ecm.hst -DarchetypeArtifactId=hst-archetype-7_2 -DarchetypeVersion=2.04.02
> 
> Any advice ? 
> Thank you.
> 
> 



More information about the Hippo-cms7-user mailing list