Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Java Service Manager runs in its own shell or as a background process.

Starting the JSM

The Java Service Manager on Linux is started using the strjsm program found in $LANSAXROOT/integrator/sh. It should be run by the LANSA owner, in its own shell. It can also be run as a background process.

After running strjsm, the following should be sent to standard output:

      Starting JSM

...

          Instance directory   :   /lansa/integrator/instance

...

          Process ID         

...

   18621

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.

...

If LANSAXROOT and JSM_INSTANCE_DIR are both undefined and no instance directory is specified on the command line, strjsm will fail with an error.

Clear Trace Directory

If you run strjsm with the -c (lowercase c) option, it will clear the instance's trace directory before starting the JSM server. The trace directory will be empty except for a directory for the current JSM server's process.

...