WSO2 Business Process Server v3.1.0 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 Manager

## Introduction

Server Roles Manager is a component to manage server roles property for WSO2Carbon based products. Read more about Server Roles.

As carbon supports adding different product features into one product instance original concept of the server role property being added into carbon.xml is hard to manage as users may have to manually modify the carbon.xml to include the server-roles related to the product feature they have added to a carbon product instance. As WSO2 Stratos and WSO2 Mars are introduced above action is not possible for a tenant since the tenant user is remote to the server instance.

To overcome those issues server role manager is introduced. Server role manager will store the both carbon.xml default product roles and user/tenant specified server roles in Configuration registry. So when a C-App is deploying in carbon the C-App deployer will check for afro-mentioned server roles from the registry instead of carbon.xml.

## How It Works

You can access the server roles manager UI clicking 'Configure -> Server Roles' or directly from https://<host>:<port>/carbon/roles-mgt/server-roles-mgt.jsp . Server Roles Manager Displays all the server roles included in the current product instance in the landing page.

Figure 1: Server Roles Manager Landing page.

In server roles manager, server roles properties will be of two types, Default and Custom. Default type will be all the server roles picked from that particular product instance's carbon.xml and all other server roles added by the user will have type custom.

## Functionality

Server Roles Manager has two basic functionalities,

1. Add Server Role

You can add any textual name as a server role without special characters except underscore.

Figure 2: Add Server Role.

Click the link 'Add New Server Role' and a drop down menu will appear to give the new role name. Just enter the preferred server role name than click Add, and it will add the server role name.

2. Remove Server Role

Simply click the garbage/delete icon () at the right side of the any existing server role. It will prompt a confirmation dialog and once confirmed it will delete the server role.

Figure 2: Remove Server Role.

Note: Here users can even delete a default server role. Once it is deleted when next time loading server role manager will not pick it up from the carbon.xml.