Sun Java Server on Windows Server 2000 or Later

Instructions for installing and configuring Sensor for Sun Java System Application Server Standard Edition 7 running under Windows Server 2000 or later.

The program files for Sensor are packaged in an installation file that you obtain from the Adobe download site. If you do not already have the Sensor installation file for your particular web server, download it (or obtain it from your Adobe representative) before you begin the following procedures.

Sensor supports the following servers running under RedHat Linux 7.x or later or Sun Solaris SPARC 2.6 or later:

To install and configure Sensor, you must perform the following steps:

Install the Program Files

Procedure to extract and install the program files for Sensor to the server.

  1. On your Netscape Enterprise, iPlanet, Sun ONE, or Sun Java System Server, create a directory in which to install the Sensor program files. Keep in mind that your disk queue resides in this directory, so be sure the device you choose has sufficient space to hold a queue of the size you need.

  2. Extract the contents of the installation file into the directory you just created. During this step, Sensor installs the following files:

File Description Target Directory
saf_visual_sciences.dll The collector load module. /usr/local/aolserver/ visual_sciences


The transmitter program.




txlogd.conf The Sensor configuration file. /etc
trust_ca_cert.pem The certificate used to validate the digital certificate that Insight Server presents during the connection process /usr/local/visual_sciences

The installation package contains a spreadsheet file called TestExperiment.xls. This spreadsheet is a tool that architects use to configure a controlled experiment. Sensor itself does not use this file, so it is not necessary to install the file on the machine where Sensor is running (although you can choose to do so). You might want to, instead, copy the file to a location where your architects can access it or simply extract the file from the installation package as needed. For more information about controlled experimentation, see the Insight Controlled Experiments Guide.

Edit the Sensor Configuration File

The txlogd.conf file contains the configuration parameters for Sensor.

You must edit this file to specify, among other things, the size and location of the disk queue file, the address of the Insight Server, and the ID that will be attached to the event data produced by this sensor.

The configuration file contains required parameters and optional parameters.

  • Required parameters are settings that you must specify when you install Sensor. Without these settings, Sensor does not run successfully.
  • Optional parameters are settings that default to pre-defined values (which you can modify) or enable optional features.

To edit the Sensor configuration file

  • Open the /etc/txlogd.conf file in a text editor and set the required parameters as well as any desired optional parameters.
  • Save and close the file.

To edit the Sensor configuration file

  1. Open the /etc/txlogd.conf file in a text editor and set the required parameters as well as any desired optional parameters.
  2. Save and close the file.

Start the Transmitter and Create the Disk Queue

After you configure the txlogd.conf file, you can start the transmitter program, register it as a Windows service, and create the disk queue.

  1. From the Start menu in Windows, select Accessories > Command Prompt.

  2. In the command prompt window, navigate to the directory in which you installed Sensor and execute the following command:

    txlog /regserver

    This command starts the transmitter, creates the disk queue, and registers Sensor as a Windows service.

  3. To confirm that the transmitter is running correctly, click Start > Control Panel > Administrative Tools > Services. In the service list, locate the entry for Sensor and confirm that its status is Started and its startup type is Automatic. Then close the Services control panel.

  4. To check whether transmitter experienced any errors during start-up, click Start > Control Panel > Administrative Tools > Event Viewer to open the Event Viewer.

    1. In the left pane of the Event Viewer window, select the Applications log.
    2. In the right pane, look for events with “Adobe” in the Source column.
    3. If you find an error from “Adobe,” double-click the error to display the Event Properties window. This window provides detailed information about the error.
  5. When you finish examining the Applications log, close the Event Viewer.

  6. Verify that the transmitter has created the disk queue (Diskq2000.log) in the directory where you installed the Sensor program files and that it is the size that you specified in the QueueSize parameter in the txlogd.conf file.

    If the queue has not been created correctly:

    1. Examine the txtlogd.conf file and verify that the QueueSize parameter is set correctly.

    2. Check that the device on which you installed Sensor has sufficient space available to hold a file of the size specified in the QueueSize parameter.

    3. Using the Services control panel in Windows, stop the transmitter.

    4. Delete the queue file.

    5. Re-register Sensor as a Windows service: from the Start menu in Windows, select Accessories > Command Prompt. In the command prompt window, navigate to the directory in which you installed Sensor and execute the following command:

      txlog /regserver

The transmitter is designed to run continuously. If you restart the machine, the transmitter restarts automatically. If you need to start and stop the transmitter manually, you can do so using the Services control panel in Windows.

Modify the Startup Script

In the init.conf file (for example, C:\Sun\AppServer7\domains\domain1\server1\config\ init.conf), add the following lines at the end of the file:

Init fn="load-modules" shlib="C:/VisualSciences/saf_visual_sciences.dll"
Init fn="vys-init" config-file="C:/VisualSciences/txlogd.conf"

In the obj.conf file (for example, C:\Sun\AppServer7\domains\domain1\server1\config\ server1-obj.conf), add the following lines directly below the existing <Object name="default"> line:

NameTrans fn="vys-cookie"
ObjectType fn="vys-content-type"
AddLog fn="vys-log"

On this page