cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to transfer, orphans exist

sandhyanair
Champ in-the-making
Champ in-the-making
Hi,

I am using alfresco version 4.0.a and i have installed alfresco wcmqs and configured the site.

I tried to publish content from alfresco Editorial root folder to alfresco Live folder. It is getting published to the live folder. But when i tried publishing the content from blogs folder it is not getting published in the Alfresco Live folder.

If i want to create a new site, do i need to have a war file like wcmqs in my webapp folder?

I created a new site and published the content, it is not copied to the published folder.

Im getting the below error.

Can anyone please help me?
2012-03-13 22:45:08,628  ERROR [quartz.core.ErrorLogger] [DefaultScheduler_Worker-4] Job (DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#151ac10 threw an exception.
org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor] failed; nested exception is org.alfresco.service.cmr.transfer.TransferFailureException: 02130146 02130145 Unable to transfer, orphans exist]
   at org.quartz.core.JobRunShell.run(JobRunShell.java:227)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Caused by: org.springframework.scheduling.quartz.JobMethodInvocationFailedException: Invocation of method 'run' on target class [class org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor] failed; nested exception is org.alfresco.service.cmr.transfer.TransferFailureException: 02130146 02130145 Unable to transfer, orphans exist
   at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:273)
   at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   … 1 more
Caused by: org.alfresco.service.cmr.transfer.TransferFailureException: 02130146 02130145 Unable to transfer, orphans exist
   at org.alfresco.repo.transfer.TransferServiceImpl2.transferImpl(TransferServiceImpl2.java:902)
   at org.alfresco.repo.transfer.TransferServiceImpl2.transfer(TransferServiceImpl2.java:542)
   at org.alfresco.repo.transfer.TransferServiceImpl2.transfer(TransferServiceImpl2.java:517)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.PublishServiceImpl.publishQueue(PublishServiceImpl.java:234)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor$1$1.execute(PublishQueueProcessor.java:71)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:259)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor$1.doWork(PublishQueueProcessor.java:55)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:519)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor.run(PublishQueueProcessor.java:50)
   at sun.reflect.GeneratedMethodAccessor1127.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273)
   at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:264)
   … 3 more
Caused by: org.alfresco.repo.transfer.TransferProcessingException: 02130145 Unable to transfer, orphans exist
   at org.alfresco.repo.transfer.RepoPrimaryManifestProcessorImpl.error(RepoPrimaryManifestProcessorImpl.java:863)
   at org.alfresco.repo.transfer.RepoPrimaryManifestProcessorImpl.endManifest(RepoPrimaryManifestProcessorImpl.java:123)
   at org.alfresco.repo.transfer.AbstractManifestProcessorBase.endTransferManifest(AbstractManifestProcessorBase.java:67)
   at org.alfresco.repo.transfer.manifest.XMLTransferManifestReader.endDocument(XMLTransferManifestReader.java:97)
   at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Source)
   at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Source)
   at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
   at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
   at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
   at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source)
   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
   at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
   at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
   at javax.xml.parsers.SAXParser.parse(SAXParser.java:331)
   at org.alfresco.repo.transfer.RepoTransferReceiverImpl$4.execute(RepoTransferReceiverImpl.java:908)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transfer.RepoTransferReceiverImpl.commit(RepoTransferReceiverImpl.java:927)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.InProcessTransmitterImpl$3.execute(InProcessTransmitterImpl.java:109)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.InProcessTransmitterImpl$3.execute(InProcessTransmitterImpl.java:105)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.InProcessTransmitterImpl.commit(InProcessTransmitterImpl.java:103)
   at org.alfresco.repo.transfer.TransferServiceImpl2.transferImpl(TransferServiceImpl2.java:665)
   … 17 more
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
An "orphan" is a node with no parents.   It can't be transferred because there is no where for it to go in the target repo.  

Parents are looked up first by NodeRef and then by path,  so I suspect you may need to create a folder on the target.
There should be a "transfer report" which will have details of which node is causing problems.

I am getting this problem through replication. Before I make any changes replication works fine. I am restructuring all my files and folder by using [a-z] and placing anything them accordingly int he correct [a-z] folder. Once i have restructured and i try to replicate is does not work. the remote transfer record is below.


<report:comment date="2014-02-11T05:59:34.456-06:00">Primary Processing incoming node: workspace://SpacesStore/39d55aea-1635-4540-8d7c-48720651f29e – Source path = /{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/site/1.0}s... and Bids/{http://www.alfresco.org/model/content/1.0}UK/{http://www.alfresco.org/model/content/1.0}Contracts/{h... Operatorselskab i-s Danop/{http://www.alfresco.org/model/content/1.0}Seismic Processing - Service Contract/{http://www.alfresco.org/model/content/1.0}I0000173_SUB001.tif</report:comment>
   <report:comment date="2014-02-11T05:59:34.469-06:00">Delete node from archive: archive://SpacesStore/39d55aea-1635-4540-8d7c-48720651f29e</report:comment>
   <report:comment date="2014-02-11T05:59:34.485-06:00">Unable to resolve parent for new incoming node. Storing it in temp folder: workspace://SpacesStore/39d55aea-1635-4540-8d7c-48720651f29e</report:comment>
   <report:created date="2014-02-11T05:59:34.499-06:00" sourceNodeRef="workspace://SpacesStore/39d55aea-1635-4540-8d7c-48720651f29e" destinationNodeRef="workspace://SpacesStore/39d55aea-1635-4540-8d7c-48720651f29e" parentNodeRef="workspace://SpacesStore/8644d382-58b8-471b-a073-788b85d5312d">
      <report:destinationPath>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/applicatio...</report:destinationPath>
   </report:created>
   <report:comment date="2014-02-11T05:59:34.507-06:00">Primary Processing incoming node: workspace://SpacesStore/3b2d7a28-7033-4673-a638-6931ddea6814 – Source path = /{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/site/1.0}s... and Bids/{http://www.alfresco.org/model/content/1.0}UK/{http://www.alfresco.org/model/content/1.0}Contracts/{h...</report:comment>
   <report:comment date="2014-02-11T05:59:34.517-06:00">Delete node from archive: archive://SpacesStore/3b2d7a28-7033-4673-a638-6931ddea6814</report:comment>
   <report:comment date="2014-02-11T05:59:34.537-06:00">Unable to resolve parent for new incoming node. Storing it in temp folder: workspace://SpacesStore/3b2d7a28-7033-4673-a638-6931ddea6814</report:comment>
   <report:created date="2014-02-11T05:59:34.549-06:00" sourceNodeRef="workspace://SpacesStore/3b2d7a28-7033-4673-a638-6931ddea6814" destinationNodeRef="workspace://SpacesStore/3b2d7a28-7033-4673-a638-6931ddea6814" parentNodeRef="workspace://SpacesStore/8644d382-58b8-471b-a073-788b85d5312d">
      <report:destinationPath>/{http://www.alfresco.org/model/application/1.0}company_home/{http://www.alfresco.org/model/applicatio...</report:destinationPath>
   </report:created>

sachin_patharwa
Champ in-the-making
Champ in-the-making
I am facing same issue. However not able to delete (no links/check boxes visible) any content in alfresco share (parent)/target.

Also both  stores (parent and target) have identical folder structures.

Also not able to identify if cron contentStoreCleanerTrigger is running or not and  how to run it manually? (To get rid of orphan content if any)

Can any one please advice on how to get fix following issues:
10080097 Error executing transfer - 10080095 Unable to transfer, orphans exist

Also any suggestions on how to manually run/debug  cron contentStoreCleanerTrigger will be of great help.

Thanks in advance.
Sachin

What version of alfresco you using? Check to see you don't have duplicate folders or files.