Technical Notes |
|
This note describes how to upgrade to Reflection for the Web 9.x from Reflection for the Web version 5.x or 6.x.
For information about upgrading from Reflection for the Web version 7.x, 8.x, or 9.x see Technical Note 1853.
Note: Reflection for the Web 2008 is available beginning in June 2008.
When you upgrade, it is strongly recommended that you follow the steps in the order they are presented:
Note: The term "Reflection management server" refers to the Administrative WebStation plus the terminal emulation files.
If your configuration enables users to save preference files, see the Note about User Preference Files at the end of this technical note.
Note: If after upgrading, you receive error messages when trying to make a secure connection, see Technical Note 1956 titled, Error Message: "Invalid or missing authorization token."
To uninstall a previous version:
For Windows:
For HP, Linux, or Solaris:
./uninstaller.shIf there are other components (for example, security proxy or metering) installed on different servers, use the instructions above to uninstall them.
Performing one of these automated uninstall operations will preserve your Reflection management server and security proxy server configurations. You will be prompted to save modified files during the uninstallation process.
1. Reflection management servercopy and save all of the following:
2. Security proxy servercopy and save the following:
3. Metering servercopy and save the following:
4. Servlet runnercopy and save the following:
5. Then delete the directories in which you installed the Reflection for the Web components.
If you are running in a Windows environment, restart the server(s) from which you uninstalled Reflection for the Web components.
For all other environments, restarting the servers is not necessary; proceed to Step 3.
Install the Reflection for the Web 9.x components now. When you upgrade from a previous version:
The steps to upgrade outdated files vary depending on how you originally installed Reflection for the Web.
This section includes information about retaining settings for the management server, servlet runner, security proxy server, and metering server if you originally installed Reflection for the Web using an automated installer.
Reflection management server and servlet runner settings have been retained. If you did not customize files or add certificates to the management server trusted list, no further upgrade steps are necessary.
To ensure that you can edit your existing secure sessions or create new secure sessions in the Session Manager, you must export the security proxy server settings to the Administrative WebStation.
For detailed configuration information, see the tutorial, Setting Up the Security Proxy, in the Administrative WebStation.
Upgrade of the metering server is complete. To transfer the settings for your previous installation into your new installation, open your previous web.xml file in a text editor. (This file was archived in the [metering server installation]/jakarta-tomcat-[version number]/rwebmeter/WEB-INF/ directory.) Use this information as a reference when you configure the version 9.x metering server using the metering configuration interface. For detailed configuration information, see the tutorial, Setting Up the Metering Component, in the Administrative WebStation.
Ensure that the following files are copied or edited correctly.
Copy the /conf/ and /keystores/ directories that you saved in Step I into the new security proxy installation.
To ensure that you can edit your existing secure sessions or create new secure sessions in the Session Manager, you must export the security proxy server settings to the Administrative WebStation.
For detailed configuration information, see the tutorial, Setting Up the Security Proxy, in the Administrative WebStation.
Use the settings recorded in the web.xml file to configure the new metering server. Open the web.xml file in a text editor and use these settings for reference when you configure the version 9.x metering server. For detailed configuration information, see the tutorial, Setting Up the Metering Component, in the Administrative WebStation.
Copy the Tomcat keystore you saved into <installation path>/jakarta-tomcat-[version number]/conf/.
In a text editor, open <installation path>/jakarta-tomcat-[version number]/conf/server.xml. Make necessary modifications to the HTTP port and HTTPS port.
The following procedures to upgrade outdated files apply to all Reflection for the Web installation types.
If you installed the JCE unlimited strength policy files from the Sun web site to support 192-bit and 256-bit AES encryption in your previous version of Reflection, the downloaded files are uninstalled from the management server without notification during an automated uninstallation.
If you installed using an automated installation, the JRE version 5.0 was installed. To continue supporting 192-bit and 256-bit AES encryption, download and install the most recent version of the JCE unlimited strength policy files from the Sun web site. For more details, see the Security Proxy Wizard help (Security Proxy Wizard > Proxies > Add or Modify > Add or Modify > Help).
If you saved your UDC Mapping settings by saving the udc.xml file in Step 1, copy the udc.xml file into the new ReflectionData directory in version 8.x.
If you created JNLP sessions in version 5.x, you will need to modify those sessions so they will work in Reflection for the Web version 9.x. For more information about running and modifying JNLP sessions, see Technical Note 1729.
If you installed tomcat.zip, upgrade your JDK to Java 2 (version 5.0 is recommended).
Automatic installation: If you added certificates to the management server trusted list, the imported certificates are stored in the cacerts file. This file was automatically saved during uninstallation of your previous version in the root of the Reflection management server installation, and renamed. The new name is created by appending an underscore and a three-digit number to the original file name, for example, cacerts_000. Copy this file into the new <Reflection management server installation>/_jvm/lib/security/ directory, and then rename the file to cacerts.
To retain any unprotected static sessions, see Technical Note 1802.
To retain your settings, follow the steps for your version of Reflection for the Web.
Version 6.x: To retain your settings if you saved the LauncherHTML.jsp file from your version 6.x installation:
<%@ page import="com.wrq.java13plus.management.core.GmAsset" %><%@ page import="com.wrq.java13plus.management.gm.LauncherStartAction" %>Version 5.1: To retain your settings if you saved the ReflectionClient.html file from your version 5.1 installation:
Version 5.0: To retain your settings if you saved the LoginPage.jsp file from your version 5.0 installation:
To run version 6.x or 5.x macros in Reflection for the Web 9.x, you must manually import the older macros into version 9.x as follows:
For a Windows client using the Sun Java Plug-in, the default location is C:\Documents and Settings\<username>\reflectionweb\macros.
For a Windows client using the Microsoft virtual machine, the default location is C:\Windows\Java\reflectionweb\macros.
If you installed Reflection using an automated installer, the installer prompted you to configure IIS during installation. You will need to stop and restart IIS and the Reflection Management server service for integration to take effect.
Note: If you are using Windows Server 2003 or if the server has multiple web sites, see Technical Note 2195 for more information about integrating Reflection for the Web with IIS.
If you integrated Reflection for the Web version 6.x with your BEA portal, modify the existing code in your portlet JSP. To display a session, use the following code (all on one line):
..... <%= new com.wrq.java13plus.management.portal.RWebBrokerWLP().getContent(request, "<RWeb URL>/RWebSession.do?link=<Session name>&portal=true&appletOnly=true") %> ..... |
To display the end user links list, use the following code (all on one line):
.....<%= new com.wrq.java13plus.management.portal.RWebBrokerWLP().getContent(request, "<RWeb URL>/LoginPage.do&appletOnly=true") %>..... |
When upgrading to Reflection for the Web 9.x, your printer sessions, print setup, and the test print feature may no longer function.
If you experience this problem, follow the steps below.
Each user's preference files are stored locally on the user's machine and are not upgradeable with the Reflection for the Web upgrade on the server. End users will need to create new preference files.
Advise the end users to rename the existing preference (.pref) files, launch a session, configure the settings as needed, and then save a new preference file. (In Reflection, click File > Save Preferences.)