on 06-23-2008 12:54 PM
Dear Experts,
We have a 2004s server. Once in a while the server automatically restarts. When i checked the J2EE Engine tab in NWDS, the SDM, dispatcher and server0 all have a flag called automatic restart and it is set to YES. How do i set them to NO.
Thanu
Hi Krishnan
There is a possibility of Memory constraint as well
Some times this will be the reason for restart of Java Engineu2026..
Please check the logs in /usr/sap/SID/DVEBMGu2026/work u2026
you may get a clueu2026.
In the logs some times it shows like u201Cout of memoryu201D
If you find that there is problem with your Memoryu2026..
Most likely that will be with your Java VM settings. Please look into this SAP NOTE: 723909 for the same.
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Parameter : rdisp/j2ee_start
Short description : Enable start of J2EE server
Parameter description :
You can use this parameter to activate or deactivate the start of
parameter. The J2EE Engine start is automatically deactivated, if a certain
number of attempts ( rdisp/j2ee_error ) to start the server have failed.
The start can be reactivated by dynamically changing this parameter
to the value 1.
The parameter exe/j2ee specifies where the SAP J2EE Engine can
be found, or the shell command with which it is started.
So you have to maintain the parameters rdisp/j2ee_start and rdisp/j2ee_error (on this restart depends)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
you can use jcmon to achieve this.
Goto your SYS/profile directory:
e.g. /usr/sap/<SID>/SYS/profile or X:\usr\sap.... on Windows
Start jcmon using:
jcmon pf=<PROFILE>
The Profile to be used is +<SID>_JC<InstanceNo>_<hostname>+
This will show up jcmon:
============================================================
JControl Monitor Program - Main Menu
============================================================
0 : exit
-
10 : Cluster Administration Menu
-
20 : Local Administration Menu
-
30 : Shared Memory Menu (Solid Rock, experimental)
-
Choose 20 for Local Administration Menu
You see a list of processes:
|Idx|Name |PID |State |Error|Restart|
|---|-------------------|--------|---------------------|-----|-------|
| 0|dispatcher | 16670|Running | 0|yes |
| 1|server0 | 16671|Running | 0|yes |
| 2|SDM | 16672|Running | 0|yes |
------------------------------------------------------------
============================================================
JControl Monitor Program - Administration Menu (Local)
Instance : JC_<hostname>_<SID>_<InstanceNo>
============================================================
0 : exit
1 : Refresh list
2 : Shutdown instance
3 : Enable process
4 : Disable process
5 : Restart process
6 : Enable bootstrapping on restart
7 : Disable bootstrapping on restart
8 : Enable debugging
9 : Disable debugging
10 : Dump stacktrace
11 : Process list
12 : Port list
13 : Activate debug session
14 : Deactivate debug session
15 : Increment trace level
16 : Decrement trace level
17 : Enable process restart
18 : Disable process restart
19 : Restart instance
------------------------------------------------------------
40 : Enable bootstrapping for all processes with specified process type
41 : Enable bootstrapping for all processes excluding specified process type
------------------------------------------------------------
99 : Extended process list on/off
------------------------------------------------------------
Now use 17/18 to toggle Process restart
e.g.
command => 18
Process Index : 1
Do you want to disable process restart for process [0/dispatcher] ? (y/n): y
------------------------------------------------------------
Hope this helps
Cheers
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.