Question & Answer
Question
How do you upgrade the Apache Tomcat Server used in versions of IBM Rational Directory Server (RDS) and Rational Directory Administrator (RDA) prior to version 5.2.1 and 5.1.1.2?
Cause
Releases of the Rational Directory Administrator in RDS (Apache) prior to version 5.2.1 and 5.1.1.2, use Apache Tomcat 6.x as a Web Server. These versions can be affected by security vulnerabilities and the fix may require you to upgrade to an Apache Tomcat version.
Note: The newer versions of RDS, however, use IBM WebSphere Application Server (WAS) Liberty Profile 8.5.x which is free of such security vulnerabilities.
Answer
Apache Tomcat can be upgraded to the latest version by following these steps (UNIX / Linux below):
WINDOWS:
- Download the latest version of Apache Tomcat
- Extract the downloaded version of Apache Tomcat.
- Stop the Rational Directory Administrator:
<RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.xx\bin\catalina.bat stop
- Place the latest version (apache-tomcat-6.0.yy) at:
<RDS/RDA install Location>\WebAccessServer
- Modify:
"<RDS/RDA install Location>\WebAccessServer\Start_RDAWebServer.bat" file. Update the paths to the point to new apache-tomcat-6.0.yy folder
- Edit the following file:
<RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.yy\bin\catalina.bat
Set the JRE Home path in the first valid line after the comments ('rem')
"set JRE_HOME=<RDS/RDA install Location>\jre"
- Copy the following files from the existing install location to the new Apache Tomcat directory structure:
- <RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.xx\bin\
- TDSConfiguration.xml
- TDSResource_en_US.xml
- copyright.txt
- GroupSchema.xsd
- rdauser_preferences.ser
- tdsbuild.property
- UserSchema.xsd
to
<RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.yy\bin\
- <RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.xx\webapps\
- rds-help.war
- webrda.war
to
<RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.yy\webapps\
- <RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.xx\conf\server.xml
to
<RDS/RDA install Location>\WebAccessServer\apache-tomcat-6.0.yy\conf\
Where:
apache-tomcat-6.0.xx : Existing version of Apache Tomcat installed with RDS/RDA
apache-tomcat-6.0.yy : New version of Apache Tomcat
- Start the Rational Directory Server:
<RDS/RDA install Location>\WebAccessServer\Start_RDAWebServer.bat
UNIX and Linux
- Download the latest version of Apache Tomcat
- Extract the downloaded version of Apache Tomcat
- Stop the Rational Directory Administrator:
<RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.xx/bin/catalina.sh stop
- Place the latest version (apache-tomcat-6.0.yy) at:
<RDS/RDA install Location>/WebAccessServer
- Modify:
"<RDS/RDA install Location>/WebAccessServer/Start_RDAWebServer.sh" file. Update the paths to the point to new apache-tomcat-6.0.yy folder
- Edit the Following file
<RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.xx/bin/catalina.sh
Set the JRE Home path in the first valid line after the comments ('rem')
"JRE_HOME=<RDS/RDA install Location>/jre"
For Solaris platform only:
JAVA_ENDORSED_DIRS="$JRE_HOME/lib/endorsed"
JAVA_OPTS="$JAVA_OPTS -Djava.protocol.handler.pkgs=com.ibm.net.ssl.www2.protocol"
- Copy the below mentioned files from the existing install location to the new Apache Tomcat directory structure
- <RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.xx/bin/
- TDSConfiguration.xml
- TDSResource_en_US.xml
- copyright.txt
- GroupSchema.xsd
- rdauser_preferences.ser
- tdsbuild.property
- UserSchema.xsd
to
<RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.yy/bin/
- <RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.xx/webapps/
- rds-help.war
- webrda.war
to
<RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.yy/webapps/
- <RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.xx\conf\server.xml
to
<RDS/RDA install Location>/WebAccessServer/apache-tomcat-6.0.yy/conf/
Where:
apache-tomcat-6.0.xx : Existing version of Apache Tomcat installed with RDS/RDA
apache-tomcat-6.0.yy : New version of Apache Tomcat
- Start the Rational Directory Server:
<RDS/RDA install Location>/WebAccessServer/Start_RDAWebServer.sh
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21669669