Skip to main content

Basic start-up troubleshooting JAVA – the logical sequel!

After writing Basic start-up troubleshooting – the logical sequence! I promised to deliver a Java version of it. It has taken rather a long time but I finally put together my attempt to describe the basic flow of a Java System startup and the possible areas where problems can occur.

This is not by any means perfect but I like to believe it gives a decent overview of the process.


Database Starts
As on ABAP the first step is to check and start the database. No dedicated developer trace is created in the work directory as the database has its own logs.  If the database does not start correctly it should be visible within seconds and errors will be available within the DB logs.
Developer traces: Refer to your DB logs.

Startup
JSTART is called next, it takes the role of the Java instance controller which analyzes its configuration and initializes SAP signal handling and opens the control port.
There is very rarely an issue with the initial load of JSTART. If for some reason this fails you most likely have a problem with your instance profile.
Developer traces: dev_jstart

Offline Deployment
The Java instance controller reads the instance definition and creates a child process that initializes JVM and starts the OFFLINE DEPLOYMENT program which performs the deployment steps in the Java database.
In the ‘business as usual’ scenario this is very unlikely to end up in an error. These days most deployments are done automaticaly using SUM, the traces will be filled when the instance is stopped and started during the SUM deployment phase.
Developer traces: dev_deployment, std_deployment.out and jvm_deployment.out


Bootstrap
BOOTSTRAP synchronizes the binary data in the Java database with the local file system.
This is where you will most likely find issues during your system startup. Errors during this phase are common and usually caused by issues in one of the following areas;

1. Problems at DB Level
There is a large number of reasons for this to fail going from DB availability to problems with listeners and DB user authentication.
Bootstrap Stops Due to Database Problems – Configuration of SAP NetWeaver – SAP Library

2. Problems at the File System Level
Problems with environmental variables, file permissions, file availability, mounts, etc…
Bootstrap Stops Due to File System Problems – Configuration of SAP NetWeaver – SAP Library

3. Problems at the Configuration Level
Java VM settings configured incorrectly, usually related to memory allocation.
Bootstrap Stops Due to Configuration Problems – Configuration of SAP NetWeaver – SAP Library

Developer traces:dev_bootstrap, std_bootstrap.out and  jvm_bootstrap.out

Internet Communication Manager (ICM)
The Java instance controller starts the processes for infrastructure nodes – the most important in my opinion is ICM; ICM handles the HTTP request directed to the AS JAVA system.
If there is an issue with ICM you’ll see an error on screen while calling the java standard URL. http://<host>.<fqdn>:<port> you will also find the details on the ICM developer trace.

Developer traces: dev_icm

Server Node
When all infrastructure processes are started, the Java instance controller starts the processes for the server nodes.
Finally, your Java system is running and if there was an issue with any request dealt with by this server node you will find information about it on the developer trace.

Developer traces: dev_server0, std_server0.out and jvm_server0.out

Hope this is a good basic explanation of where to start when troubleshooting a Java Startup problem!


As a reference I have taken the freedom to borrow this lovely chart from SAP Help to ilustrate my case
(Image Source: Startup, Operation and Shutdown of an AS Java Instance – Administration – SAP Library)



This graphic is explained in the accompanying text.

Comments

  1. Basic Start-Up Troubleshooting Java – The Logical Sequel! >>>>> Download Now

    >>>>> Download Full

    Basic Start-Up Troubleshooting Java – The Logical Sequel! >>>>> Download LINK

    >>>>> Download Now

    Basic Start-Up Troubleshooting Java – The Logical Sequel! >>>>> Download Full

    >>>>> Download LINK Pc

    ReplyDelete

Post a Comment

Popular posts from this blog

SAP ST-PI and ST-A/PI Patch Update Steps

SAP ST-PI and ST-A/PI patch update Summary :- This document will show you how to update the ST-/PI and ST-A/PI in SAP with help of service preparation check RTCCTOOL . Author: Brindavan Mookaiah Designation : SAP BASIS Consultant Tabls of content 1) EWA report 2) Run RTCCTOOL 3) Implement the ST-A/PI and ST-PI Step 1) Check the EWA report about the ST-PI and ST-A/PI patch to update. SAP will recommend upgrading the new version based on SAP Application. Steps 2) Once if you able to see that the ST-A/PI & ST-PI  need to update and SAP recommeded. Then login into SAP and go to T-code SE38 and then execute program  ‘RTCCTOOL ‘. Download the latest ST-PI and ST-A/PI from service market place http://www.service.sap.com Once you downloaded  the required file(ST-PI& ST-A/PI) from market place and copy the file into the server. Mostly this file will be SAR file. Login in to OS level with SIDadm and extract the file using SAPCAR. ,After  th

How to export RFC destinations prior Refresh

The best and easiest way... Goto SE01, create transport request (Transport of Copies) R3TR TABU RFCATTRIB * R3TR TABU RFCDES * R3TR TABU RFCDOC * R3TR TABU RFCSYSACL * If you take only RFCDES you will be missing the Documentation part of RFCs in order to take everything you need to have export of all the above mentioned tables.

SAPROUTER Installation

his blog intends to support all consultants who work with SAP ROUTER setup and maintenance. Introduction: The step by step configuration procedure is to install SAP ROUTER on Windows platform (The same procedure can be used in Unix environment) Importantly, if the system is in Domain, perform entire operation with domain admin user only. Not with local admin. Configurations steps: OSS message to SAP: Raise an OSS message to SAP for component XX-SER-NET-NEW with following information. “Request you to please register our Public IP & Host Name for SNC connection for SAP Router <saprouter box hostname> Details: Public ip:<public of your saprouter server> Hostname:<hostname of your saprouter server> Please contact <name> and <number > for more information on this“ Response from SAP would be: Dear customer, We’ve registered your data for the SNC connection to SAP Support. Please do the following: – Go to the http://service.sap.com/s