Startup, Operation and Shutdown of A Java Instance (SAP Library - Administration Manual)
Startup, Operation and Shutdown of A Java Instance (SAP Library - Administration Manual)
Page 1 of 3
Process Flow
The following figure shows the flow of the actions that the Java startup and control framework executes.
file:///C:/Users/ketankapadi.GSPCGAS/Desktop/Startup,%20Operation%20and%20S... 12-02-2012
Startup, Operation and Shutdown of a Java Instance (SAP Library - Administration M... Page 2 of 3
JControl starts a JLaunch process for each cluster element (5). This executes the following steps: The first argument of JLaunch is the PID of the parent process (JControl). JLaunch starts a thread, which ends the JLaunch process, if the parent process, JControl, fails. Creates JVM arguments and initializes hosting of the VM. Loads the VM into its own process, initializes the VM and starts the Java cluster element. This executes the following steps:
See also:
Starts the offline configuration manager to read the properties for the Java Enterprise runtime from the database and to save them in various hash tables (6). Stops the offline configuration manager and starts the Java Enterprise runtime with the saved properties. Starts the service framework and the services.
An instance is stopped as follows: The SAP start/stop environment (start script or SAP Start Service on Windows), which started the JControl process, sends a SIGINT to the JControl process (1). JControl sets the status of the Java instance to STOPPING in its list and sends a notification using a named pipe to all of the running cluster elements (2). The JLaunch process of the Java cluster element must respond to the notification within a defined time interval. (If this soft shutdown does not work, the JLaunch process is completely terminated by JControl.) It triggers the shutdown of the AS Java cluster element in the JVM and waits for its own VM to terminate (3). JControl exits.
file:///C:/Users/ketankapadi.GSPCGAS/Desktop/Startup,%20Operation%20and%20S... 12-02-2012
Startup, Operation and Shutdown of a Java Instance (SAP Library - Administration M... Page 3 of 3
file:///C:/Users/ketankapadi.GSPCGAS/Desktop/Startup,%20Operation%20and%20S... 12-02-2012