C H A P T E R  2

Installing and Updating a Local Relay

This chapter describes how to install and update a local Relay on a tester host computer in these sections:


Installing a Local Relay

You can install a local Relay on a test harness host before or after installing the test harness. If a test harness has been installed it can be running or not.

Prerequisites

Before installing a local Relay, be sure the following are true:



Note - A local Relay runs on a Sun Java System Application Server, which requires a Java Developer’s Kit, not a Java Runtime Environment.


 


procedure icon  Installing a Local Relay

1. If a Sun Java System Application Server is not already installed on your harness host, use the administrator graphical installer to install a Sun Java System Application Server.

Refer to the Java Device Test Suite Administration Guide’s “Performing a Custom Installation” section. In the Choose Install Set screen, select Sun Java System Application Server.

You cannot use the Java Device Test Suite command line installer to install a Sun Java System Application Server.

2. Copy centralInstallDir/admin/shared/resources/localRelay/appContext.war to AppServerInstallDir/domains/domain1/autodeploy/.

3. Wait 30 seconds.

4. Verify that the local Relay is running by entering the following URL in a web browser: http://localhost:appServerPort/appContext/

For example: http://localhost:8080/JdtsServer/. If installation is successful, a “JDTS Relay Version is running” page appears with Relay Mode: Local.

 


Updating a Local Relay

After updating a Central Installation with a new version of the Java Device Test Suite, you must update all local Relays as follows:

1. Be sure the local Relay is running.

If you are not sure, enter the following URL in a web browser: http://localhost:appServerPort/appContext/

For example, http://localhost:8080/JdtsServer. If the Relay is running, a “JDTS Relay Version is running” page appears.

 

2. Copy
centralInstallDir/admin/shared/resources/localRelay/appContext.war to AppServerInstallDir/domains/domain1/autodeploy/.

The default appContext is JdtsServer.

3. Wait 30 seconds.

4. Verify that the local Relay is the new version by entering the following URL in a web browser: http://localhost:appServerPort/appContext/

For example, http://localhost:8080/JdtsServer. If updating is successful, a “JDTS Relay Version is running” page appears with Relay Mode: Local.

The tester harness uses the new Relay in the next test run.