Previous ION Java User's Guide: Configuring ION Java Next

Configuring ION Java for Windows

ION Java for Windows includes two dialog-based utilities that duplicate the functionality of the command-line utilities discussed in Starting the ION Daemon on UNIX.

The ION Java Properties Dialog

To configure ION Java for Windows perform the following steps:

  1. Access the ION Java Properties utility from the Start menu by selecting Programs  ITT ION 6.4 ION Java Properties. This program, wionprop.exe, is located in the bin directory of your ION Java installation.
  2.  

  3. Modify the desired settings on each of the tabs described in the following sections:
  4.  

  5. After making changes, click "OK" to accept the change and close the dialog, "Apply" to accept the change but leave the dialog open, or "Cancel" to close the dialog without making any changes.

The Control Tab

The Control Tab is used to start, stop or remove the ION Service and to configure the ION daemon attributes.

Figure 1-1: Control Tab

Figure 1-1: Control Tab

Use the Control tab to make the following changes:

Table 1-1: ION Java Properties — Control Tab 

Table 1-1: ION Java Properties — Control Tab 
Attribute
Description
Remove / Install
Removes or installs the ION Service in the Windows service registry.
Note - The service was automatically installed during your installation which called ion_srvinst.exe with the -install option so you will probably not need to remove or install the service until a new version of ION is released. See Windows Command Line Installation of the ION Daemon for more information regarding the ion_srvinst utility.
Start / Stop
Starts or stops the ION service. This button performs the same actions as the Services dialog described in the section Using Windows Services Manager to Start the ION Daemon.
Note - Occasionally, the service may be unable to respond to a request. For more information, see Troubleshooting ION Service Problems.
ION Port Number
Defines the port number the ION Service listens to for connection requests.
ION Communication Timeout
Specifies the number of seconds ION will wait before closing a connection.
Allow Remote Utility Connections
Select this checkbox to allow the iondown and ionstat utility programs to be run from computers other than the one on which the ION service is installed.

The Locations Tab

The Locations Tab of the ION Java Properties dialog configures the paths used by ION Java.

Figure 1-2: Locations Tab

Figure 1-2: Locations Tab

Use the Location Tab, to define the following settings:

Table 1-2: ION Java Properties — Locations Tab 

Table 1-2: ION Java Properties — Locations Tab 
Attribute
Description
ION Directory
Specifies the ION installation directory on your server machine.
IDL Directory
Specifies the IDL directory on your server machine.
ION Log File
Specifies the location of a text file that will contain the ION Server logs. Click "View" to view the contents of the log file.
IDL Path
Specifies the search path to the directory or directories containing the IDL library (.pro and .sav) files. In this field, specify the Web server's ION Java directory where IDL files were copied during ION installation. For example, using the Apache web server, this path may be:
+C:\Program Files\Apache Group\Apache2\htdocs\IONJava
You can enter either a ";" separated list of multiple directories, or use a "+" in front of a directory indicating that all subdirectories of the specified directory should be searched. See Setting the IDL Path if you need more information.

The Security Tab

The Security Tab, pictured in the following figure, allows you to define the commands that ION should or should not execute.

Figure 1-3: Security Tab

Figure 1-3: Security Tab

Use the Location Tab, to define the path to text files containing the following items:

Table 1-3: ION Java Properties — Security Tab

Table 1-3: ION Java Properties — Security Tab
Attribute
Description
Exclusion List
Contains a list of the commands ION should not execute.
Click the Edit button on either field to edit the text file. See Security Command Files for details on how the ION Daemon handles inclusion and exclusion lists and how they can be created.
Inclusion List
Contains a list of the commands ION is allowed to execute.
Click the Edit button on either field to edit the text file. See Security Command Files for details on how the ION Daemon handles inclusion and exclusion lists and how they can be created.
Active Security Groups
Select options to disable entire classes of IDL functionality. See the table, Active Security Group Tokens for a description of the security tokens associated with this field.

The Commands Tab

The Commands tab dialog offers another way of specifying IDL commands which should or should not be executed.

Figure 1-4: Commands Tab

Figure 1-4: Commands Tab

To add a command, click Add and enter a of an IDL command to the list of individual commands to be excluded or allowed by the ION security mechanism. To remove a command, select a command from either list and click Remove.


Note
Security Command files can also be used to designate which IDL commands are or are not executed. See Security Command Files for details.

Checking Status with the ION Java Status Utility

The ION Java Status utility allows you to obtain information about the current state of the ION Daemon. Access the ION Java Status utility from the Start menu by selecting Programs  ION 6.4 ION Java Status. This program, wionstat.exe, is located in the bin directory of your ION Java installation.

Figure 1-5: Status Utility

Figure 1-5: Status Utility

To check the status of a service set the following fields:

Table 1-4: ION Status 

Table 1-4: ION Status 
Field
Description
Host
Set this field to the name of the computer on which the ION Daemon is running.
Port Number
Set this field equal to the port being watched by the ION Daemon. The default is port 7085, which is the default port for the ION Daemon.
Click Query to retrieve information on the Daemon running on the specified host and port. Click Clear to clear the display or OK to dismiss the dialog.

Windows Command Line Installation of the ION Daemon

Use the ion_srvinst.exe program to install, control, and check the status of the ION Daemon Windows service. The ION installation process automatically calls ion_srvinst with the -install flag so you do not need to install it again. You can use this program to remove the service or configure how the daemon is started.


Note
To start, stop and remove the ION Daemon service, you can also use the ION Java Properties dialog, described in Configuring ION Java for Windows. To configure manual or automatic startup, you can also use the Windows Services dialog described in Using Windows Services Manager to Start the ION Daemon.

The ion_srvinst command uses the following syntax:

ion_srvinst [-install | -remove] [-start = auto | manual] 
[-iondir=iondir]  

 


Note
If no switches are specified, ion_srvinst prints the status of the service.

The switches to the ion_srvinst command are described below:

-install

Set this switch to install the ION Daemon service into the system.

-remove

Set this switch to remove the ION Daemon service from the system.

-start

Set this switch to specify the start type of the service. If set to auto, the ION Daemon service will be started by the Windows system at startup. If set to manual (the default), the ION Daemon service must be started through the ION Java Properties dialog or the Control Panel Services dialog. Note that this option is ignored if the -install switch is not also specified.

-iondir

Use this switch to specify the ION installation directory, for example, ITT_DIR\idl64\products\ion64, not ITT_DIR\idl64\products\ion64\ion_java. Setting this switch will override any Windows registry entries and environment variable settings.

Using Windows Services Manager to Start the ION Daemon

Use the Services dialog to start, stop or configure automatic or manual startup modes of the ION Java Daemon. To open the Service dialog, do one of the following:

In the Services dialog, select ION Java Daemon 6.4 and use the interface to modify the settings. The following figure shows the Windows NT Services dialog with the ION Daemon selected.

 

Figure 1-6: Services Dialog

Figure 1-6: Services Dialog

  IDL Online Help (March 06, 2007)