Technical Notes |
|
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:
To uninstall a previous version:
./uninstaller.shIf 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.
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 III.
Install the Reflection for the Web 2008 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.
Note: The Save button will be grayed out if you haven't made any changes.
For detailed configuration information, see the tutorial, Setting Up the Security Proxy, in the Administrative WebStation.
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.
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.
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.
<CORE_PROPERTY NAME="sslport"><STRING>443</STRING> 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.
Note: The Save button will be grayed out if you haven't made any changes.
For detailed configuration information, see the tutorial, Setting Up the Security Proxy, 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.
If necessary, upgrade your JDK or JRE to Java SE 6.
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 I, copy the udc.xml file into the new ReflectionData directory.
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.
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.
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.
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.
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:
<%@ 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, you must manually import the older macros into Reflection for the Web 2008 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.
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.
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 2008, 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. 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.)
For more information about Reflection for the Web 2008, see the following resources:
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.
Reflection for the Web 2008 documentation is available on the Attachmate Support site: http://support.attachmate.com/manuals/rweb2008.html.
See Technical Note 9988 for a list of Reflection for the Web technical notes.