Deploy CApp to a running server inside Eclipse

Before deploy the created CApp project, you have to choose the artifacts you need to deploy. For that, double click on the root-artifact.xml and select artifacts you need to deploy and save the changes.





New Server Runtime



Go to Servers view, right click and select New -> Server .





New Server Runtime



Select WSO2 Carbon 3.0 under the catogery of WSO2.





New Server Runtime



If you have not added WSO2 Server instances before, you will need to specify location of the downloaded WSO2 Server instance.





New Server Runtime



Now you will see WSO2 Carbon 3.0 is added for Server Runtime Environments. Then click OK.





New Server Runtime



You can change ports if you want. If the default ports are not used by any other application, you can keep them as they are. After setting the ports click Next.





New Server Runtime



Add the CApp project and click Finish.





New Server Runtime



Now you will see newly added server is listed in the Servers view. Right click on the WSO2 Carbon 3.0 at localhost and select Start from the menu.





New Server Runtime



You will see messages are pop up in the console and when the deployment is done, it will ask to restart the server.





New Server Runtime







New Server Runtime



When the server is restarted, you can check whether your CApp project is deployed.





New Server Runtime