JBoss.orgCommunity Documentation
If you want to deploy a BPEL project to JBoss BPEL Runtime, you should create a bpel-deploy.xml file. JBoss tools can help you to create it:
Create the bpel-deploy.xml by selecting New > Other... > BPEL 2.0 > Apache ODE Deployment Descriptor. Click the Next button.
On the next wizard page you should enter the following information:
BPEL Project: Click the Browse... button to select the BPEL project in your workspace which you want to deploy to the runtime. Please note, that you should select the bpelContent folder in your new BPEL project as a value of BPEL Project field because the bpel-deploy.xml should be created in this place.
File name: The default value is bpel-deploy.xml. Please, don't change it.
Click on Finish button to close the wizard and a new bpel-deploy.xml file will be created.
Double-click the bpel-deploy.xml file to open it in ODE Descriptor Deployment Editor. In the Inbound Interfaces section, click the Associated Port column and select HelloWorldProcessPort in the dropdown box.The Related Service and Binding Used columns should be automatically filled in. Save the bpel-deploy.xml.
Suppose you have installed the JBoss BPEL Runtime-RiftSaw, now you can create a server for JBoss BPEL runtime.
Open the JBoss Server view by selecting Windows > Show View > Other... > Server > JBoss Server view.
Right-click the JBoss Server view and select New > Server to open the New Server Wizard:
Select JBoss AS 5.1 as a server type.
Please note, that only JBoss As 5.1 or higher version supports BPEL.
Click the Next button. On the next page, you should input your JBoss As location. Then click the Next button and you will get the page like this:
Select HelloWorld, then click the Add button to add the project to the server. Then click on the Finish button.
Start the server by right-clicking on the server and selecting the Start item.
If some aspects of server creation is not clear, please, read JBoss Server Manager Reference Guide for more details.
You can enter the link http://localhost:8080/bpel/processes.html to the browser to get the deployed processes.
If there's anything we didn't cover or you can't figure out, please feel free to visit our JBoss Tools Users Forum to ask questions. There we are also waiting for your suggestions and comments.