WSO2 Business Process Server v3.0.1 Documentation

##### Overview

- Home
- Release Note
- WS-BPEL Compliance
- License

##### Downloads

- Releases

##### Installation Guide

- Installing WSO2 BPS

##### Quick Start Guide

- Modeling the process
- Deploying the process
- Testing the process

##### User Guide

- Deploying BPEL Processes
- Deploying Human Tasks
- Managing BPEL processes
- Managing BPEL process instances
- QoS for BPEL processes
- Securing BPEL processes
- Invoking secured partner services
- Versioning
- Management API

##### Human Task Guide

- Human Tasks Quick Start Guide
- Deploying HumanTasks
- Managing Tasks
- Developing a Human Task Artifact
- Human Task Management and Configuration
- Human Task Concepts

##### Administrator Guide

- External data sources Configuration
- Registry Configuration
- Events
- Unified Endpoints
- BPEL Extensions
- Transaction Factory Configuration
- Message Exchange Interceptors
- OpenJPA specific properties
- JMS Transport Configuration
- Process Instance Cleanup Tasks
- Process Hydration and Dehydration
- Enabling Peer-to-Peer(P2P) Communication
- Setting up a BPS Cluster

##### Best Practices

- Process Deployment Best Practices

##### Concepts

- Process Versioning
- Process instance events
- Partner links

##### WS-BPEL Extensions

- Activity Failure and Recovery
- Extension Activities and Extensible Assign Operations
- XPath Extensions
- Iterable ForEach
- Flexible Assigns
- BPEL4People Extension

##### Samples

- HelloWorld
- If-Else
- ForEach
- While
- Repeat Until
- Flow and Links
- Pick
- Synchronous and Asynchronous Service Invocations
- Fault Handling
- Split
- XslTransform
- Compensation Handler
- Event Handler

##### Resources

- FAQ
- External Articles
- Library
- Source Code

##### Community

- Forum
- Mailing Lists

##### Project Information

- Issue Tracking

# Server Roles

A server-role is a parameter that is mentioned in carbon.xml for wso2carbon based products. Each product has a different default ServerRoles property in its carbon.xml. Default server role values for WSO2Carbon based products are as follows.

- WSO2 AppServer - "ApplicationServer"
- WSO2 BAM - "BusinessActivityMonitor"
- WSO2 BPS - "BusinessProcessServer"
- WSO2 BRS - "BusinessRulesServer"
- WSO2 DSS - "DataServicesServer"
- WSO2 ESB - "EnterpriseServiceBus"
- WSO2 GS - "GadgetServer"
- WSO2 GReg - "GovernanceRegistry"
- WSO2 IS - "IdentityServer"
- WSO2 MS - "MashupServer"

This property value is used for deployment of C-App archives. Generally a C-App consists of a set of resources that is to be deployed in different products. So if an user deploys a C-App in a carbon product all of the resources cannot be deployed in that particular product instance. To sort out which can be deployed and which is can't server-role property is used. When a C-App is being deployed it reads the ServerRoles property in carbon.xml and deploys only the resources which matches the server-role values in there. Here is a example list of C-App resources that map to default server roles.

- ApplicationServer - foo.aar, jax-wx.jar
- EnterpriseServiceBus - proxy.xml
- BusinessProcessServer - my_bpel.zip
- GadgetServer - gadget.xml