Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

Upgrading to Reflection for the Web 2008 from Reflection for the Web Version 5.x or 6.x
Technical Note 2350
Last Reviewed 31-Oct-2008
Applies To
Reflection for the Web version 5.x through 6.x
Summary

This note describes how to upgrade to Reflection for the Web 2008 R2 from Reflection for the Web 5.x or 6.x.

For information about upgrading from Reflection for the Web version 7.x, 8.x, 9.x, or Reflection for the Web 2008 R1 to Reflection for the Web 2008 R2, see Technical Note 2349.

When you upgrade, it is strongly recommended that you follow the steps in the order they are presented:

Note the following:

  • If your configuration enables users to save preference files, see the Note about User Preference Files at the end of this technical note.
  • If after upgrading, you receive error messages when trying to make a secure connection, see Technical Note 1956, Error Message: "Invalid or missing authorization token."

Step I: Uninstall Reflection for the Web 5.x or 6.x Components

A. Note for all installation methods:

  • Note the directory structure used to install Reflection for the Web 5.x or 6.x. If you used the UDC Mapping tool in the Administrative WebStation to assign custom characters to EBCDIC values and you want to retain those mappings, save a copy of the udc.xml file that is in the <Reflection management server installation>/ReflectionData/ directory.
  • If you exported keyboard map files using the Export Keymap command in the Reflection session and these mappings do not exist in a configuration file, then upgrade these files before uninstalling version 5.x or 6.x. For details, see the topic, Upgrading External Keyboard Map Files, in the Administrative WebStation.
  • The term "Reflection management server" refers to the Administrative WebStation plus the terminal emulation files.

B. Remove Reflection for the Web 5.x or 6.x files from your server.

To uninstall a previous version:

  • If you used an automated installer, choose one of these procedures.
    • Windows: Go to Start > Programs > Reflection for the Web > Reflection for the Web Uninstallation.
    • Windows: Run uninstaller.exe from the [installation folder]\_uninst\ folder.
    • Linux or Solaris: Run uninstaller.sh from the <installation folder>/utilities/ directory. An X11 window is required to run the graphical interface. Ensure that you have root access, and then enter this command:
./uninstaller.sh

If there are other components (for example, security proxy or metering) installed on different servers, use one of the procedures 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.

  • On other platforms, shut down the Reflection servers, save these files and directories, and then uninstall:

1. Reflection management server—copy and save all of the following:

    • The web.xml file in the <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/WEB-INF/ directory.
    • Any files that you customized in the <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/ or [Reflection management server installation]/jakarta-tomcat-[version number]/webapps/rweb/jsp/ directory.
    • Any unprotected, static sessions in the <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/session/ directory. These sessions may also be saved in other directories within the webapps directory.
    • The <Reflection management server installation>/ReflectionData/ directory.
    • The cacerts file in the <Reflection management server installation>/_jvm/lib/security/ directory.

2. Security proxy server—copy and save the following:

    • The <security proxy installation>/conf/ directory and the <security proxy installation>/keystores/ directory. This saves your server.properties file and your certificates.

3. Metering server—copy and save the following:

    • The web.xml file in the <metering server installation>/jakarta-tomcat-[version number]/rwebmeter/WEB-INF/ directory.

4. Servlet runner—copy and save the following:

    • The Tomcat keystore in the <tomcat installation>/jakarta-tomcat-[version number]/conf/ directory.

5. Then delete the directories in which you installed the Reflection for the Web components.

Step II: Restart the Windows Server(s) from which You Uninstalled Reflection

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 III.

Step III: Install Reflection for the Web 2008 Components

Install the Reflection for the Web 2008 components now. When you upgrade from a previous version,

  • Install Reflection for the Web 2008 in a non-web-servable space. This must be a directory that is inaccessible to your web server. Install Reflection for the Web 2008 in the same directory structure that Reflection for the Web 5.x or 6.x used (noted earlier).
  • Select and follow an installation procedure described in the InstallGuide.html file, located at the root of your product installation, or on the Support site at http://support.attachmate.com/manuals/rweb2008.html.

Step IV: Upgrade Outdated Files

The steps to upgrade outdated files vary depending on how you originally installed Reflection for the Web.

If you installed using an automated installer:

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.

Note the following:

Reflection management server and servlet runner

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.

Security proxy server

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.

  1. Run the Security Proxy Wizard.
  2. Go to the Proxies tab and select Export Settings. You are prompted to export your settings to the management server.

Note: The Save button will be grayed out if you haven't made any changes.

  1. Ensure that the management server name, port, and context are correct, and then click Export.

For detailed configuration information, see the tutorial, Setting Up the Security Proxy, in the Administrative WebStation.

Metering server

Upgrade of the metering server not supported by this installation process. 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 Reflection for the Web 2008 metering server using the metering configuration interface. For detailed configuration information, see the tutorial, Setting Up the Metering Component, in the Administrative WebStation.

If you installed using archive files:

Note: Several of the steps below reference the ReflectionData directory. The default location of ReflectionData is as follows. Note, however, that the automatic installation program employs a different default location than the one shown here.

On Windows XP, the default location for ReflectionData is C:\Documents and Settings\All Users\Application Data\Attachmate\ReflectionServer.

On Windows Vista, the default location for ReflectionData is C:\ProgramData\Attachmate\ReflectionServer.

On UNIX and Linux, the default location for ReflectionData is /var/opt/Attachmate/ReflectionServer

Ensure that the following files are copied or edited correctly.

Reflection management server:

  • Copy the old ReflectionData directory into your new Reflection management server directory structure. If you are copying this directory into the default location (listed above), you do not need to edit the web.xml file.

To specify a non-default location for ReflectionData in the web.xml file, open the file in a text editor. Copy the path to the ReflectionData directory from the web.xml file that you saved into the new web.xml file in [Reflection management server installation]/jakarta-tomcat-[version number]/webapps/rweb/WEB-INF.

  • The SSL port is set as 443 by default. If you need to change the port number, start the management server. Then, open PropertyDS.xml in the ReflectionData directory. Change the value from 443 to the appropriate port number in the section below:
<CORE_PROPERTY NAME="sslport">
<STRING>443</STRING>

Security proxy server:

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.

  1. Run the Security Proxy Wizard.
  2. Go to the Proxies tab and select Export Settings. You are prompted to export your settings to the management server.

Note: The Save button will be grayed out if you haven't made any changes.

  1. Ensure that the management server name, port, and context are correct, and then click Export.

For detailed configuration information, see the tutorial, Setting Up the Security Proxy, in the Administrative WebStation.

Servlet runner:

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.

If necessary, upgrade your JDK or JRE to Java SE 6.

For all installation types:

The following procedures to upgrade outdated files apply to all Reflection for the Web installation types.

JCE policy files

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).

UDC mapping

If you saved your UDC Mapping settings by saving the udc.xml file in Step I, copy the udc.xml file into the new ReflectionData directory.

JNLP sessions:

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 2008. For more information about running and modifying JNLP sessions, see Technical Note 1729.

Customized login and links lists

Reflection for the Web 2008 R2 introduces a new method for customizing the login/links list page, and this is the location where customized page templates are stored. You will then need to edit your customized page to incorporate the elements that generate the Reflection applet tags. Use the webapps/rweb/templates/samples/customloginpage.jsp as a guide to see how the new Reflection applet tag elements are inserted into your custom content. For more information, see Technical Note 2386.

Once your custom page is complete, use the General Settings page of the Reflection for the Web Administrative WebStation to specify the name of your customized login/links list page.

Metering server

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 Reflection for the Web 2008 metering server. For detailed configuration information, see the tutorial, Setting Up the Metering Server, in the Administrative WebStation.

Trusted certificates

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.

Manual installation: Copy the old cacerts into the [Reflection management server installation]/_jvm/lib/security/ directory.

Customized files

To retain any unprotected static sessions, see the topic, Upgrading from an Earlier Version - Static Sessions, in the Installation Guide: http://docs.attachmate.com/reflection/rweb/2008/R2/readme/en/html/readme_static.html.

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:

  1. In a text editor, open your original LauncherHTML.jsp, located in <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/WEB-INF/jsp/.
  2. Replace the first two lines of the old file with these two lines:
<%@ page import="com.wrq.java13plus.management.core.GmAsset" %>
<%@ page import="com.wrq.java13plus.management.gm.LauncherStartAction" %>

  1. Save LauncherHTML.jsp in your new Reflection for the Web 2008 installation at <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/gm/.

Version 5.1: To retain your settings if you saved the ReflectionClient.html file from your version 5.1 installation:

  1. In a text editor, open your original ReflectionClient.html, located in <Reflection management server installation>/ReflectionData/.
  2. In a text editor, open the new LauncherHTML.jsp, which is located in <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/gm/.
  3. Copy your color, margin, and font settings from ReflectionClient.html into LauncherHTML.jsp.
  4. Save the JSP file.

Version 5.0: To retain your settings if you saved the LoginPage.jsp file from your version 5.0 installation:

  1. In a text editor, open your original LoginPage.jsp, located in <Reflection management server installation>/jakarta-tomcat-4.0.1/webapps/rweb/.
  2. In a text editor, open the new LauncherHTML.jsp, which is located in <Reflection management server installation>/jakarta-tomcat-[version number]/webapps/rweb/gm/.
  3. Copy your color, margin, and font settings from LoginPage.jsp into LauncherHTML.jsp.
  4. Save the JSP file.

Macros

To run version 6.x or 5.x macros, you must manually import the older macros into Reflection for the Web 2008 as follows:

  1. Locate the version 5.x or 6.x *.mac files on a user workstation. These files are located in <Java USER_HOME>\reflectionweb\macros directory.

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.

  1. Launch Reflection for the Web 2008. In the launched session, import the 5.x or 6.x *.mac files by clicking Macro > Playback > Import.

IIS Integration

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.

If you installed using an archive file, re-run the IIS Wizard. (In an automated installation in Windows, for example, go to Start > Programs > Attachmate Reflection for the Web > Utilities > IIS Wizard. For more information, see Technical Note 2195.) Enter the HTTPS port number, click Next, and then Finish.

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.

BEA portal integration

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") %>
.....

Step V: Update Printing Sessions

When upgrading to Reflection for the Web 2008, your printer sessions, print setup, and the test print feature may no longer function.

If you experience this problem, follow the steps below.

  1. Open the Reflection for the Web Administrative WebStation and click Session Manager.
  2. Click the printer session link and then click Save Settings.
  3. Repeat steps 1 and 2 for each printer session.

Note about User Preference Files

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. Your users will need to create new preference files.

Advise your 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.)

Additional Resources

For more information about Reflection for the Web 2008, see the following resources:

Obtaining Reflection for the Web

Maintained customers are eligible to download the latest product releases from the Attachmate Download Library web site: https://download.attachmate.com/Upgrades/. For more information about logging into and using the Attachmate Download Library, see Technical Note 0200.

Documentation

Reflection for the Web 2008 documentation is available on the Attachmate Support site: http://support.attachmate.com/manuals/rweb2008.html.

Technical Notes

See Technical Note 9988 for a list of Reflection for the Web technical notes.

Related Technical Notes
1729 Using JNLP Support in Reflection for the Web
1802 Reflection for the Web 7.0: Additional Help Topics
1956 Error Message: "Invalid or missing authorization token"
2195 Integrating Reflection for the Web with IIS
2349 Upgrading to Reflection for the Web 2008

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.