Versions Compared

Key

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

The steps below show This section describes how to use WSO2 Developer Studio to develop individual artifacts and export them as a single C-App artifact. You artifact that you can then deploy the C-App on the WSO2 product instance. Use this method to move the configurations of your server from one environment to another.

...

in the ESB. 

  • For instructions to develop individual artifacts, see Creating ESB Artifacts in the Developer Studio documentation.
  • For instructions to create

...

  • the C-App and export the C-App as a Carbon Application Archive (CAR) file

...

After you create individual artifacts and export them as a CAR file, you can upload the CAR file into your

...

ESB instance.

Tip

Tip: When you create a CAR file with artifacts, ensure that each artifact name is the same as the relevant artifact file name. 

Follow the instruction below to upload the CAR file into your ESB instance, via the Management Console.

  1. Click the Main tab on the Management Console, go to Manage -> Carbon Applications and then click Add.
    Image Added
    The Add Carbon Applications screen appears. 
  2. Click Choose File, select your CAR file and click Upload.
    Image Removed  
        Image Added

    Info
    • The CAR files that you deploy this way upload are dropped to <PRODUCTto the <PRODUCT_HOME>/repositorytmp/carbonapps/{tenant-ID}. {tenant-ID} is 0 in a single-tenanted environment. 0 is the super tenant ID.   directory.
    • As an alternative to uploading the C-App using via the management console, you can manually copy the CAR archive into <PRODUCTinto the <ESB_HOME>/repository/deployment/server/carbonapps/{tenant-ID} manually directory, and it will be deployed.
    • Manual deployment in a multi-tenanted environment is not recommended if you are unaware not aware of the tenant ID.
    If

After you upload the CAR file, follow the step given below to check whether the CAR file is successfully deployed:

  • Click the Main tab on the Management Console, go to Manage -> Carbon Applications and then click List. The Carbon Applications List screen appears. If successfully deployed, the C-App will be listed

...

Image Removed

...

  • here.
Note
titleNote
  • In a CAR file, if a particular artifact name is different from the relevant artifact file name, re-deploying the CAR file fails with an error.
  • If a CAR file has one or more artifacts that have a artifact name different from the relevant artifact file name, removing those artifacts from memory fails when you delete the CAR file.