Activating the Emergency User in Java only system
Why SAP* user activation required
Sometime we end up in a situation when none of the user are able to log in into SAP
or even Administrator user is locked or not working. In this scenario you have to
activate the emergency user SAP* .
Please note : This method is only for Java Only system , for dual stack systems you
can activate SAP* or lock unlock user via SU01. (Will provide a link shortly to unlock
SAP* in ABAP stack).
Once SAP* is activated all other users will be deactivated until SAP* is
disabled again.
How to activate SAP*
1.Launch Configtool - Go to to /usr/sap/<SID>/JC*/j2ee/configtool/ and execute
configtool.sh (On UNIX like environment , please setup DISPLAY as per X11
/Reflection application).
2.Go to Global Server Config > Services > com.sap.security.core.ume.services
node.
3. Change the following UME parameters.
4.Select the property and enter the Value as shown in step 3 and save it by pressing
"Set" button.
5.SAP* will get activated after Java restart.
6.Now you can log in with SAP* and unlock Administrator or any other desired user.
7.After step 6 deactivate SAP*.
How to check SAP Java system availability using JSMON
Requirement : You want to verify if all the essential process of Java Engine running
or not .
Steps:
-Log on at OS level with <sid>adm user and go to /sapmnt/<SID>/profile directory (at
UNIX level) and execute following command.
jsmon pf=<SID>_DVEBMGS<XX>_<hostname>
for example if your SID is EPP and the instance is DVEBMGS10 and hostname is
sapeppci then the command would be
jsmon pf=EPP_DVEBMGS10_sapeppci
JSMON is available starting SAP Netweaver 7.1 , for earlier release use JCMON
tool.
-Once you get below mentioned screen enter "P V" in the command prompt(shown
in red).
-"P V" is for process view, this will show you all the process running , you should see
all the sever nodes running with all the services like HTTP,P4 etc (Highlighted in
red).
-Enter "Exit" command to get out of the tool.