This documentation is for WSO2 Governance Registry 5.1.0. View documentation for the latest release.
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

« Previous Version 4 Next »

Starting the server

To start the server, you run the script wso2server.bat (on Windows) or wso2server.sh (on Linux/Solaris) from the bin folder. Alternatively, you can install and run the server as a Windows service.

To start and stop the server in the background mode of Linux, run wso2server.sh start and wso2server.sh stop commands.

  1. Open a command prompt:
    • On Windows, choose Start -> Run, type cmd at the prompt, and press Enter.
    • On Linux/Solaris, establish a SSH connection to the server or log in to the text Linux console.
  2. Execute one of the following commands, where <GREG_HOME> is the directory where you installed the product distribution: <GREG
    • On Windows: <GREG_HOME>/bin/wso2server.bat --run
    • On Linux/Solaris: sh <GREG_HOME>/bin/wso2server.sh

      If you want to provide access to the production environment without allowing any user group (including admin) to log into the management console, execute one of the following commands.

      • On Windows: <PRODUCT_HOME>\bin\wso2server.bat --run -DworkerNode
      • On Linux/Solaris: sh <PRODUCT_HOME>/bin/wso2server.sh -DworkerNode

      For additional options you can use with these startup commands, type -help after the command, such as: sh <PRODUCT_HOME>/bin/wso2server.sh -help 

The operation log appears. When the product server is running, the log displays the message "WSO2 Carbon started in 'n' seconds."

Populating sample data

WSO2 G-Reg 5.1.0 distribution pack is shipped with a collection of sample artifacts of all the supported artifact categories, which you can populate and try out. Follow the steps below to populate the sample artifacts.

  1. Run the WSO2 G-Reg server. For instructions, see Starting the server.

  2. Navigate to <G-REG_HOME>/samples/data-populator/Populator/ directory using the command prompt.
  3. Execute the following command: ant run
  4. View the populated sample artifacts in the G-Reg Store. For instructions on accessing the G-Reg Store, see Running the G-Reg Store.

Running the G-Reg Store

Once the server has started, you can run the G-Reg Store by opening a Web browser and typing in the its URL. The URL is displayed as the last line in the start script's console and log. For example:

running the G-Reg Store 

The URL should be in the following format: https://<SERVER_HOST>:9763/store

Alternatively, You can use the following Go To Store button in the G-Reg Publisher to access the G-Reg Store.

You can use this URL to access the G-Reg Store on this computer from any other computer connected to the Internet or LAN. When accessing the G-Reg Store from the same server where it's installed, you can type "localhost" instead of the IP address: https://localhost:9763/store

At the sign-in screen, sign in to the G-Reg Store using admin as both the username and password. You view the G-Reg Store as shown below which you can use to access the published governance artifacts.  

Running the G-Reg Publisher 

Once the server has started, you can run the G-Reg Publisher by opening a Web browser and typing in the its URL. The URL is displayed as the last line in the start script's console and log. For example:

running the G-Reg publisher

The URL should be in the following format: https://<SERVER_HOST>:9443/publihser

You can use this URL to access the G-Reg Publisher on this computer from any other computer connected to the Internet or LAN. When accessing the G-Reg Publisher from the same server where it's installed, you can type "localhost" instead of the IP address: https://localhost:9443/publisher

At the sign-in screen, sign in to the G-Reg Publisher using admin as both the username and password. You view the G-Reg Publisher as shown below which you can use to manage the product.  

viewing the G-Reg publisher

Stopping the server

To stop the server, press Ctrl+C in the command window, or click the Shutdown/Restart link in the navigation pane in the Management Console.

  • No labels