com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Configuring the CLI Tool

 Follow the steps mentioned below to be able to use the CLI tool:

You need Java 1.6 or a later version.

  1. Extract the CLI tool from the following ZIP file to the home directory or a place of your choice.
    wso2s2cli-1.0.1.zip
  2. Export the host and port of the SC as environment variables in your  bashrc  file before using the CLI Tool.
    Example:

    export STRATOS_URL=https://s2demo.wso2.com:9445
  3. Export the following environment variables by adding them into your bashrc file.

    export JAVA_HOME=/opt/jdk1.6.0_24/
    export PATH=$JAVA_HOME/bin:$PATH
    $ cd wso2s2cli-1.0.1
  4. Add execute permission to the script.

    $ chmod +x ./stratos.sh
  5. If you wish you can also export your username and password as environment variables.
    If you export only the username, you will be prompted to enter the password.

    export STRATOS_USERNAME=<username>
    export STRATOS_PASSWORD=<password>


    For more information on how to use the CLI Tool see the CLI Tool User Guide.

com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.