Versions Compared

Key

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

...

  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. Clean To clean the current sample database and existing sample data services using the following commands:
    • # cd Open the command prompt and go to the <DSS_HOME>/samples directory.
    • # ant clean
    Deploy all samples by navigation to
    • Execute the ant clean command.

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

    Start
    • Code Block
      <DSS_HOME>/samples
      ant


  4. To start the Data Services Server

    .
  5. # cd CARBON_HOME/bin
  6. # wso2server.bat on Windows and wso2server.sh on Linux

    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:

      Code Block
      cd <DSS_HOME>/bin
      ./wso2server.bat 

      For Linux OS:

      Code Block
      cd <DSS_HOME>/bin
      ./wso2server.sh