For example, JETTY_HOME/webapps/
You can ignore the install.log file while the directory is copying.
The Rational Change application folder name under webapps is the same as the context name you provided during installation. The installation has both Jetty 5.1.14 and Rational Change components. Copy only the Rational Change components to the Jetty 8.1.3 installation area.
For example, if you created a context foo during the Rational Change installation on Jetty 5.1.14 (installed under C:\Program Files\Change52), you must copy the foo directory from C:\Program Files\Change52\jetty\webapps\ to the JETTY_HOME/webapps/ directory.
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>
For example:
<context-param>
<param-name>port</param-name>
<param-value>8080</param-value>
</context-param>
The port value in the web.xml file must be updated with the port that Jetty 8.1.3 is listening to. The default port value in Jetty 8.1.3 is 8080.
The new value must be JETTY_HOME/webapps/context/WEB-INF/wsconfig/tmpdir.
Replace these tags:
<filter>
<filter-name>CompressingFilter</filter-name>
<filter-class>compressionFilters.CompressionFilter</filter-class>
<init-param>
<param-name>compressionThreshold</param-name>
<param-value>1024</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>CompressingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
With the following tags:
<filter>
<filter-name>GzipFilter</filter-name>
<filter-class>org.eclipse.jetty.servlets.GzipFilter</filter-class>
<init-param>
<param-name>mimeTypes</param-name>
<param-value>text/html,text/plain,text/xml,application/xhtml+xml,text
/css,application/javascript,image/svg+xml</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>GzipFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
Ensure that you use the updated port number.
You cannot access the Rational Change user interface by using http://hostname:port/context/.
<Call class="java.lang.System" name="setProperty">
<Arg>org.apache.jasper.compiler.disablejsr199</Arg>
<Arg>true</Arg>
</Call>
If this movement changes the URL because of the move to a new machine or a port value change, you must delete the search.lock file from the JETTY_HOME/webapps/change1/WEB-INF/wsconfig/system directory or edit the search.lock file to update the application URL.
If you saved the process file from the lifecycle editor and you receive the error Failed to parse attachment data. Form too large465666>200000, create the jetty-web.xml file in the Rational Change installation WEB-INF directory. Then, restart the Jetty server. This file must contain the tag <Set name="maxFormContentSize">1000000</Set>. This tag determines the form content size.
You can edit the value to increase or decrease the form content size. Here is the content of the file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD
Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Max Form Size -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - -->
<Set name="maxFormContentSize">1000000</Set>
</Configure>