Requirements for Script Files that Launch New JVMs

Obviously, the script file should in one way or the other launch a JVM since that is the purpose of the script, but there are additional requirements that the script has to comply with

  1. The script must be passed all arguments that the Lawson Grid would normally pass to the JVM during launch. Those arguments define what type of grid node to create. The script is responsible for propagating all those arguments to the JVM that is started by the script.
  2. The script may terminate in one of two possible ways:
    • The script may block and not terminate until the launched JVM (grid node) terminates.

    • The script may asynchronously launch the JVM and exit with a return code of zero (0). A return code other than zero will be considered an error by the Lawson Grid.