cancel
Showing results for 
Search instead for 
Did you mean: 

Publishing doesn't work properly

lemmy
Champ in-the-making
Champ in-the-making
Hi,

I'm trying to publish the finance test page as described in http://www.alfresco.com/help/34/community/wcmqs/user/tasks/qs-publish-workflow.html. I've assigned myself to the tasks and published the structure and some peaces of content.

Looking into Share the Quick Start Live-folder keeps empty even after a couple of minutes.

Looking into Tomcat's stdout.log I'm recognizing some exceptions:


21:56:03,138  ERROR [quartz.core.ErrorLogger] Job (DEFAULT.org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean#1ded4c9 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: 11251426 11251425 "Unable to generate transfer requisite]
   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: 11251426 11251425 "Unable to generate transfer requisite
   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: 11251426 11251425 "Unable to generate transfer requisite
   at org.alfresco.repo.transfer.TransferServiceImpl2.transferImpl(TransferServiceImpl2.java:873)
   at org.alfresco.repo.transfer.TransferServiceImpl2.transfer(TransferServiceImpl2.java:527)
   at org.alfresco.repo.transfer.TransferServiceImpl2.transfer(TransferServiceImpl2.java:502)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.PublishServiceImpl.publishQueue(PublishServiceImpl.java:185)
   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:377)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:251)
   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:508)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.jobs.PublishQueueProcessor.run(PublishQueueProcessor.java:50)
   at sun.reflect.GeneratedMethodAccessor459.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.service.cmr.transfer.TransferException: 11251425 "Unable to generate transfer requisite
   at org.alfresco.repo.transfer.RepoTransferReceiverImpl.generateRequsite(RepoTransferReceiverImpl.java:1164)
   at org.alfresco.module.org_alfresco_module_wcmquickstart.publish.InProcessTransmitterImpl.sendManifest(InProcessTransmitterImpl.java:145)
   at org.alfresco.repo.transfer.TransferServiceImpl2.transferImpl(TransferServiceImpl2.java:599)
   … 17 more
Caused by: org.xml.sax.SAXParseException: Invalid byte 2 of 3-byte UTF-8 sequence.
   at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
   at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
   at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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.generateRequsite(RepoTransferReceiverImpl.java:1145)
   … 19 more


Kindly share some hints.

Thanks,
Lemmy
6 REPLIES 6

bremmington
Champ on-the-rise
Champ on-the-rise
That looks like a bug that we found a while ago (http://issues.alfresco.com/jira/browse/ALF-5691). What version are you using?

lemmy
Champ in-the-making
Champ in-the-making
I'm using Community 3.4b on Windows 7.

lemmy
Champ in-the-making
Champ in-the-making
I've retested with version 3.4 d from Jan, 20th. Works fine.  Smiley Very Happy

Thanks,
Lemmy

bremmington
Champ on-the-rise
Champ on-the-rise
Great. Thanks for letting us know  Smiley Happy

wasca
Champ in-the-making
Champ in-the-making
I've installed 3.4d and I can confirm that this is still a problem. All the content from my Quickstart Live Site is missing from the repository tree. I can see the root folder and all the folder structures but there is no content in any of the folders. How do I re-populate the live web site or at least delete the structure that is there.

I'm running on an Ubuntu 10.04 64bit version

bremmington
Champ on-the-rise
Champ on-the-rise
There are two workflows available for publishing: "Review and publish" and "Review and publish site structure". It sounds like you have run the second of these, and this will just publish the structure - not the content. Select the content from the editorial site that you want to publish, run the "Review and publish" workflow on them, and you should see them appear in the live site a short time after approval.