AnsweredAssumed Answered

Workflow deployer error

Question asked by mafaldap on Nov 9, 2016
Latest reply on Nov 20, 2016 by mafaldap

I tried to create a new workflow but when I try to start Alfresco I can't login for some errors. The log file says:

16:05:42,892 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 10090004 Workflow deployment failed
  at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:351)
  at org.alfresco.repo.workflow.WorkflowDeployer$1$1.doWork(WorkflowDeployer.java:512)
  at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
  at org.alfresco.repo.workflow.WorkflowDeployer$1.execute(WorkflowDeployer.java:508)
  at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:457)
  at org.alfresco.repo.workflow.WorkflowDeployer.onBootstrap(WorkflowDeployer.java:503)
  at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
  at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:207)
  at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:178)
  at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:334)
  at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:950)
  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
  at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:410)
  at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:306)
  at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:112)
  at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
  at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
  at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
  at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
  at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
  at java.lang.Thread.run(Thread.java:745)
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 10090003 Could not import bootstrap model 'alfresco/module/workflow-portalescuola-repo/model/psWorkflowModel.xml'
  at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:173)
  at org.alfresco.repo.dictionary.DictionaryBootstrap.bootstrap(DictionaryBootstrap.java:118)
  at org.alfresco.repo.workflow.WorkflowDeployer.init(WorkflowDeployer.java:266)
  ... 24 more
Caused by: org.alfresco.service.cmr.dictionary.DictionaryException: 10090002 Failed to parse model
  at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:106)
  at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:92)
  at org.alfresco.repo.dictionary.DictionaryBootstrap.onDictionaryInit(DictionaryBootstrap.java:161)
  ... 26 more
Caused by: org.jibx.runtime.JiBXException: Expected "{http://www.alfresco.org/model/dictionary/1.0}type" end tag, found "{http://www.alfresco.org/model/dictionary/1.0}properties" start tag (line 184, col 16)
  at org.jibx.runtime.impl.UnmarshallingContext.parsePastCurrentEndTag(UnmarshallingContext.java:731)
  at org.alfresco.repo.dictionary.JiBX_defaultM2Type_access.unmarshal()
  at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_7()
  at org.alfresco.repo.dictionary.JiBX_defaultMungeAdapter.JiBX_default_unmarshal_1_9()
  at org.alfresco.repo.dictionary.JiBX_defaultM2Model_access.unmarshal()
  at org.jibx.runtime.impl.UnmarshallingContext.unmarshalElement(UnmarshallingContext.java:2757)
  at org.jibx.runtime.impl.UnmarshallingContext.unmarshalDocument(UnmarshallingContext.java:2900)
  at org.alfresco.repo.dictionary.M2Model.createModel(M2Model.java:101)
  ... 28 more

Since I just extended a previous project with another workflow I can't figure out what's wrong with psWorkflowModel.xml

Any advice?

Outcomes