This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Samples Setup
To get started on the data integration samples, set up the following in your product server:
Note that WSO2 EI is shipped with the following changes to what is mentioned in this documentation:<PRODUCT_HOME>/
repository/samples/
 directory that includes all Data Integration samples is changed to <EI_HOME>/
samples/data-services/
.<PRODUCT_HOME>/
repository/samples/resources/
 directory that includes all artifacts related to the Data Integration samples is changed to <EI_HOME>/
samples/data-services/resources/
.
Step 1: Deploy the sample data services
In order to run a particular sample, the configuration files (.dbs
) relevant to that data service should be deployed in the server. Also, if a data service contains a services.xml file, it should also be deployed along with the .dbs file. Follow the steps given below to deploy the .dbs files and the services.xml
 files (if applicable) of all the samples that are in the <EI_HOME>/Samples/data-services
 directory.
- Stop any server instances that are running. This is recommended in order to clean the current sample database and to redeploy the services.
- To clean the current sample database by removing the existing sample data services:
- Open the command prompt and go to theÂ
<EI_HOME>/Samples/data-services
  directory. Execute theÂ
ant clean
 command.cd <EI_HOME>/Samples/data-services ant cleanÂ
- Open the command prompt and go to theÂ
- To redeploy all samples:Â
- Go to theÂ
<EI_HOME>/Samples/data-services
 directory in the command prompt. Execute theÂ
ant
 command.Â<EI_HOME>/Samples/data-services ant
- Go to theÂ
Step 2: Start the server
If you have deployed the samples, start the server as explained below.
- Go to theÂ
<EI_HOME>/bin
 directory in the command prompt. Start the server by executing the command relevant to the OS as shown below.
For Windows OS:cd <EI_HOME>/bin ./integrator.batÂ
For Linux OS:
cd <EI_HOME>/bin ./integrator.sh