[Download] | [Documentation Home] | [Release Note]

Deploying Data Services Samples

Introduction

The data services samples consists of several data services configuration files (.dbs), which are to be deployed in WSO2 Data Services Server. Also if a data service contains a services.xml file, it should also be deployed alongside the .dbs file.

Deploy

Follow the below steps for deploying the data services samples.

  1. Stop the currently running Data Services Server - This is recommended, to clean the current sample database and redeploy the services.
  2. Remove the current sample database and remove existing sample data services.
    # cd CARBON_HOME/samples
    # ant clean
  3. Deploy all the samples.
    # ant
  4. Start the Data Services Server
    # cd CARBON_HOME/bin
    # wso2server.bat|sh