Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

can anyone tellme java instance startup sequence?

Answer Posted / pavan

Process
Startup of the Java Instance
The following steps are involved in starting the Java instance:
JSTART is started (in Windows by the SAP Start Service; on UNIX platforms by the startsap script). It takes the role of the Java instance controller.
The Java instance controller analyzes its configuration (from the instance profile) and examines the details of the Java SDK defined there.
The Java instance controller initializes SAP signal handling to be able to receive signals and opens the control port.
The Java instance controller reads the instance description (from the list of files specified by the jstart/startupNodeFiles and jstart/instanceNodeFiles profile parameters) for the first time, searching for nodes with a runLevel=1 property. The OFFLINE DEPLOYMENT node in the startup.properties file matches this criterion.
The Java instance controller starts another JSTART process with the parameters from the OFFLINE DEPLOYMENT node and waits for the child process to terminate.
The child process acts as a Java process. It loads the Java Virtual Machine (JVM) into its own process, initializes the JVM and starts the OFFLINE DEPLOYMENT program, which performs the deployment steps in the Java database.
The Java instance controller reads the instance description again, searching for nodes with a runLevel=2 property. The BOOTSTRAP node in the startup.properties file meets this condition.
The Java instance controller starts another JSTART process with the parameters from the BOOTSTRAP node and waits for the child process to terminate.
The child process loads and initializes the JVM and starts the BOOTSTRAP program. BOOTSTRAP synchronizes the binary data in the Java database with the local file system, reads the Java instance description from the Java database and updates the instance.properties file.
The Java instance controller reads the instance description from the startup.properties and instance.properties files once more, this time focusing on nodes with a runLevel=3 property or without a runLevel property at all. These nodes form the productive instance.
The Java instance controller starts the processes for infrastructure nodes, such as ICM or DEBUGPROXY.
When all infrastructure processes are started, the Java instance controller starts the processes for the server nodes.
The JSTART child processes act as Java processes and execute a similar sequence as described before. They become the Java server processes.
The following figure shows the sequence of actions that the Java Startup Framework executes.
This graphic is explained in the accompanying text.
Operation of the Java Instance
The Java instance controller monitors the Java instance. It receives the status update messages and catches termination signals from the child processes. When a process terminates unexpectedly, the Java instance controller starts the process again.
Shutdown of the Java Instance
Signals and commands sent to the control port trigger a Java instance to stop. The Java instance controller ensures that the order of shutdown is obeyed and forces termination if a process does not stop within the shutdown timeout period.
The figure below shows the sequence of the actions.
This graphic is explained in the accompanying text.
An instance is stopped as follows:
A process (for example, the ABAP dispatcher, a start script or SAP Start Service) sends a SIGINT signal or an appropriate command to the Java instance controller.
The Java instance controller updates the instance state and sends STOP commands to the server processes.
When the server processes are finished, the Java instance controller sends STOP commands to the infrastructure processes.
Once all child processes have exited, the Java instance controller terminates.

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between st06 and st03?

1922


What is client administration in sap system? Why do we use multiple clients in sap system?

1226


How will u send mail after completion of backup?

2148


How will you define logon groups ? What is load balancing in sap ?

1071


What is an “ok” code is and what is the difference between “t-code” and “ok” code?

1330


How do you kill a job in SAP?

1267


What are the different types of rfc?

1102


What is the importance of table t000?

1123


when ever i try to installed sap ecc6.0 sr2 on single system. it show error on phase import abap "Not all objects are successfully processed. DIAGNOSIS: for details see output file with invalid object invalid_objects.txt and log file object_checker.log . SOLUTION: normally it indicate the data load error but in some special cases( for example if some object were created or loaded externally) you can press ok to continue" here error sentence is complete. pls tell what actual error its? is it kernel file related?

2780


What are common transport errors and their codes?

2025


What is the difference between central instance & application server?

1108


Explain the system log?

1090


How you can restrict multiple logins of user in sap? What are the thing you have to take care of while writing the id’s?

1251


What is oracle Architecture?

2120


Using Tc SGEN I have generated 74% job and later I have terminated the job. I wish to start generating from where it stopped I have refreshed but to no chance, nothing was done. How should I further proceed so as to complete the remaining job?

1111