This documentation is for WSO2 Data Services Server 3.2.2. View documentation for the latest release.
Samples Setup - Data Services Server 3.2.2 - WSO2 Documentation
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Before you run DSS samples, there are some data service configuration files (.dbs) to be deployed on the server. Also, if a data service contains a services.xml file, it should also be deployed alongside the .dbs file. Follow the instructions below to deploy and set them up.

  1. Stop any Data Services Server 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 and existing sample data services:
    • Open the command prompt and go to the <DSS_HOME>/samples directory.
    • Execute the ant clean command.

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

      <DSS_HOME>/samples
      ant


  4. To start the Data Services Server again:

    • Go to the <DSS_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 <DSS_HOME>/bin
      ./wso2server.bat 

      For Linux OS:

      cd <DSS_HOME>/bin
      ./wso2server.sh
  • No labels