cancel
Showing results for 
Search instead for 
Did you mean: 

Problem Workflow deployment

mamatov
Champ in-the-making
Champ in-the-making
Hello,

I have installed Alfresco 1.4 with Tomcat + Mysql 5.0.27 + JDK 5.0.09.
I can access to Alfresco but I encounter a problem with the Workflow :

I followed the instruction to install "Process Designer developed Process Archive" (http://wiki.alfresco.com/wiki/WorkflowAdministration#Installing_JBoss_jBPM_Process_Designer)


Eclispe is installed with the plugin Jboss JBPM Process Designer on my local machine, I deployed a process archive to an existing server, the deployment is successfull but I can't find this new process definition.

And when I launch the Web Client Alfresco I don't see my new workflow ?

Here is my settings to deploy this process :

   1.  Server Name = 192.168.XX.XX
   2. Server Port =  8080)
   3. Server Deployer = /alfresco


Could you help me please ?

Thanks in Advance for your feedback.
12 REPLIES 12

davidc
Star Contributor
Star Contributor
Eclispe is installed with the plugin Jboss JBPM Process Designer on my local machine, I deployed a process archive to an existing server, the deployment is successfull but I can't find this new process definition.

And when I launch the Web Client Alfresco I don't see my new workflow ?

Where did you look for the deployed process definition?  You'll see it listed when you start a new workflow.  Alternatively, you can the workflow console (described at http://wiki.alfresco.com/wiki/Workflow_Console) to list all deployed definitions.

1. Server Name = 192.168.XX.XX
2. Server Port = 8080)
3. Server Deployer = /alfresco

You can use localhost if the server is on the same machhine.

I'm guessing 8080) is a typo.  That should be 8080

/alfresco must be /alfresco/jbpm/deployprocess

as described at http://wiki.alfresco.com/wiki/WorkflowAdministration#Deploying_via_JBoss_jBPM_Process_Designer

I'm surprised that the process designer successfully deployed with your settings.  What happens if you just click the 'Test Connection…' button? with those settings.

mamatov
Champ in-the-making
Champ in-the-making
You can use localhost if the server is on the same machhine.

I'm guessing 8080) is a typo.  That should be 8080

/alfresco must be /alfresco/jbpm/deployprocess

as described at http://wiki.alfresco.com/wiki/WorkflowAdministration#Deploying_via_JBoss_jBPM_Process_Designer

I'm surprised that the process designer successfully deployed with your settings.  What happens if you just click the 'Test Connection…' button? with those settings.


Thank you for your answer.

I'm using the address 192.168.XX.XX because Alfresco is not installed on my local machine.

For the port i'm using  8080

When I click on "Test Connection" I have a success response, no problem.

But for the server deployer , I don't find /alfresco/jbpm/deployprocess on  
my Alfresco repository :

ls -la /opt/alfresco/tomcat/webapps/alfresco/
total 52
drwxr-xr-x  10 root root 4096 Nov  2 17:02 .
drwxr-xr-x   4 root root 4096 Nov  2 18:20 ..
drwxr-xr-x   2 root root 4096 Oct 31 18:26 META-INF
drwxr-xr-x   6 root root 4096 Oct 31 18:28 WEB-INF
drwxr-xr-x   7 root root 4096 Nov  3 03:00 alf_data
-rw-r–r–   1 root root 5940 Nov  2 17:07 alfresco.log
drwxr-xr-x   2 root root 4096 Oct 31 18:26 css
drwxr-xr-x   7 root root 4096 Oct 31 18:26 images
-rw-r–r–   1 root root 2223 Oct 24 18:16 index.jsp
drwxr-xr-x  19 root root 4096 Oct 31 18:26 jsp
drwxr-xr-x   4 root root 4096 Oct 31 18:26 scripts
drwxr-xr-x   2 root root 4096 Oct 31 18:26 wsdl

It's necessary to install an other product ?

davidc
Star Contributor
Star Contributor
But for the server deployer , I don't find /alfresco/jbpm/deployprocess on
my Alfresco repository :

You won't find /alfresco/jbpm/deployprocess in the file system.  The process definition is deployed via HTTP.

So, the deployment server settings build up the HTTP URL. e.g.

http://192.168.XX.XX:8080/alfresco/jbpm/deployprocess

The Alfresco server has been configured to accept jBPM process designer deployments at the path /alfresco/jbpm/deployprocess.

mamatov
Champ in-the-making
Champ in-the-making
Ok thanks a lot, I understand !!!!



So I changed my settings :

192.168.XX.XX
8080
/alfresco/jbpm/deployprocess


When I click on Test : Success

But when I click on "Deploy process Archive" : An unexpected exeption caused the deployment fail.



Do you have an idea ? :shock:  :shock:

davidc
Star Contributor
Star Contributor
jBPM designer does not always present the source error? This can sometimes make it difficult to diagnose an error in the workflow definition.

Please refer to http://forums.alfresco.com/viewtopic.php?p=12556#12556 where I explain how I normally develop new workflow definitions.

mamatov
Champ in-the-making
Champ in-the-making
jBPM designer does not always present the source error? This can sometimes make it difficult to diagnose an error in the workflow definition.

Please refer to http://forums.alfresco.com/viewtopic.php?p=12556#12556 where I explain how I normally develop new workflow definitions.


Thanks you very much for your support, it's working fine now, I have modified my project and I can deploy it on my server.

So I can apply my new workflow.

I have just a last question, to  Display of Workflow Definition Diagrams
cf : http://wiki.alfresco.com/wiki/WorkflowAdministration#Installing_JBoss_jBPM_Process_Designer

It's necessary toi change 'workflow-outline' " true but I don't find this value on Alfresco repository.

Thanks in adance,

Regards,

davidc
Star Contributor
Star Contributor
The text 'workflow-outline' can be found in the following files:

/jsp/workflow/start-workflow-wizard/workflow-options.jsp
/jsp/workflow/manage-task-dialog.jsp

Depending on your alfresco bundle, you may have to unpack the .war to make the changes.

Also, I'm not sure if this "unsupported" feature made it into 1.4 community final (& 1.4 enterprise beta).

If it's not there, you may have to checkout the latest from SVN.

mamatov
Champ in-the-making
Champ in-the-making
The text 'workflow-outline' can be found in the following files:

/jsp/workflow/start-workflow-wizard/workflow-options.jsp
/jsp/workflow/manage-task-dialog.jsp

Depending on your alfresco bundle, you may have to unpack the .war to make the changes.

Also, I'm not sure if this "unsupported" feature made it into 1.4 community final (& 1.4 enterprise beta).

If it's not there, you may have to checkout the latest from SVN.

Ok thank you very much for your support.

tonylsp
Champ in-the-making
Champ in-the-making
Hello,

     I'm using Alfresco 1.4 community version. I follow all the steps in http://wiki.alfresco.com/wiki/WorkflowAdministration#Installing_JBoss_jBPM_Process_Designer
but i still can't deploy my workflow.
     My eclipse setting is as below.

    192.168.XX.XX
    8080
    /alfresco/jbpm/deployprocess

    While i test the connection it failed, unexpected exception error ocurred with following detail error messages.

  
Server returned HTTP response code:407 for URL:http://172.16.X.X:8080/alfresco/jbpm/deployprocess

    Any idea ?

    Thanks.