Deploying Axis2 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.Â
If you are deploying a module in Axis2 manually, you must create a directory with the name "modules" in the webapps/axis2/WEB-INF
 directory of their servlet container, and then copying the MAR file to that directory. For more information, refer to http://axis.apache.org/axis2/java/core/docs/modules.html
Follow the instructions below to upload a Module to the server using the management console:
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.
Log in to the product's management console and click Add under Main -> 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.Â