Jump to: navigation, search
(Update with the copy of version: 8.5.2DRAFT)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=Installing and Configuring Jetty=
+
=Installing and configuring Jetty=
Jetty version 8 is a mandatory component that must be installed and configured on each Workspace Web Edition & Web Services node prior to starting the installation and configuration of Workspace Web Edition & Web Services.
+
{{NoteFormat|Complete the steps on this page if you're installing Web Services and Applications version 8.5.201.09 or earlier; Jetty is embedded in newer versions of Web Services and Applications.}}
 
+
__TOC__
<!-- Available styles: (default)-Important, 2-Tip, 3-Warning -->
+
Jetty version 9 is a mandatory component that must be installed and configured on each Web Services node prior to starting the installation and configuration of Web Services and Applications.
<!-- Important: equal signs (=) will not work in a note. Use the equivalent HTML code (&#61;) instead.-->
+
{{NoteFormat|Jetty version 8 is no longer supported by Web Services. For more information about Jetty, refer to the {{#Widget:ExtLink|link=http://www.eclipse.org/jetty/documentation/current/|displaytext=Jetty documentation}}.}}
{{NoteFormat|For more information about Jetty, refer to the [http://wiki.eclipse.org/Jetty Jetty documentation].}}
 
  
 +
==Install Jetty==
 
'''Prerequisites'''
 
'''Prerequisites'''
*You have installed the latest [http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Java 1.7 JDK 64bit for Linux]. For more information, refer to the [http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html Java documentation].
+
*You have installed the latest {{#Widget:ExtLink|link=http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html|displaytext=Java 1.7 JDK 64bit for Linux}}. For more information, refer to the {{#Widget:ExtLink|link=http://docs.oracle.com/javase/7/docs/webnotes/install/linux/linux-jdk.html|displaytext=Java documentation}}.
  
'''Start of Procedure'''<br/>
 
  
 
<ol>
 
<ol>
<li>[http://wiki.eclipse.org/Jetty/Starting/Downloads#Jetty.40eclipse_Download Download Jetty version 8 from Eclipse].</li>
+
<li>{{#Widget:ExtLink|link=http://download.eclipse.org/jetty/|displaytext=Download the latest Jetty version available in stable-9 from Eclipse}}.</li>
<li>Copy the Jetty archive to the installation directory. For example, <tt>/opt/jetty</tt><br/></li>
+
<li>Copy the Jetty archive to the installation directory. For example: <tt>/opt/jetty</tt><br/></li>
<li>Use a tar utility to extract the files. For example, <tt>tar -zxvf jetty-distribution-8.1.14.v20131031.tar.gz</tt><br/></li>
+
<li>Use a tar utility to extract the files. For example: <tt>tar -zxvf jetty-distribution-9.2.1.v20140609.tar.gz</tt><br/></li>
 
<li>Start Jetty to confirm it has been installed correctly:</li>
 
<li>Start Jetty to confirm it has been installed correctly:</li>
 
  <nowiki>[java_path]/java -jar [jetty_path]/start.jar </nowiki>
 
  <nowiki>[java_path]/java -jar [jetty_path]/start.jar </nowiki>
*[java_path] &mdash; The path to your Java installation. For example, <tt>/user/bin</tt>.
+
*[java_path] &mdash; The path to your Java installation. For example, <tt>/usr/bin</tt>.
 
*[jetty_path] &mdash; The path to your Jetty installation. For example, <tt>/opt/jetty</tt>.
 
*[jetty_path] &mdash; The path to your Jetty installation. For example, <tt>/opt/jetty</tt>.
 
<li>Test Jetty by entering the following URL in a web browser: <tt>http://[host]:8080</tt></li>
 
<li>Test Jetty by entering the following URL in a web browser: <tt>http://[host]:8080</tt></li>
 
*[host] &mdash; The host name (fully qualified domain name) or IP address where you installed Jetty.
 
*[host] &mdash; The host name (fully qualified domain name) or IP address where you installed Jetty.
  
You should see a Jetty Test application page similar to the following:
+
You should see a 404 error page from Jetty.
[[File:Jetty-Test.jpg|frame|center|Jetty test application page]]
+
 
<li>Stop Jetty by pressing <tt>Ctrl+c</tt>.
+
<li>Stop Jetty by pressing <tt>Ctrl+c</tt>.</li>
 
</ol>
 
</ol>
 +
{{NoteFormat|If you plan to use the Gplus Adapter for Salesforce or WebRTC for Workspace Web Edition, you should also {{#Widget:ExtLink|link=https://eclipse.dev/jetty/documentation/jetty-9/index.html#configuring-ssl|displaytext=configure Jetty for SSL}}.}}
  
'''End of Procedure'''
+
==Next step==
 
+
*[[InstallingAndDeployingCassandra|Installing and configuring Cassandra]]
  
 
[[Category:V:HTCC:8.5.2]]
 
[[Category:V:HTCC:8.5.2]]

Latest revision as of 07:18, September 6, 2023

Installing and configuring Jetty

Important
Complete the steps on this page if you're installing Web Services and Applications version 8.5.201.09 or earlier; Jetty is embedded in newer versions of Web Services and Applications.

Jetty version 9 is a mandatory component that must be installed and configured on each Web Services node prior to starting the installation and configuration of Web Services and Applications.

Important
Jetty version 8 is no longer supported by Web Services. For more information about Jetty, refer to the Jetty documentation.

Install Jetty

Prerequisites


  1. Download the latest Jetty version available in stable-9 from Eclipse.
  2. Copy the Jetty archive to the installation directory. For example: /opt/jetty
  3. Use a tar utility to extract the files. For example: tar -zxvf jetty-distribution-9.2.1.v20140609.tar.gz
  4. Start Jetty to confirm it has been installed correctly:
  5. [java_path]/java -jar [jetty_path]/start.jar 
    
  • [java_path] — The path to your Java installation. For example, /usr/bin.
  • [jetty_path] — The path to your Jetty installation. For example, /opt/jetty.
  • Test Jetty by entering the following URL in a web browser: http://[host]:8080
    • [host] — The host name (fully qualified domain name) or IP address where you installed Jetty.

    You should see a 404 error page from Jetty.

  • Stop Jetty by pressing Ctrl+c.
  • Important
    If you plan to use the Gplus Adapter for Salesforce or WebRTC for Workspace Web Edition, you should also configure Jetty for SSL.

    Next step

    This page was last edited on September 6, 2023, at 07:18.
    Comments or questions about this documentation? Contact us for support!