Technical Notes |
|
Use this document to manually install Reflection for the Web to a machine running Mac OS X or Mac OS X Server. This information is helpful if you experience difficulties with an automated installer or if no automated installer is available to install Reflection for the Web on your platform.
This technical note includes information about installing and configuring Java SDK, Tomcat, and Reflection for the Web.
This information in this note is organized into the following sections:
This document assumes that you will install the Java SDK, Tomcat, and Reflection for the Web into the directories noted below. If any of these applications are installed in different locations, such as /opt, make the necessary path changes when following the steps provided in this document.
Beginning in Reflection for the Web 2008, the Tomcat directory no longer includes the version number, /jakarta-tomcat/; previous versions included the version number, for example, /jakarta-tomcat-5.0.28/. This technical note will refer to the current Tomcat directory, /jakarta-tomcat/.
Note the following before you install Reflection for the Web:
Attachmate Technical Support recommends that you review Reflection for the Web Installation Guide, including browser and system requirements, which is available with the product and online:
Reflection for the Web 2008: http://support.attachmate.com/manuals/rweb2008.html
Reflection for the Web 9.6: http://support.attachmate.com/manuals/wthdocs.html
For additional Reflection for the Web resources, see Technical Note 1668.
Once Java is installed, follow the steps below to install and configure Tomcat, the servlet runner.
Note: By default, Mac OS X Server version 10.5 includes Tomcat 6.0, and Reflection for the Web 2008 includes Tomcat 6.0.14. Reflection for the Web 8.0 9.x includes Tomcat 5.0, but can be configured to use version 4.1. If you plan to retain Tomcat version 4.1, skip to Installing and Configuring Reflection for the Web.
jar -xf /usr/local/tomcat.zip(Search for java.exe and enter the path to the directory above the /bin/ directory.) For example, the JAVA_HOME line in setenv.sh might read,
JAVA_HOME=/usr/java/j2sdk1.4.xNote the following:
The JSSE files are not included with JDK version 1.3x. JSSE files for most operating systems can be obtained from http://java.sun.com/products/jsse/, and includes the files jcert.jar, jnet.jar, and jsse.jar.
chmod 755 *.shNote: The .sh files are in /user/local/jakarta-tomcat/bin.
If no other web server is configured on the machine where Tomcat was installed, skip to Installing and Configuring Reflection for the Web.
If another web server was present and running on the Mac machine when Tomcat was installed, you may need to modify Tomcat's HTTPS and HTTP port numbers to avoid conflict with the other web server.
When choosing a new port, select ports above 1024 (available to non-root users). Follow the steps below to change the Tomcat port numbers.
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 443 --> <!-- https_connector_placeholder_begin --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="443" minProcessors="5" maxProcessors="75" enableLookups="false" acceptCount="100" debug="0" scheme="https" secure="true" useURIValidationHack="false" disableUploadTimeout="true">Change the default HTTPS port number from 443 to a port that is not already in use. For example, change the number from 443 to 8443, shown in red below. After editing, the entry should look like this:
<!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 --> <!-- https_connector_placeholder_begin --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8443" minProcessors="5" maxProcessors="75" enableLookups="false" acceptCount="100" debug="0" scheme="https" secure="true" useURIValidationHack="false" disableUploadTimeout="true"><!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 80 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="80" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" /><!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8880 --> <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8880" minProcessors="5" maxProcessors="75" enableLookups="false" redirectPort="8443" acceptCount="100" debug="0" connectionTimeout="20000" useURIValidationHack="false" disableUploadTimeout="true" />Now that Java and Tomcat are installed, you are ready to install Reflection for the Web.
Note: When installing Reflection to a Mac OS X Server 10.4, replace jakarta-tomcat with /Library/Tomcat.
Follow these steps to install and configure Reflection for the Web.
jar -xf /usr/local/jakarta-tomcat/webapps/rweb.zipThis extracts the Reflection for the Web files and creates the Reflection for the Web directory structure.
<web-app> <context-param> <param-name>ReflectionData</param-name> <param-value>/usr/local/ReflectionData</param-value> </context-param> <context-param> <param-name>sslport</param-name> <param-value>8443</param-value> </context-param> |
Note: In Reflection for the Web 2008, the sslport parameter is located in the PropertyDS.xml file, which is located in the ReflectionData directory. To modify the port value, you must edit PropertyDS.xml.
If you do not plan to use HTTPS, skip to the next section, Starting Tomcat.
If you plan to use HTTPS to access the web server, you must use a server certificate. For details regarding Tomcat and CA-signed certificates, see Technical Note 1702.
Follow the steps below to start the Certificate Wizard, and then follow the Wizard instructions to create a self-signed certificate or to import a CA-signed certificate.
Note: This command must be run from the console that has a graphical UI or from a graphical user interface, such as Reflection X.
java -cp /usr/local/jakarta-tomcat/WRQUtilities/KeyToolsPro_jce1-2-1_1of2_signed.jar:/usr/local/jakarta-tomcat/WRQUtilities/CertWizard.jar runNote: On some systems, you may need to remove "run" from the command.
To start Tomcat:
./startup.shTo start Reflection for the Web Administrative WebStation, open your web browser and enter the appropriate URL for your configuration into the Address field, replacing the <server name> and <port #> sections with your site specific information:
https://<server name>:<SSL port #>/rweb/AdminStart.htmlhttp://<server name>:<http port #>/rweb/AdminStart.htmlNote the following:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port ... --><!-- Define a SSL Coyote HTTP/1.1 Connector on port ... --> If you need to stop Tomcat, navigate to /usr/local/jakarta-tomcat/bin and enter:
./shutdown.shFor information about manually installing and configuring Reflection for the Web's security proxy server feature on Mac OS X systems that are not supported by the automated installation methods, see Technical Note 1812.
Note: Beginning in Reflection for the Web 2008, the security proxy server is not included in the Standard Edition.
To enable the optional metering feature in Reflection for the Web, see Technical Note 1824.
If you experience difficulties getting Tomcat to start, or getting Reflection for the Web to load, check the following for additional information: