[Hippo-cms7-user] Export Project zip file

Mansour Al Akeel mansour.alakeel at gmail.com
Fri Feb 5 16:39:22 CET 2010


I don't know if I am missing anything.
Thank you.



On Wed Feb 03,2010 10:32 pm, Mansour Al Akeel wrote:
> Berry, thank you for helping.
> I am still unable to get it to work. I ran the cms.war on multiple
> machines. On the server using tomcat, and on my local machine with the
> embedded jetty. On my machine I tried to run the generated artifact, and
> the demosuite. I don't think it's server issue, since it's happening on
> all instances. I am looking to export the project to understand it's
> structure. I tried writing to the server file system (not sure if this
> is write), but the directory I point the export to, is empty always. I
> don't have SVN as I use git. I just put the direcotry absolute path in
> the field. I don't have firewall intenally between the machines.
> 
> I was trying to export an esiting project came with the demosuite, 
> "hst-demosuite-content-2.04.02" to ensure nothing wrong with the
> project.
> 
> The log file from jetty, and it's showing both errors, using
> download and writing to the filesystem. I appreciate your help.
> 
> 
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Hippo Site Toolkit Demo Suite CMS Application
> [INFO]    task-segment: [clean, jetty:run-war]
> [INFO] ------------------------------------------------------------------------
> [INFO] [clean:clean]
> [INFO] Deleting directory /home/mansour/workspace/hippo-cms/Release-HSTTWO-v2_04_02/demosuite/cms/target
> [INFO] Preparing jetty:run-war
> [INFO] [resources:resources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 2 resources
> [INFO] [compiler:compile]
> [INFO] No sources to compile
> [INFO] [resources:testResources]
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] skip non existing resourceDirectory /home/mansour/workspace/hippo-cms/Release-HSTTWO-v2_04_02/demosuite/cms/src/test/resources
> [INFO] [compiler:testCompile]
> [INFO] No sources to compile
> [INFO] [surefire:test]
> [INFO] No tests to run.
> [INFO] [war:war]
> [INFO] Packaging webapp
> [INFO] Assembling webapp[hst-demosuite-cms] in [/home/mansour/workspace/hippo-cms/Release-HSTTWO-v2_04_02/demosuite/cms/target/cms]
> [INFO] Processing war project
> [INFO] Copying webapp resources[/home/mansour/workspace/hippo-cms/Release-HSTTWO-v2_04_02/demosuite/cms/src/main/webapp]
> [INFO] Processing overlay[ id org.hippoecm:hippo-ecm-package-war]
> [INFO] Webapp assembled in[6823 msecs]
> [INFO] Building war: /home/mansour/workspace/hippo-cms/Release-HSTTWO-v2_04_02/demosuite/cms/target/cms.war
> [INFO] Preparing source:jar
> [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation.
> [INFO] No goals needed for project - skipping
> [INFO] [source:jar {execution: attach-sources}]
> [INFO] Building jar: /home/mansour/workspace/hippo-cms/Release-HSTTWO-v2_04_02/demosuite/cms/target/cms-sources.jar
> [INFO] [jetty:run-war]
> [INFO] Configuring Jetty for project: Hippo Site Toolkit Demo Suite CMS Application
> [INFO] Context path = /cms
> [INFO] Tmp directory =  determined at runtime
> [INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
> [INFO] Web overrides =  none
> [INFO] Starting jetty 6.1.18 ...
> 03.02.2010 22:05:28 WARN  [org.hippoecm.repository.RepositoryServlet.init():170] Started an RMI registry on port 1099
> [INFO] Started Jetty Server
> [INFO] Starting scanner at interval of 5 seconds.
> 03.02.2010 22:13:24 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
> 03.02.2010 22:16:55 ERROR [org.hippoecm.tools.projectexport.ExportDialog$1.onSubmit():103] failed to export project 
> org.hippoecm.tools.projectexport.NotExportableException: already selected for export
> 	at org.hippoecm.tools.projectexport.ExportEngine.buildExtension(ExportEngine.java:495)
> 	at org.hippoecm.tools.projectexport.ExportEngine.prepare(ExportEngine.java:593)
> 	at org.hippoecm.tools.projectexport.ExportEngine.selectProject(ExportEngine.java:574)
> 	at org.hippoecm.tools.projectexport.ExportDialog$1.onSubmit(ExportDialog.java:79)
> 	at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:86)
> 	at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)
> 	at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)
> 	at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)
> 	at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:100)
> 	at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)
> 	at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:31)
> 	at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1175)
> 	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.content(HttpConnection.java:879)
> 	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
> 	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
> 	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)
> 
> 
> On Mon Feb 01,2010 11:32 pm, Berry van Halderen wrote:
> > Maybe your proxy/firewall or other setting limit the download, but
> > more likely there is another root cause that failed to write the zip
> > fully out.  That should however be logged as error in the log files,
> > and the stack trace does not indicate this.  It the stack trace
> > complete or is there more information in the log file?  To verify a
> > correct generation, can you store the project export on (server-side)
> > filesystem.  The zip file is only of limited use, the store location
> > is the primary usage.  If storing on the filesystem gives more file
> > than there in the zip file, there is some blockage (like download size
> > limit) blocking in the way.
> > 
> > \Berry
> > 



More information about the Hippo-cms7-user mailing list