This documentation is for WSO2 Data Services Server 3.2.2. View documentation for the latest release.
Page Comparison - Samples Setup (v.11 vs v.12) - Data Services Server 3.2.2 - WSO2 Documentation

Versions Compared


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


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 <DSS_HOME>/Samples/ directory.

  1. Stop any Data Services Server DSS instances that are running. This is recommended in order to clean the current sample database and to redeploy the services.
  2. To clean the current sample database by removing the existing sample data services:
    1. Open the command prompt and go to the <DSS_HOME>/samples directory.
    2. Execute the ant clean command.

      Code Block
      cd <DSS_HOME>/samples
      ant clean 
  3. To redeploy all samples: 
    1. Go to the <DSS_HOME>/samples directory in the command prompt.
    2. Execute the ant command. 

      Code Block


If you have deployed the samples in the server, start the server as explained below.