AnsweredAssumed Answered

Workflow Deployment Failure

Question asked by ogunen on Nov 28, 2006
Latest reply on Dec 1, 2006 by davidc
Hi again,
i read the doc. in address and i did the following steps there and faced with some difficulties here is what i have and what i did :

my system is based on liferay 4.0.0 with alfresco version 1.4 i can reach the alfresco from http://localhost:8080/alfresco address.

1) first of all i have a basic workflow scenario: "one submits a document and other person reviews it and the doc. passes to another person and this another person confirms the document for publishing." i have designed the workflow with eclipse plug-in and then i manualy deployed the file. file named as "docFlow_processdefinition.xml" and its content is like this :
<?xml version="1.0" encoding="UTF-8"?>

  xmlns=""  name="wf:docFlow">
   <swimlane name="initiator"></swimlane>
   <swimlane name="assignee"></swimlane>
   <swimlane name="assignee2"></swimlane>
   <start-state name="start">
      <task name="wf:submitDoc" swimlane="initiator"></task>
      <transition name="" to="review"></transition>
   <task-node name="review">
      <task name="wf:reviewDoc" swimlane="assignee"></task>
      <transition name="" to="accept">
   <task-node name="accept">
      <task name="wf:confirmDoc" swimlane="assignee2"></task>
      <transition name="" to="end1"></transition>
   <end-state name="end1"></end-state>

and then i created task model xml file named as docFlowModel which has a content like this :
<?xml version="1.0" encoding="UTF-8"?>

<model name="wf:workflowmodel" xmlns="">

     <import uri="" prefix="d"/>
     <import uri="" prefix="bpm"/>

     <namespace uri="" prefix="wf"/>

     <type name="wf:submitDoc">

     <type name="wf:reviewDock">

     <type name="wf:confirmDoc">

i placed this to files seprately. Process defination file in  C:\liferay\webapps\alfresco\WEB-INF\classes\alfresco\workflow directory and task model file in C:\liferay\webapps\alfresco\WEB-INF\classes\alfresco\model directory. After these i copied following text :
<bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
                 <property name="workflowDefinitions">
                            <prop key="engineId">jbpm</prop>
                            <prop key="location">alfresco/workflow/docFlow_processdefinition.xml</prop>
                            <prop key="mimetype">text/xml</prop>
                <property name="models">
                            <– Task Model associated with above process definition –>

into C:\Liferay\webapps\alfresco\WEB-INF\classes\alfresco\bootstrap-context.xml file and then restarted the server and then alfresco web application corrupted. I could not reach the login screen http://localhost:8080/alfresco. What could be the problem ? I guess the bootstrap-context.xml file could be the wrong one but in workflowAdministrator document it does not tell where to put deployment bean text.
thanks a lot…