[Hippo-cms7-user] Export Project zip file

Mansour Al Akeel mansour.alakeel at gmail.com
Sun Feb 7 03:35:32 CET 2010


Following up with this issue. 
It's still not resolved.  Here's the error logs I was able to obtain.

06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getProperty():145] possible expected property state {http://www.onehippo.org/jcr/hippo/nt/2.0}docbase in 1e82f9cd-325c-4972-be85-8414e22b1318 not found
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getPropertyState():161] possible expected property state e06c7f5b-7575-4549-aeaf-8525aa374f97/{http://www.onehippo.org/jcr/hippo/nt/2.0}docbase not found: org.apache.jackrabbit.core.state.NoSuchItemStateException: e06c7f5b-7575-4549-aeaf-8525aa374f97/{http://www.onehippo.org/jcr/hippo/nt/2.0}docbase
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getProperty():145] possible expected property state {http://www.onehippo.org/jcr/hippo/nt/2.0}docbase in e06c7f5b-7575-4549-aeaf-8525aa374f97 not found
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getPropertyState():161] possible expected property state 8c5f90c1-8654-4996-827d-96b703d4a3b7/{http://www.onehippo.org/jcr/hippo/nt/2.0}docbase not found: org.apache.jackrabbit.core.state.NoSuchItemStateException: 8c5f90c1-8654-4996-827d-96b703d4a3b7/{http://www.onehippo.org/jcr/hippo/nt/2.0}docbase
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getProperty():145] possible expected property state {http://www.onehippo.org/jcr/hippo/nt/2.0}docbase in 8c5f90c1-8654-4996-827d-96b703d4a3b7 not found
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getPropertyState():161] possible expected property state ce7cfb5a-8d33-4656-8b32-a753d1b64aa7/{http://www.onehippo.org/jcr/hippo/nt/2.0}docbase not found: org.apache.jackrabbit.core.state.NoSuchItemStateException: ce7cfb5a-8d33-4656-8b32-a753d1b64aa7/{http://www.onehippo.org/jcr/hippo/nt/2.0}docbase
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getProperty():145] possible expected property state {http://www.onehippo.org/jcr/hippo/nt/2.0}docbase in ce7cfb5a-8d33-4656-8b32-a753d1b64aa7 not found
06.02.2010 19:07:21 ERROR [org.hippoecm.tools.projectexport.ExportDialog$1.onSubmit():100] failed to export project 
java.io.IOException: invalid project structure
	at org.hippoecm.tools.projectexport.ExportDialog$1.onSubmit(ExportDialog.java:86)
	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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:249)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
	at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
	at java.lang.Thread.run(Thread.java:619)
06.02.2010 19:07:21 INFO  [org.hippoecm.frontend.JcrObservationManager.refreshSession():1004] Refreshing /hippo:configuration/hippo:temporary/content/hippo:namespaces/hippo/facetsearch/hipposysedit:prototypes/hipposysedit:prototype, keeping changes
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getPropertyState():161] possible expected property state 27f3d2b2-4054-49e5-8c4e-952fc5c6e094/{http://www.onehippo.org/jcr/hipposys/nt/1.0}search not found: org.apache.jackrabbit.core.state.NoSuchItemStateException: 27f3d2b2-4054-49e5-8c4e-952fc5c6e094/{http://www.onehippo.org/jcr/hipposys/nt/1.0}search
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getProperty():145] possible expected property state {http://www.onehippo.org/jcr/hipposys/nt/1.0}search in 27f3d2b2-4054-49e5-8c4e-952fc5c6e094 not found
06.02.2010 19:07:21 INFO  [org.hippoecm.frontend.JcrObservationManager.refreshSession():1004] Refreshing /hippo:configuration/hippo:temporary/projects, keeping changes
06.02.2010 19:07:21 INFO  [org.hippoecm.frontend.JcrObservationManager.refreshSession():1004] Refreshing /hippo:namespaces/hippo/facetsearch/hipposysedit:prototypes/hipposysedit:prototype, keeping changes
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getPropertyState():161] possible expected property state 841c1725-f48e-47bd-9e1f-29ff97f972f7/{http://www.onehippo.org/jcr/hipposys/nt/1.0}search not found: org.apache.jackrabbit.core.state.NoSuchItemStateException: 841c1725-f48e-47bd-9e1f-29ff97f972f7/{http://www.onehippo.org/jcr/hipposys/nt/1.0}search
06.02.2010 19:07:21 DEBUG [org.hippoecm.repository.jackrabbit.HippoVirtualProvider.getProperty():145] possible expected property state {http://www.onehippo.org/jcr/hipposys/nt/1.0}search in 841c1725-f48e-47bd-9e1f-29ff97f972f7 not found
06.02.2010 19:07:21 DEBUG [org.hippoecm.frontend.JcrObservationManager$JcrListener$2.nextEvent():614] processing Event: Path: /hippo:configuration/hippo:temporary/projects/hippo:initialize/hst, NodeAdded: , UserId: admin, session CF518754D79E56BAA50A7D0AFA2764ED
06.02.2010 19:07:21 DEBUG [org.hippoecm.frontend.JcrObservationManager$JcrListener$2.nextEvent():614] processing Event: Path: /hippo:configuration/hippo:temporary/projects/hippo:initialize, NodeAdded: , UserId: admin, session CF518754D79E56BAA50A7D0AFA2764ED
06.02.2010 19:07:21 DEBUG [org.hippoecm.frontend.JcrObservationManager$JcrListener$2.nextEvent():614] processing org.hippoecm.frontend.FacetSearchObserver$FacetSearchListener$1 at 1c47ae5, session CF518754D79E56BAA50A7D0AFA2764ED
06.02.2010 19:07:21 DEBUG [org.hippoecm.frontend.JcrObservationManager$JcrListener$2.nextEvent():614] processing org.hippoecm.frontend.FacetSearchObserver$FacetSearchListener$1 at 605772, session CF518754D79E56BAA50A7D0AFA2764ED





On Fri Feb 05,2010 11:39 am, Mansour Al Akeel wrote:
> 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