01 SAP WAS 7.5 Java Features and Architecture
01 SAP WAS 7.5 Java Features and Architecture
Supports new and evolved technology trends like the Internet of Things (IoT), Big Data and Analytics.
Easier Cloud integration with e.g. SAP HANA Cloud Platform (HCP).
Runs on SAP JVM 8 to keep up the speed of innovation and benefit from new Java features.
Build Java Hubs in single systems like SAP Enterprise Portal and SAP Business Warehouse or SAP Process
Orchestration which combines the power of SAP Business Process Management and SAP Process Integration.
Standard SAP UI5 based applications like Unified Inbox or BPM Inbox.
Leverage SAP UI5 1.38 libraries and above for custom UIs and applications.
NetWeaver Lifecycle
Simplified migration and upgrade capabilities.
True Zero Downtime maintenance.
Leverages SAP Maintenance Planner.
On-the-fly debugging
Switch on debug mode for a VM on-the-fly
No restart of server node required
No separate and isolated debugging node necessary
SAP MMC Integration
Java Cluster
ICM Instance J01
ICM
Node
Instance J02
Node Node Node
Database
Server Server Server Server
NodeJ03Node
Instance Node Node
ICM SAP Central Services
JMS Handler
Java Server Process
Shared Memory
for monitoring SAP JVM 8
data
Shared memory separated from Java
heap areas to share objects between
different JVMs.
Startup Framework
Startup Order
Provides various
Facades SAP Java EE runtime functions
System and programming
APIs
Libraries Services Interfaces Components
Comprises low-
Framework API level subsystems
that provide
functions such as
class loading,
cluster
Managers SAP Java Enterprise Runtime communication,
persistent
configuration data
management, and
so on.
© 2017 SAP SE or an SAP affiliate company. All rights reserved. Customer 11
SAP AS Java 7.5 Architecture
Thread Manager
The thread system is responsible for handling system and application threads.
Comprises two main managers - Application Thread Manager and Thread Manager:
It handles client requests coming to the system. When a client request comes, the system tries to find a free thread in the
Application Thread Manager. If no free thread is available, the thread system buffers the request in a request queue.
Thread Manager
The Thread Manager pool is used for system activities such as internal cluster communication, event processing, backup of log
records, background processes for collecting and storing data, and so on.
Division into two thread pools prevents situations where there are too many clients that block the system.
Monitor thread system information using the SAP Management Console.
SAP JVM provides additional thread information like user name or CPU usage.
Configurability
Central configuration of all caches.
User is able to change the behavior (scope, thresholds, eviction …).
Administration
Central monitoring of all caches (hit rate, miss rate, request count, update count, remove count, eviction
count, utilization etc.).
Allowing system wide cache analysis and optimization via SAP MMC.
Advanced Concepts
Sharing of caches between all nodes of an instance.
Cluster wide invalidation of cached objects.
Tools to analyze the cache size & behavior for each region.
Sessions are used to keep the state of a user accessing an application between several requests.
The Session Manager, is responsible for enhanced control of sessions lifecycle and mechanisms for
Separation of inactive user sessions and active sessions provides higher session count per VM.
Active sessions are stored in the VM memory while inactive sessions are stored in shared memory.
Hands On Session
Basic Architecture
The Startup Framework is used to centrally manage the process lifecycle of the AS Java.
It displays the trace files, the system environment, and the SAP system environment.
Offline deployment
This Java program deploys and updates services and kernel components into the Java database.
Bootstrap
This Java program synchronises the binary data from the Java database with the local file system and creates a
property file, which describes the processes of the Java instance.
JSMon
A native command based control and monitoring program, equivalent to the SAP MC.
Can disable / enable processes controlled by the Instance Controller JStart.
R
SAP MMC
R
SAP Start Service JSMon / JCMon
Webservice
control control
R Database
Java
monitoring and Application
HTTP session Java data
Java
management Java
server
server Configuration
ICM server
nodes
nodes
Request & nodes
(JStart)
(JStart)
R response (JStart)
data File System
P4
Shared Memory Java Archives
JVM
Offline deploy DB
JAVA
Store Instance
4. Start Bootstrap Process Description in a file
instance.properties
JStart
JVM
Bootstrap
Synchronize Binaries from DB DB
with the local file System
JAVA
ICM
JVM
- restart after crash Node
JVM
Server Node
JVM
- send shutdown signal
JVM - terminate hanging processes
Java Instance
The trace files are per default written with trace level 1.
dev_jstart
trace file of JStart
• Detailed property description
• Description of the processes started by JStart 0: No trace
dev_deployment 1: Write error messages in the trace file.
trace file of the deployment process 2: Full trace. The trace entries that are actually
dev_bootstrap written can vary with the program that is being
trace file of the bootstrap process traced.
dev_icm 3: Additionally, trace data blocks.
trace file of the icm process
dev_server<x>
-> Change Trace Level with the SAP MC on the fly if
trace files of the JEE server nodes necessary.
Hands On Session
Start & Stop