AnsweredAssumed Answered

Workflow deployment failed

Question asked by alessioa. on Oct 9, 2006
Latest reply on Dec 1, 2006 by davidc
Hi to all the folks,
i have problems to deploy on Alfresco a sample workflow.
I follow these steps:
1) create the process with eclipse
2) tried to deploy the process from eclipse; it's work but after this i don't understood how link my process with the task model i created for it.
For this reason i proceeded with a manual deploy ad create this file:
<?xml version='1.0' encoding='UTF-8'?>

    <bean id="extension.workflowBootstrap" parent="workflowDeployer">
          <property name="workflowDefinitions">
                  <prop key="engineId">jbpm</prop>
                  <prop key="location">alfresco/extension/my_workflow/processes/alessio_AdHocProcessDefinition.xml</prop>
                  <prop key="mimetype">text/xml</prop>
                  <prop key="redeploy">true</prop>
        <property name="models">

3) Stopped the server and placed this file under <alfresco home directory>\tomcat\shared\classes\alfresco\extension

4) created the my_workflow directory with the sub-directories models and processes

5) placed under these directories the respective files (alessio_AdHocProcessDefinition.xml, alessio_AdHocTaskModel.xml)

6) Started the server and received the follow error:
org.alfresco.error.AlfrescoRuntimeException: Workflow deployment failed
   at org.alfresco.repo.workflow.WorkflowDeployer.deploy(
   at org.alfresco.repo.workflow.WorkflowDeployer.onApplicationEvent(
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(
   at org.apache.catalina.core.StandardContext.listenerStart(


Can someone help me? What do i mistake during the deploy process?

Thank you very much
Alessio A.