5.5. Deploying / undeploying a process

Once Orchestra is started, it is then possible to deploy a new process on the engine :

>ant deploy -Dbpel=<process>.bpel -Dwsdl=<process>.wsdl -Dextwsdl=<wsdl1,wsdl2>

Orchestra also provides the possibility to use an archive to deploy a process. This archive should be a zip file with the extension .bar. Here is the command line to deploy such an archive :

>ant deploy -Dbar=<process>.bar

Warning : The archive should be a zip file structured as described bellow :

/<process>.bpel
/<process>.wsdl
/<files>.wsdl

To undeploy a process, use the following command line :

>ant undeploy -Dprocess=<process_name>

Warning : the process name should be fully qualified. This means that it needs to contain to namespace. For instance :

{http://orchestra.ow2.org/weather}weather

Details of deployment errors are logged into the "error.txt" file.

Alternatively you can use Section 6.3, “Process View” to deploy a .bar file.