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

Test Pilot
Classic Manual

Windows Installation
Back - MacOS Installation Up - Test Pilot v3 Next - UNIX Installation

Java

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

Java Servlet Runner

Test Pilot for Windows comes in two distributions.

  • Test Pilot for Microsoft Web Servers - This includes Microsoft Internet Information Server (IIS) on NT, 2K and XP as well as personal web services on Windows 95, 98 and ME. It also includes Netscape's FastTrack and Enterprise Web Servers. These servers support the use of servlets, such as Test Pilot, either natively or through the use of third-party plug-ins. Our installation discussion focuses upon the configuration of Test Pilot using New Atlanta's ServletExec as a plug-in for web servers such as IIS.

  • Test Pilot for Tomcat under Windows - This uses the Apache organization's Tomcat web server and servlet runner. This is a free standalone web server and servlet runner combination that can run on any Windows-based (95, 98, NT, 2K, ME, XP) personal computer or server.

Installing on MS Web Servers

Once Sun's Java VM is installed on the Windows server, the web service software must support running Java programs under the server's control. The software for performing this task is called a Java servlet runner. This is typically implemented using a third party plug-in for the web service software. Apache and Microsoft's servers require a plug-in.

We recommend the use of New Atlanta ServletExec as Java servlet runner. It is quite easy to install and the company's technical support is first rate. A trial version downloaded from New Atlanta's web site can be simply upgraded to the full version with the purchase of a serial number.

ServletExec is available for the following Windows web servers:

  • ServletExec for Microsoft IIS & Personal Web Server

  • ServletExec for Netscape FastTrack & Enterprise (NSAPI) on UNIX/Linux and Windows NT/2K

  • ServletExec for the Apache Server on UNIX/Linux and Windows NT/2K

We recommend that you carefully read and follow the installation procedures as outlined in ServletExec's manual.

To verify that you have installed Java and the servlet runner properly, attempt to access one of the bundled servlets that are typically included. ServletExec includes a servlet called DateServlet. Access the following URL replacing server.edu with your server's name:

    http://server.edu/servlet/DateServlet/

You should receive a web page with the current date and time on it.

The Distribution

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

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

    servlets - This is a directory containing Java program libraries used by Test Pilot. Included are libraries for Test Pilot. Updating Test Pilot as newer versions are released is as simple as replacing the single TestPilot3.jar file located in this directory.

Configuring Test Pilot

Java servlet runners have a number of options that allow you to specify configuration information.

Configuring ServletExec with parameters is accomplished as follows. If you are using another Java servlet runner, consult their manual to see how they accomplish these steps.

  1. Copy the TestPilot3.jar file from the distribution directory to the directory in which your servlet runner expects to see servlets. For ServletExec, this is typically (though your situation may be different) C:InetPub\ServletExec ISAPI\Servlets

  2. Access ServletExec's administrative options with the following URL replacing server.edu with your server's name:

    http://server.edu/servlet/admin/

  3. Click on the Configure link.

  4. Enter a configuration as shown below. Please note that CASE matters; upper and lower case characters should be entered exactly as shown.

    Servlet Name TestPilot3
    Servlet Code com.clearlearning.testpilot.v3.TestPilot3

  5. Set the servlet's parameters as listed below.

Initialization Parameters Setting Information

There are parameters to be associated with your TestPilot3 configuration. 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.

Servlet Aliases

    To ensure that your server will direct URL's accessing Test Pilot documents to the Test Pilot servlet, you must create servlet aliases for the extensions used by Test Pilot. That is, if a user accesses a file ending in .tp3, you want the Test Pilot servlet to handle that request. To have the server do so, you need to specify that all requests for files ending in .tp3 should be handled by Test Pilot. An important side effect of using aliases is to secure the files from prying eyes. Any attempt to access the files will be handed off to Test Pilot which protects the files according to your security selections.

    Create servlet aliases with ServletExec as follows. If you are using another Java servlet runner, consult their manual to see how they accomplish these steps.

    1. Access ServletExec's administrative options with the following URL replacing SERVER with your server's name:

      http://SERVER/servlet/admin/

    2. Click on the Aliases link.

    3. Enter an alias for files ending in .tp3 and .tpj as shown below. Please note that CASE matters; upper and lower case characters should be entered exactly as shown below (also shown are entries for Test Pilot version 1 and version 2 which may coexist with version 3):

      Aliases must be created for ALL permutations of character case. As the .tp3 and .tpj aliases are defined above, aliases must be created for the following extensions:

      .tp3
      .tP3
      .Tp3
      .TP3
      .tpj
      .tpJ
      .tPj
      .tPJ
      .Tpj
      .TpJ
      .TPj
      .TPJ

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

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

You should receive a Test Pilot login screen.

Security Issues

    When running under IIS, Test Pilot must be permitted to read and write files and directories on the web server. The user account that Test Pilot uses for access is the Internet Guest Account, typically IUSR_XXXX, where XXXX is your server's NT domain name. Thus, in order for Test Pilot to be able to create assessments and update scores and results, the web server directories must have their file security permissions set to allow the IUSR_XXXX account to read, write, delete and create files in the directory. You would typically accomplish this by right-clicking on a directory icon, selecting Properties and choosing the Security tab. You would then add an entry for the IUSR_XXXX account with read/write/create/delete permission. You can also use these settings to limit where Test Pilot can create assessments on your server.

    Note that the correct permissions settings to change are file system permissions. Microsoft complicates NT management by maintaining a completely separate security system under the Microsoft Server Management Console. You do NOT want to grant the IUSR_XXXX account any special access under the Server Management Console or you may compromise your server's security. If you limit your permissions modifications to those outlined in the paragraph above, your server's security should remain as secure as IIS servers can be.

Installing with Tomcat Under Windows

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.

    bin\STARTUP.BAT and bin\SHUTDOWN.BAT - These are batch files to start and stop, respectively Tomcat and Test Pilot together.Startup times will vary - do not be surprised if it takes up to two minutes to start Tomcat and Test Pilot.

      Windows may not properly start these files. If you receive an "out of environment space" message, you need to create shortcuts for these file. The process is as follows:

      1. Right click on the file and select Create a Shortcut from the resulting menu.
      2. Right click on the new shortcut file and select Properties from the resulting menu.
      3. Click on the Memory tab.
      4. Under initial environment, select a value equal to or greater than 1536.
      5. Click the OK button to save your changes.

      Once you have the shortcuts created, use those icons to start and stop Tomcat and Test Pilot.

    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.

    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.

    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.

    webapps - This is the Tomcat web server's home directory. This is where files and folder which will be accessible to the outside world should be stores. It is in this folder or its subfolders that Test Pilot will store its tests and results files.

    Care should be taken with the WEB-INF subdirectory of the webapps folder. It is in that directory that configuration for the Test Pilot program is stored. Specifically:

      webapps/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 Test Pilot

As noted before, you must edit the webapps/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 servers like personal web services and commercial web server software such as IIS. 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"/>

Other Initialization Argument Setting Information

There are other parameters in the webapps/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.

  • adminid = ACCOUNT; enter an account in this space to be used when accessing Test Pilot's administrative options. On Windows servers, this must be a valid Windows login account.

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

  • email = ADDRESS; enter a complete internet e-mail address for the administrator. This must be a full Internet e-mail address such as joe@abc.com.

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