Jump to: navigation, search
Line 1: Line 1:
 
= Starting and Testing Workspace Web Edition & Web Services =
 
= Starting and Testing Workspace Web Edition & Web Services =
 +
__TOC__
 +
After you install and configure Workspace Web Edition & Web Services, you should start the nodes in the following order:
  
When the installation is complete, you must start the Workspace Web Edition & Web Services nodes in the following order:
+
# Start the [[HTCCConfigurationOptionsReference#syncNode|synchronization node]]. This is the node you configured in Step 2 of the [[ConfigurationPremise#Modifying_the_Server_Settings|Modifying the Server Settings]] procedure.  
 
 
# Start the web services or synchronization node. This is the node you configured in Step 2 of the [[ConfigurationPremise#Modifying_the_Server_Settings|Modifying the Server Settings]] procedure. For details about the <tt>syncNode</tt> option, see the description in the [[HTCCConfigurationOptionsReference|General Configuration]] options.
 
 
# Start the remaining nodes.
 
# Start the remaining nodes.
  
Complete the following steps for each Workspace Web Edition & Web Services node.
+
==Starting the Workspace Web Edition & Web Services Node==
 
+
Complete the following steps for each WWE&WS node, starting with the syncNode.<br/><br/>
'''Start of Procedure'''
+
'''Start'''
 
<ol>
 
<ol>
 
<li>To start the Web Services node, enter the following command as one complete command line entry, replacing items in square brackets [ ] with the appropriate values as described below:
 
<li>To start the Web Services node, enter the following command as one complete command line entry, replacing items in square brackets [ ] with the appropriate values as described below:
<pre>[java dir]/java -Xmx4096m -Xms4096m -XX:MaxPermSize=512m -XX:PermSize=512m -Djetty.port=[jetty port]  
+
<source lang="text">[java dir]/java -Xmx4096m -Xms4096m -XX:MaxPermSize=512m -XX:PermSize=512m -Djetty.port=[jetty port]  
 
-Djetty.logs=[jetty log dir] -Dconfig.path=[config dir] -Djetty.home=[jetty dir] -Djava.io.tmpdir=/tmp  
 
-Djetty.logs=[jetty log dir] -Dconfig.path=[config dir] -Djetty.home=[jetty dir] -Djava.io.tmpdir=/tmp  
 
-Djava.net.preferIPv4Stack=true -jar [jetty dir]/start.jar --pre=etc/jetty-logging.xml --daemon
 
-Djava.net.preferIPv4Stack=true -jar [jetty dir]/start.jar --pre=etc/jetty-logging.xml --daemon
</pre>
+
</source>
  
*[java dir] &mdash; The home directory for Java. For example, <tt>/usr/bin/java</tt>.
+
*<tt>[java dir]</tt> &mdash; The home directory for Java. For example, <tt>/usr/bin/java</tt>.
*[jetty port] &mdash; The Jetty port. For example, <tt>8080</tt>.
+
*<tt>[jetty port]</tt> &mdash; The Jetty port. For example, <tt>8080</tt>.
*[jetty log dir] &mdash; The log directory for Jetty. For example, <tt>/var/log/jetty</tt>.
+
*<tt>[jetty log dir]</tt> &mdash; The log directory for Jetty. For example, <tt>/var/log/jetty</tt>.
*[config dir] &mdash; The path to the Workspace Web Edition & Web Services config directory you created in Step 6 of the [[DeployWebApp|Deploying the Web Application]] procedure. For example, <tt>/opt/jetty/genconfig</tt>. Workspace Web Edition & Web Services reads a series of configuration files from the location that is defined by the <tt>config.path</tt> system property. To start the server, or a the server startup, the <tt>config.path</tt> is needed; otherwise, the server will not start.
+
*<tt>[config dir]</tt> &mdash; The path to the Workspace Web Edition & Web Services config directory you created in Step 6 of the [[DeployWebApp|Deploying the Web Application]] procedure. For example, <tt>/opt/jetty/genconfig</tt>. Workspace Web Edition & Web Services reads a series of configuration files from the location that is defined by the <tt>config.path</tt> system property. To start the server, or a the server startup, the <tt>config.path</tt> is needed; otherwise, the server will not start.
*[jetty dir] &mdash; The home directory for Jetty. For example, <tt>/opt/jetty</tt>.
+
*<tt>[jetty dir]</tt> &mdash; The home directory for Jetty. For example, <tt>/opt/jetty</tt>.
 
 
{{NoteFormat|The memory allocation <tt>-Xmx4096m, -Xms4096m, -XX:MaxPermSize, -XX:PermSize</tt> is mandatory for the web services node.}}
 
  
 +
{{NoteFormat|The memory allocation <tt>-Xmx4096m, -Xms4096m, -XX:MaxPermSize, -XX:PermSize</tt> is mandatory for the WWE&WS node.}}
  
 
For example, your command line might look like the following:
 
For example, your command line might look like the following:
<pre>
+
<source lang="text">
 
/usr/bin/java -Xmx4096m -Xms4096m -XX:MaxPermSize=512m -XX:PermSize=512m -Djetty.port=80 -Djetty.logs=/var/log/jetty  
 
/usr/bin/java -Xmx4096m -Xms4096m -XX:MaxPermSize=512m -XX:PermSize=512m -Djetty.port=80 -Djetty.logs=/var/log/jetty  
  
Line 32: Line 31:
  
 
-Djava.net.preferIPv4Stack=true -jar /opt/jetty/start.jar --pre=etc/jetty-logging.xml --daemon
 
-Djava.net.preferIPv4Stack=true -jar /opt/jetty/start.jar --pre=etc/jetty-logging.xml --daemon
</pre>
+
</source>
 
</li>
 
</li>
<li>To verify that Workspace Web Edition & Web Services Server is up and running, type the following URL into a web browser: <br>
+
</ol>
 +
'''End'''
 +
 
 +
==Testing the Workspace Web Edition & Web Services Node==
 +
Complete the steps below to verify the Workspace Web Edition & Web Services nodes is up and running.<br/><br/>
 +
'''Start'''
 +
<ol>
 +
<li>Type the following URL into a web browser: <br>
 
<tt>http://[wwews_host]:[wwews_port]/api/v2/diagnostics/version</tt><br/>
 
<tt>http://[wwews_host]:[wwews_port]/api/v2/diagnostics/version</tt><br/>
 
*<tt>[wwews_host]</tt> &mdash; The host name or IP address for the Workspace Web Edition & Web Services node.
 
*<tt>[wwews_host]</tt> &mdash; The host name or IP address for the Workspace Web Edition & Web Services node.
 
*<tt>[wwews_port]</tt> &mdash; The port for the Workspace Web Edition & Web Services node.
 
*<tt>[wwews_port]</tt> &mdash; The port for the Workspace Web Edition & Web Services node.
 
For example, the URL might be <tt><nowiki>http://192.0.2.20:8080/api/v2/diagnostics/version</nowiki></tt><br/><br/>
 
For example, the URL might be <tt><nowiki>http://192.0.2.20:8080/api/v2/diagnostics/version</nowiki></tt><br/><br/>
If the request is successful, the version will be printed as shown below: </li>
+
If the request is successful, the version is printed in the browser: </li>
 
  <nowiki>{
 
  <nowiki>{
 
     statusCode: 0
 
     statusCode: 0
 
     version: "gws-x.x.xxx.xx"
 
     version: "gws-x.x.xxx.xx"
 
}</nowiki>  
 
}</nowiki>  
 +
</li>
 +
</ol>
 +
'''End'''
  
'''End of Procedure'''
+
== Testing Workspace Web Edition==
 
+
Complete the following steps to confirm that Workspace Web Edition is working.<br/><br/>
 
+
'''Start'''
 
 
 
 
 
 
 
 
= Testing the User Interfaces with Workspace Web Edition=
 
 
 
[[Documentation:GC:Agent:Welcome:v851|Workspace Web Edition]] is the agent interface of Workspace Web Edition & Web Services. It is deployed as part of the Workspace Web Edition & Web Services deployment. You configure it by using the [[Documentation:HTCC:IWWDep:Welcome:8.5.1|Workspace Web Edition Configuration Guide]].
 
 
 
=== Workspace Web Edition Agent Desktop ===
 
 
 
 
<ol>
 
<ol>
<li>Once the configuration is complete, launch Workspace Web Edition by navigating to <tt>http://[wwews_host]:[wwews_port]/ui/ad/v1/index.html</tt>.</li>
+
<li>Launch Workspace Web Edition by navigating to <tt>http://[wwews_host]:[wwews_port]/ui/ad/v1/index.html</tt> in a web browser.</li>
 
*<tt>[wwews_host]</tt> &mdash; The host name or IP address for the Workspace Web Edition & Web Services node.
 
*<tt>[wwews_host]</tt> &mdash; The host name or IP address for the Workspace Web Edition & Web Services node.
 
*<tt>[wwews_port]</tt> &mdash; The port for the Workspace Web Edition & Web Services node.
 
*<tt>[wwews_port]</tt> &mdash; The port for the Workspace Web Edition & Web Services node.
Line 65: Line 64:
  
 
<li>Enter the credentials for any of the previously created agents. Note that the user must be of the agent type.</li>
 
<li>Enter the credentials for any of the previously created agents. Note that the user must be of the agent type.</li>
<li>After clicking Log In, the Workspace Web Edition agent desktop view is displayed and the agent is ready to work.</li>
+
<li>After clicking <tt>Log In</tt>, the Workspace Web Edition agent desktop view is displayed and the agent is ready to work.</li>
 
</ol>
 
</ol>
 +
'''End'''
 
<!--
 
<!--
 
=== Workspace Web Edition Supervisor Desktop ===
 
=== Workspace Web Edition Supervisor Desktop ===

Revision as of 14:57, February 25, 2015

Starting and Testing Workspace Web Edition & Web Services

After you install and configure Workspace Web Edition & Web Services, you should start the nodes in the following order:

  1. Start the synchronization node. This is the node you configured in Step 2 of the Modifying the Server Settings procedure.
  2. Start the remaining nodes.

Starting the Workspace Web Edition & Web Services Node

Complete the following steps for each WWE&WS node, starting with the syncNode.

Start

  1. To start the Web Services node, enter the following command as one complete command line entry, replacing items in square brackets [ ] with the appropriate values as described below:
    [java dir]/java -Xmx4096m -Xms4096m -XX:MaxPermSize=512m -XX:PermSize=512m -Djetty.port=[jetty port] 
    -Djetty.logs=[jetty log dir] -Dconfig.path=[config dir] -Djetty.home=[jetty dir] -Djava.io.tmpdir=/tmp 
    -Djava.net.preferIPv4Stack=true -jar [jetty dir]/start.jar --pre=etc/jetty-logging.xml --daemon
    • [java dir] — The home directory for Java. For example, /usr/bin/java.
    • [jetty port] — The Jetty port. For example, 8080.
    • [jetty log dir] — The log directory for Jetty. For example, /var/log/jetty.
    • [config dir] — The path to the Workspace Web Edition & Web Services config directory you created in Step 6 of the Deploying the Web Application procedure. For example, /opt/jetty/genconfig. Workspace Web Edition & Web Services reads a series of configuration files from the location that is defined by the config.path system property. To start the server, or a the server startup, the config.path is needed; otherwise, the server will not start.
    • [jetty dir] — The home directory for Jetty. For example, /opt/jetty.
    Important
    The memory allocation -Xmx4096m, -Xms4096m, -XX:MaxPermSize, -XX:PermSize is mandatory for the WWE&WS node.

    For example, your command line might look like the following:

    /usr/bin/java -Xmx4096m -Xms4096m -XX:MaxPermSize=512m -XX:PermSize=512m -Djetty.port=80 -Djetty.logs=/var/log/jetty 
    
    -Dconfig.path=/opt/jetty/genconfig -Djetty.home=/opt/jetty -Djava.io.tmpdir=/tmp 
    
    -Djava.net.preferIPv4Stack=true -jar /opt/jetty/start.jar --pre=etc/jetty-logging.xml --daemon

End

Testing the Workspace Web Edition & Web Services Node

Complete the steps below to verify the Workspace Web Edition & Web Services nodes is up and running.

Start

  1. Type the following URL into a web browser:
    http://[wwews_host]:[wwews_port]/api/v2/diagnostics/version
    • [wwews_host] — The host name or IP address for the Workspace Web Edition & Web Services node.
    • [wwews_port] — The port for the Workspace Web Edition & Web Services node.
    For example, the URL might be http://192.0.2.20:8080/api/v2/diagnostics/version

    If the request is successful, the version is printed in the browser:
  2. {
        statusCode: 0
        version: "gws-x.x.xxx.xx"
    } 
    

End

Testing Workspace Web Edition

Complete the following steps to confirm that Workspace Web Edition is working.

Start

  1. Launch Workspace Web Edition by navigating to http://[wwews_host]:[wwews_port]/ui/ad/v1/index.html in a web browser.
  • [wwews_host] — The host name or IP address for the Workspace Web Edition & Web Services node.
  • [wwews_port] — The port for the Workspace Web Edition & Web Services node.

For example, the URL might be http://192.0.2.20:8080/ui/ad/v1/index.html

  • Enter the credentials for any of the previously created agents. Note that the user must be of the agent type.
  • After clicking Log In, the Workspace Web Edition agent desktop view is displayed and the agent is ready to work.
  • End

    Comments or questions about this documentation? Contact us for support!