This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, go to https://wso2.com/documentation/.

Directory Structure of WSO2 Products

All WSO2 products are built on top of the Carbon platform. The directory structure described below is the structure that is inherited by all Carbon-based WSO2 products. However, note that each product may contain folders and files that are specific to the product, in addition to what is described below.

<PRODUCT_HOME> refers to the root folder of the WSO2 product distribution. <PROFILE_HOME> refers to the root directory of other profiles that are shipped as separate runtimes with a product.

FolderDescriptionGeneral Folder PathFolder Path for Profiles
binContains various scripts (.sh & .bat scripts).<PRODUCT_HOME>/bin/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/bin/
databaseContains the databases.<PRODUCT_HOME>/repository/database/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/repository/database/
dbscriptsContains all the database scripts.<PRODUCT_HOME>/dbscripts/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/dbscripts/
libContains the basic set of libraries required for starting a WSO2 product in standalone mode.<PRODUCT_HOME>/lib/<PRODUCT_HOME>/wso2/lib/
repositoryThe repository where services and modules deployed in a WSO2 product are stored. In addition to this, the repository/components directory contains the Carbon runtime and JAR files added by users (such as third party libraries).<PRODUCT_HOME>/repository/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/repository/
confContains configuration files.<PRODUCT_HOME>/repository/conf/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/conf/
componentsContains different components (OSGI bundles, features etc.) that are related to the product.<PRODUCT_HOME>/repository/components/ <PRODUCT_HOME>/wso2/components/
pluginsContains plugins that are related to the product.<PRODUCT_HOME>/repository/components/plugins/ <PRODUCT_HOME>/wso2/components/plugins/
patchesContains patches that are issues with the product.<PRODUCT_HOME>/patches/ <PRODUCT_HOME>/patches/
logsContains all log files created during execution.<PRODUCT_HOME>/repository/logs/<PRODUCT_HOME>/repository/logs/
resourcesContains additional resources that may be required, including sample configurations and sample resources.<PRODUCT_HOME>/resources/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/wso2/resources/
samplesContains sample services and client applications to demonstrate the functionality and capabilities of WSO2 products.

<PRODUCT_HOME>/samples/

<PRODUCT_HOME>/samples/<PROFILE_HOME>/
tmpUsed for storing temporary files,and is pointed to by the java.io.tmpdir system property.<PRODUCT_HOME>/tmp/<PRODUCT_HOME>/wso2/<PROFILE_HOME>/tmp/
LICENSE.txtApache License 2.0 and other relevant licenses under which the WSO2 product is distributed.<PRODUCT_HOME>/LICENSE.txtN/A
README.txtThis document.<PRODUCT_HOME>/README.txtN/A
release-notes.htmlRelease information for the WSO2 product.<PRODUCT_HOME>/release-notes.htmlN/A
wso2Contains the directories of other profiles that are shipped as separate runtimes.

<PRODUCT_HOME>/wso2/

N/A