cancel
Showing results for 
Search instead for 
Did you mean: 

Export/Import - Error when Bootstrapping new repository

dwild_hq
Champ in-the-making
Champ in-the-making
Hello,

Following what we believe to be a successful complete repository export of a 1.4.0 repository when attempting to bootstrap the export to a new 1.4.0 instance having copied the extensions across the following error is thrown.


08:48:28,812 DEBUG [repo.importer.ImporterBootstrap] Created store: workspace://lightWeightVersionStore
08:48:37,343 DEBUG [repo.importer.ImporterBootstrap] Importing alfresco/extension/restore/export_versions.acp
08:48:37,703 DEBUG [repo.importer.ImporterBootstrap] Import started at Tue Jun 19 08:48:37 BST 2007 (1182239317703)
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap] Import completed at Tue Jun 19 13:10:52 BST 2007 (1182255052562)
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap] Error occured at Tue Jun 19 13:10:52 BST 2007 (1182255052562)
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap] Exception: org.alfresco.service.cmr.view.ImporterException: Failed to import package at line 233516; column 45 due to error: Failed to copy content from input stream:
   writer: ContentAccessor[ contentUrl=store://2007/6/19/13/10/1fd95d0e-1e5e-11dc-8507-fb6c7a582e99.bin, mimetype=application/pdf, size=841132, encoding=UTF-8]
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap] Import duration: 15734859 ms (Note: excluding commit time)
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap]  Nodes created: 12290
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap]  Nodes linked: 0
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap]  Aspects Added: 0
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap]  Properties set: 102014
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap]  Content set: 154
13:10:52,562 DEBUG [repo.importer.ImporterBootstrap]  Permissions set: 1
13:10:59,187 ERROR [web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: Bootstrap failed
   at org.alfresco.repo.importer.ImporterBootstrap.bootstrap(ImporterBootstrap.java:448)
   at org.alfresco.repo.importer.ImporterBootstrap.onBootstrap(ImporterBootstrap.java:670)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:54)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:45)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:225)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:323)
   at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:134)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:49)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3692)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4127)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:804)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:693)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1118)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:310)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
   at org.apache.catalina.core.StandardService.start(StandardService.java:450)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:680)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:536)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:585)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:275)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)

We identified the piece of content that looked to be causing the problem, ran the export again and bootstrapped again only to be faced with the same error but on a different line of the export_versions.xml pointing to a different peice of content. 

We have been through this cycle 4 times now slowly making our way down the xml. It is getting quite tedious.    Smiley Sad

We have been unable to identify any similarities in the content other than so far we have had 3 pdf's and one swf.

Any help would be gratefully recieved.

Thanks,

Dave Wild
14 REPLIES 14

derek
Star Contributor
Star Contributor
dwild.hq
Support and I would like to know if the JVM change made a difference?

santigt,
You have cleaned your database but not your lucene indexes, I think.  At any rate, delete you Lucene indexes and initiate a full index rebuild.

Regards

santigt
Champ in-the-making
Champ in-the-making
Ok!! It's running!! Thanks so much! I didn't know it, sorry Smiley Sad



Santigt



dwild.hq
Support and I would like to know if the JVM change made a difference?

santigt,
You have cleaned your database but not your lucene indexes, I think.  At any rate, delete you Lucene indexes and initiate a full index rebuild.

Regards

naveenkumar
Champ in-the-making
Champ in-the-making
I created my database dump, i copied complete alf_data folder. For new installation i planned to use the dump and the alf_data. when i start my server i am getting "More than one root node index".

For Kind information:
I am working in web projects folder, when i work out of web project able to reuse.

1.alfresco 2.1 community edition.
2. Mysql


Thanks
Naveen

derek
Star Contributor
Star Contributor
H, naveenkumar

Most likely, you didn't set up the system's configuration properly before you started the server for the first time.  Post the start-up log in a separate forum post (so that we don't irritate the previous posters) and put a link to that post here.

I'll be able to tell from the log what happened.

Regards

naveenkumar
Champ in-the-making
Champ in-the-making
hi derek,
check this:  http://forums.alfresco.com/viewtopic.php?p=25387#25387

Thanks
Naveen