Test Pilot Enterprise
free trial signup
- click here -
Click here
for an index
clearLearning Test Pilot Test Pilot

Test Pilot
Classic Manual

MacOS X / UNIX / Linux
Installation
Back - Windows Installation Up - Test Pilot v3 Next - Authoring

Java

Installation of Test Pilot's web server component under UNIX requires that the server, and the server alone, have a Java Virtual Machine installed. Java 1.1.8 or better is required. Java is available free from Sun at:

The Distribution

There are a number of files and folders included with this distribution. Here is a short description of them:

    License - Test Pilot 3 - Our software license agreement. You must agree to the terms of the agreement or return the software unused.

    License - Tomcat 3.2.4 - Test Pilot requires a web server to operate. Included in this distribution is a fully configured copy of the Apache organization's Tomcat software for web services. It is an open source freely distributable 100% Java web server. Its license information is in this file.

    apache - This directory contais a file and a directory. The file show typical additions necessary for linking Apache to Tomcat for the handling of Test Pilot transactions.

      httpd.conf_additions - these are madifications to a standard Apache httpd.conf file.

      jserv - this is the source of the Apache module for communicating with Tomcat.

    bin/startup, bin/shutdown - These are shell scripts that start and stop Tomcat and Test Pilot together.

    lib - This is a folder containing Java programming libraries used by Tomcat and Test Pilot. Additions to the standard Tomcat distribution have been the inclusion of Test Pilot. Updating Test Pilot as newer versions are released is as simple as replacing the single TestPilot3.jar file located in this directory.

    logs - This is a folder containing the log files generated by Tomcat. Errors, if they occur, will appear in the tomcat.log file in this folder.

    work - This is a folder containing temporary files and directories generated by Tomcat.

    conf - This is a folder containing the configuration files used by Tomcat. The only modifications from the standard Tomcat distribution have been made to the server.xml file for the purposes of running Test Pilot. The file MUST be modified to reflect the Apache document root directory in two places near the end of the file.

    for_DOCUMENT_ROOT - These should be copied to the Apache document root directory. Care should be taken with the WEB-INF directory. It is in that directory that the Test Pilot program's configuration is stored. Specifically:

      for_DOCUMENT_ROOT/WEB-INF/web.xml - This is a file that instructs Tomcat how to configure and run Test Pilot. This file must be edited during installation to set up some important Test Pilot settings.

Configuring Apache

Copy the WEB-INF directory from the for_DOCUMENT_ROOT directory of the distribution to Apache's DocumentRoot directory.

Compile and add the mod_jserv module in the apache/jserv directory of the distribution as described in that directory's README file.

Modify Apache's httpd.conf file as described in the distribution's apache/httpd.conf_additions file.

Restart Apache.

Configuring Tomcat

As noted before, you must edit the conf/server.xml configuration file to use Test Pilot. Specifically you must make some substitutions:

    APACHE_DOCUMENT_ROOT_GOES_HERE - should be changed to the directory used by Apache as its document root. This is the same directory where you would have copied the WEB_INF directory mentioned above.

Configuring Test Pilot

As noted before, you must edit the for_DOCUMENT_ROOT/WEB-INF/web.xml configuration file to use Test Pilot. Specifically you must make some substitutions:

    SERIAL_NUMBER_GOES_HERE - should be changed to the Test Pilot serial number you receive when you purchase Test Pilot. Without a serial number, Test Pilot will periodically cease to function.

    ADMIN_PASSWORD_GOES_HERE - should be changed to the password you wish to use when creating new assessments. On Windows servers, this is not used.

    SMTP_SERVER_NAME_GOES_HERE - should be changed to a valid Internet SMTP mail server should you wish to use Test Pilot's built-in e-mailing functions.

Web services from Tomcat are by default set up to use port 8080 to prevent conflict with other web server software. To access the Tomcat home page with a browser on the same computer as Tomcat, use the following URL:

    http://localhost:8080/

To access a Test Pilot login screen with a browser on the same computer as Tomcat, use:

    http://localhost:8080/servlet/TestPilot3/

To access the Tomcat/Test Pilot services from an outside computer, it will be necessary for you to know your computer's IP address or Internet name (usually found on the TCP/IP Control Panel). For example, if your IP address was 128.210.86.32, then you would access the server as:

    http://128.210.86.32:8080/

If you knew that the Internet name of your computer was bogus.server.edu then you could use a URL as follows:

    http://bogus.server.edu:8080/

If you are not running any other web services on the Tomcat/Test Pilot server, you can eliminate the need to type ":8080" by setting Tomcat's service port to 80. You accomplish this by editing the conf/server.xml file. Look for the following lines:

    <Parameter name="port"
    value="8080"/>

change them to:

    <Parameter name="port"
    value="80"/>

If you are running Apache and have mod_jserv configured to hand off test Pilot requests to Tomcat, then you have no need for Tomcat's conventional web services and can safely remove or comment out the entire 8080 port entry shown below:

<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port"
value="8080"/>
</Connector>

Other Initialization Argument Setting Information

There are other parameters in the for_DOCUMENT_ROOT/WEB-INF/web.xml configuration file. Here is a list of all supported initialization parameters:

  • serial = your Test Pilot serial number; entering the correct serial number here unlocks your copy of Test Pilot and prevents it from deactivating automatically after a period of time or number of requests.

  • admin = PASSWORD; enter a password in this space to be used when accessing Test Pilot's administrative options. On Windows servers, this is not used.

  • smtp = SERVER; Test Pilot has some built-in e-mailing facilities for e-mailing scores to participants. It need to know what Internet SMTP mail server to use when sending messages. Please note that the selected server must permit the server running Test Pilot to post e-mail messages. Some e-mail systems may not permit a web server to send SMTP mail, thus this feature may not work for all installations. With no entry, e-mailing is disabled.

  • tomcat = [compatible]; When set to compatible, Test Pilot will properly respond to requests generated by the Tomcat servlet engine. This setting must be made in order for Test Pilot to work with Tomcat.

The following arguments are optional and need not be specified if the default values are acceptable.

  • tz = timezone; You may override your computers default timezone by entering a valid abbreviation in this parameter. Once Test Pilot is installed, you may get a list of valid timezone abbreviations, access the following URL substituting your server name in the appropriate spot:

      http://SERVER/servlet/TestPilot3/?timezones

  • cache = number; Test Pilot caches assessments in memory to speed response time. The default size is 30 assessments. If you are operating in a high volume environment you may want to increase this value. However, be sure your server has the memory to support the added consumption.

  • indexing = [on]; This should be set to on if you wish Test Pilot to be able to create and maintain indexes of assessments. This permits authors to be able to create and delete their own assessments at will without needing the administrator password or assistance from an administrator. Only authors with indices created by an administrator are given this capability when this flag is turned on.

  • iphide = [on,off]; This causes Test Pilot to hide the computer IP addresses of submissions in reports. This parameter is provided to optionally hide those addresses to address the security concerns of institutions wishing to keep this information private. IP addresses are shown by default.

  • secure = [true.false]; When set to true, Test Pilot will only respond to secure http requests. Test Pilot responds to both secure and non-secure requests by default.

  • lang = [fr]; This should be set to fr if you wish Test Pilot to use French in labels and messages presented to participants.

To verify that you have it installed properly, access the following URL replacing server.edu with your server's name:

    http://server.edu:8080/servlet/TestPilot3/

You should receive a Test Pilot login screen.

Test Pilot
free trial downloads
- click here -
Test Pilot
pricing information
- click here -
Test Pilot Enterprise
free trial signup
- click here -
Test Pilot Hosting
online signup
- click here -

Copyright ©2003 by McGraw-Hill Higher Education, All Rights Reserved
1333 Burr Ridge Parkway, Burr Ridge, IL 60527
(765) 567-2220 info@clearLearning.com