AnsweredAssumed Answered

Workflow deployment failed

Question asked by shea on Feb 17, 2010
Latest reply on Feb 19, 2010 by shea
Hi,

Sorry I have to post this question again.  I don't seem to get anyone to answer my question about this error.
I am trying to run the command line import using Alfresco 3.2, and received the Workflow deployment failed error.
alfresco/workflow/workflowModel.xml looks good.
It seems that it is a bug in the system.
Is there a way to turn off the "workflow deployment"?

Below is the detailed error that I received.
Any idea that I can avoid this exception?

Thanks


01160003 Workflow deployment failed
org.alfresco.error.AlfrescoRuntimeException: 01160003 Workflow deployment failed
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:336)
at org.alfresco.repo.workflow.WorkflowDeployer$1.doWork(WorkflowDeployer.java:443)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)
at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:439)
at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:246)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:617)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:355)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:122)
at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:76)
at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:83)
at org.alfresco.util.ApplicationContextHelper.getApplicationContext(ApplicationContextHelper.java:57)
at org.alfresco.tools.Tool.initialiseRepository(Tool.java:246)
at org.alfresco.tools.Tool.start(Tool.java:212)
at org.alfresco.tools.Import.main(Import.java:66)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 01160002 Could not import bootstrap model alfresco/workflow/workflowModel.xml
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:151)
at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:108)
at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:266)
… 17 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 01160001 Failed to compile model wf:workflowmodel
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:112)
at org.alfresco.repo.dictionary.M2Model.compile(M2Model.java:134)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.putModel(DictionaryDAOImpl.java:274)
at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:147)
… 19 more
Caused by: org.alfresco.service.cmr.repository.ContentIOException: 01160000 Failed to open stream onto channel:
accessor: ContentAccessor[ contentUrl=store://2010/2/12/16/12/3364887b-7314-4edd-99ae-e466ca4850d7.bin, mimetype=text/xml, size=0, encoding=utf-8, locale=en_US]
at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:338)
at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.createM2Model(DictionaryRepositoryBootstrap.java:422)
at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.onDictionaryInit(DictionaryRepositoryBootstrap.java:248)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.initDictionaryRegistry(DictionaryDAOImpl.java:254)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.access$100(DictionaryDAOImpl.java:66)
at org.alfresco.repo.dictionary.DictionaryDAOImpl$1.doWork(DictionaryDAOImpl.java:196)
at org.alfresco.repo.dictionary.DictionaryDAOImpl$1.doWork(DictionaryDAOImpl.java:189)
at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:514)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.initDictionary(DictionaryDAOImpl.java:187)
at org.alfresco.repo.dictionary.DictionaryDAOImpl.init(DictionaryDAOImpl.java:135)
at org.alfresco.repo.dictionary.NamespaceDAOImpl.reset(NamespaceDAOImpl.java:125)
at org.alfresco.repo.dictionary.NamespaceDAOImpl.getNamespaceRegistry(NamespaceDAOImpl.java:424)
at org.alfresco.repo.dictionary.NamespaceDAOImpl.getUrisCtx(NamespaceDAOImpl.java:530)
at org.alfresco.repo.dictionary.NamespaceDAOImpl.getUrisCtx(NamespaceDAOImpl.java:519)
at org.alfresco.repo.dictionary.NamespaceDAOImpl.getURIs(NamespaceDAOImpl.java:201)
at org.alfresco.repo.dictionary.CompiledModel.createLocalPrefixResolver(CompiledModel.java:199)
at org.alfresco.repo.dictionary.CompiledModel.constructDefinitions(CompiledModel.java:134)
at org.alfresco.repo.dictionary.CompiledModel.<init>(CompiledModel.java:94)
… 22 more
Caused by: java.lang.UnsupportedOperationException: The content never exists
at org.alfresco.repo.content.EmptyContentReader.getDirectReadableChannel(EmptyContentReader.java:59)
at org.alfresco.repo.content.AbstractContentReader.getReadableChannel(AbstractContentReader.java:227)
at org.alfresco.repo.content.AbstractContentReader.getContentInputStream(AbstractContentReader.java:331)
… 39 more

Outcomes