Adding Modules
The WSO2 SOA platform inherits the capabilities of Axis2, which allows the platform to be extended using modules. After writing a module, you can add it to a Carbon server. The global modules affect all the services deployed within the server. The Axis2 module management capability is provided by the following feature in the WSO2 feature repository:
Name: WSO2 Carbon - Module Management UI Feature
Identifier: org.wso2.carbon.module.mgt.ui.feature.group
Name: WSO2 Carbon - Module Management Core Feature
Identifier: org.wso2.carbon.module.mgt.server.feature.group
The module management UI and server features above are currently bundled in the service management feature given below:
Name: WSO2 Carbon - Service Management Feature
Identifier: org.wso2.carbon.service.mgt.feature.group
The service management feature is added by default in all service hosting WSO2 middleware products. If it is not included in the product distribution you are using, you can install it by following the instructions given in the Feature Management section.
Follow the instructions below to upload a Module to the server.
Log in to the product's management console and click Add under Modules.
Click Browse to select the module archive file (MAR) you want to upload. For example,
Tip
Use the "+" button to upload more than one module. The "-" button removes the additional upload option.
- Click Upload. If the file is uploaded successfully, a message appears prompting you to restart the server to activate the module. Click OK.
- When the server restarts, the module will be active and displayed on the Deployed Modules page.