Jump to: navigation, search
(Created page with "=Upgrading from standalone to embedded Jetty= Migration from 8.5.200.09 includes a transition to embedded Jetty. This transition includes a new set of configuration files. I...")
 
Line 8: Line 8:
  
 
<ol>
 
<ol>
<li>Stop the Jetty web server on the node.</li>
 
<li>If you installed Jetty as service, use the <tt>chkconfig jetty9 disable</tt> command to disable the service to prevent autostart and potential port conflicts.</li>
 
<li>[[Documentation:HTCC:Dep:DeployWebApp|Deploy the new version of Web Services and Applications]].</li>
 
 
<li>Copy settings from your existing configuration files to the '''application.yaml''' configuration file. See [[Documentation:HTCC:Dep:ConfigurationPremise|Configuring Web Services and Applications]] for more information about this file. The following table maps the previous configuration files to the new files:
 
<li>Copy settings from your existing configuration files to the '''application.yaml''' configuration file. See [[Documentation:HTCC:Dep:ConfigurationPremise|Configuring Web Services and Applications]] for more information about this file. The following table maps the previous configuration files to the new files:
 
{| border="1"
 
{| border="1"
Line 34: Line 31:
 
| jetty-https.xml  
 
| jetty-https.xml  
 
| '"jetty"' section in the '''application.yaml''' file
 
| '"jetty"' section in the '''application.yaml''' file
|-
 
| /etc/default/jetty
 
| /etc/default/gws
 
 
|}</li>
 
|}</li>
{{Editgrn_open}}<li>Adjust the [[Documentation:HTCC:Dep:ConfigurationPremise#Logging_settings|logging section]] of the '''application.yaml''' configuration file.</li>{{Editgrn_close}}
+
<li>Adjust the [[Documentation:HTCC:Dep:ConfigurationPremise#Logging_settings|logging section]] of the '''application.yaml''' configuration file. Set the new path to the '''logback.xml''' file.</li>
<li>Copy the JMV options from your exiting Jetty initialization script to the <tt>JAVA_OPTIONS</tt> variable in the '''/etc/default/gws''' file.</li>
+
</ol>
<li>Use the <tt>service gws start</tt> command to start the new version of Web Services and Applications on the node.</li></ol>
 
  
 
'''End'''
 
'''End'''
  
 
[[Category:V:HTCC:8.5.2DRAFT]]
 
[[Category:V:HTCC:8.5.2DRAFT]]

Revision as of 14:50, January 24, 2017

Upgrading from standalone to embedded Jetty

Migration from 8.5.200.09 includes a transition to embedded Jetty. This transition includes a new set of configuration files. If you are migrating from 8.5.200.18 or later, this procedure is not required.

Complete the following steps for each Web Services and Applications node:

Start

  1. Copy settings from your existing configuration files to the application.yaml configuration file. See Configuring Web Services and Applications for more information about this file. The following table maps the previous configuration files to the new files:
    Old file New file
    server-settings.yaml '"serverSettings"' section in the application.yaml file
    cassandra-cluster.yaml '"cassandraCluster"' section in the application.yaml file
    onpremise-settings.yaml '"onPremiseSettings"' section in the application.yaml file
  2. Copy settings from your existing Jetty configuration files to the jetty section of the application.yaml configuration file. The following table maps the previous configuration files to the new files:
    jetty-requestlog.xml '"jetty"' section in the application.yaml file
    jetty-https.xml '"jetty"' section in the application.yaml file
  3. Adjust the logging section of the application.yaml configuration file. Set the new path to the logback.xml file.

End

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