Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to the product's management console and click Web Applications under Applications in the navigator. The Upload Web Applications screen appears. 
  2. Browse and select your Web archive file. 
  3. If you are logged in as the super tenant, you can select the host for your web application. In the above example, the host is the default 'localhost'. If you have virtual hosts configured in you AS, other domains will be listed in addition to 'localhost'. This means that you can deploy the same application in multiple domains.
  4. You can use the plus sign ('+') to add multiple web applications.

  5. Select the host name that should be used for the web application. Read more information about setting up hosts in AS.
  6. Click UploadIf the file is uploaded successfully, a message appears prompting you to refresh the page. Click OK.

  7. The .war file will be listed in the Running Applications page.

    Info

    If the Web application is faulty, a 'Faulty Web Application Groups' link will appear in the Running Applications page. You can click the link to view the errors. 

...

Info

WSO2 supports the deployment of Jaggery applications based on Apache Tomcat through the following feature in the WSO2 feature repository:

Name WSO2 Carbon - Jaggery Server Feature
Identifier: org.wso2.carbon.jaggery.server.feature.group

The Jaggery application management feature is bundled in AS (version 5.0.0 onwards) by defaultIf the WSO2 product you are using does not have this feature, you can install it using the instructions provided in the Working with Features section. Once installed, the necessary menus will appear in the Management Console.

Follow the instructions below to deploy the file in a running Carbon instance.

  1. Before deploying a Jaggery application through the Management Consolemanagement console, bundle it as a '.zip' archive with all the resources and third-party libraries related to Jaggery applications.
  2. Log in to the product's management console. Click Add under the Jaggery Applications menu.
  3. The Upload Jaggery Applications page appears. Select your file and click Upload.
    If you want to add multiple services at the same time, click on the '+' sign next to Browse.
  4. If the Jaggery application was deployed successfully, a message appears confirming the deployment and opens the Running Applications page. For example,
  5. If the Jaggery application is faulty, a "Faulty Jaggery Application Groups" link will appear. You can click the link to view the errors.

Info

Instead of using the Management Console, you can manually place the .zip file in <PRODUCT_HOME>/repository/deployment/server/jaggeryapps and it will be deployed. Instead of creating a zip file, you can also add the resource files such as style sheets, images, java scripts etc. in the said location (preferably within a folder) along with the index.jag file. The files will be auto deployed.