2.3 Java Service Manager Administration for Windows

The Java Service Manager runs as a Windows service application.

Starting the JSM

On Windows, if the JSM service's Start-up Type is set to Automatic, Microsoft Service Control Manager will start the service automatically during system startup. If it is set to Manual, you need to use Microsoft Service Control Manager to start the JSM Administrator.

JSM Administrator starts the Java Virtual Machine and launches the Java Service Manager.

If the administrator program has stopped due to an upgrade, start the JSM Administrator again.

If the administrator doesn't start, refer to the LANSA support site: Unable to start JSM on Windows after JAVA version change.

To stop the JSM server from ending when the user logs off, the JVM option -Xrs needs to be present.

Program Options

The JSM Administrator configuration options are specified in the jsmmgrdta.txt file.

Priority

The JVM process priority.
Possible values are LOW, HIGH, NORMAL, BELOWNORMAL or ABOVENORMAL.
Default is NORMAL.

Instance

The path of the instance.
Default is ..\JSMInstance.

JVM

The path of the Java program to execute.
To specify another JRE or JDK use the absolute path to the java program.
For example: C:\Program Files\Java\jdk1.5.0_22\bin\java
Default is java.

JVMOptions  

The Java program options.
There is no default value.
The shipped value is -Xms128M -Xmx128M -Xrs -Djava.endorsed.dirs=.\endorsed

JSM requires a 32-bit JRE on 32-bit Windows and a 64-bit JRE on a 64-bit Windows machine.

Ending the JSM

You should use Integrator Studio to stop accepting clients to avoid disconnecting any clients in the middle of a transaction and to also shut down the JSM.

Clear Trace

Clear Trace removes files and subdirectories in the trace and/or temp directories.

It can be run in interactive mode or as a batch job. The path of the instance is taken from the jsmmgrdta.txt file (see Program Options for the Java Service Manager Administration for Windows).

In batch mode, clear trace can be run from the command line:

clrjsm /batch removes trace and temp files
clrjsm /batch /trace /temp removes trace and temp files
clrjsm /batch /temp removes temp files and not trace files
clrjsm /batch /trace removes trace files and not temp files.

In interactive mode, clear trace can be run from the Start | Programs | Menu to open the Clear Instance dialog.

From the Clear Instance dialog, select the actions you wish Clear Trace to take.

Select:

Clear Trace to remove trace and temp files
Clear Temp to remove temp files but not trace files.

Press Clear to start the process.