Netra j 2.0 Administrator's Guide

Configuration

The GO-Joe applet ships with several examples of how to use it. One example is the xsession.html file. This file contains an example startup that exercises all of the available parameters for the applet, but this file must be customized before it can be used.

Table 7-2 Applet Parameters

Parameter 

Description 

width 

This parameter is specified in the APPLET tag and determines the width of the GO-Joe frame in the HTML file. Its format is browser specific, but can generally be an absolute number of pixels (for example, "width=800") or a percentage of the browser window's width (for example, "width=100%").

height 

This parameter is specified in the APPLET tag and determines the height of the GO-Joe frame in the HTML file. Its format is browser specific, and can generally be an absolute number of pixels (for example, "height=600") or a percentage of the browser window's height (for example, "height=90%").

server 

The host machine that will be connected to run the RapidX session. This host must be configured with the go-login program and GlobalHost protocol. 

port 

The port number that will be contacted by the GO-Joe applet. In general use, this will be port 491, but it may be changed if multiple configurations of GlobalHost protocol are available on the host.

token 

A value to be passed into the environment of the X session.  

diaglevel 

If set to a value greater than zero, this parameter will cause the GO-Joe applet to log diagnostic information. This is not generally useful except in rare cases. If this parameter is set, then the diagfile parameter should also be set.

diagfile 

This parameter directs diagnostic output. The default output of diagnostic information is to the JavaOS system console. In environments where the JavaOS console is not available, this parameter can be used to redirect this output to a different location. 

Its format can specify a file to be logged into by setting it to an absolute path (for example, /tmp/gojoe-log). In environments where local disk storage is not available, it can be set in the form %<host>:<port>.

The following is a sample xsession.html file that initiates a default session.


<HTML><HEAD><TITLE>GO-Joe Example Session</TITLE></HEAD>
<BODY>
<HR>
<APPLET CODEBASE="/example/code/" ARCHIVE="togo.jar" CODE="togo.class"
    WIDTH=800 HEIGHT=600>
    <PARAM NAME=server VALUE=myhost>
    <PARAM NAME=port VALUE=491>
</APPLET>