cancel
Showing results for 
Search instead for 
Did you mean: 

How to start & stop SAP J2EE services.

Former Member
0 Kudos

Hello,

Can anyone tell me the steps how to Start and Stop SAP J2EE operations and how to troubleshoot the problems when the Java doesn't come-up.

Regards,

Murali

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

In windows,

go to SAP management console,Right click on the SID and then <b>start all tasks</b>

similarly to stop,Right click,

<b>stop all tasks</b>

If it is linux machine,

switch to SIDadm user,by giving the command <b>su sidadm</b>

ex:if SID is J2E,then it will be <b>j2eadm</b>.and then it is <b>startsap</b> or <b>stopsap</b>.

For troubleshooting,

1.go to /usr/sap/SID/JCxx/j2ee/cluster/server0/log

look for <b>defaulttrace.trc file.</b>

you can get to know the errors here and find teh root cause of it.

2.you can also look for <b>devp_trace</b> in SAPmanagement console.

3.Before doing all this,first check if <b>JAVA_HOME,path</b> and <b>LD_LIBRARY_PATH</b> is set properly and proper JDK is taken.

4.check id <b>DB is up and running.</b>

reward points if helpful

Message was edited by:

usha rani

Former Member
0 Kudos

Hi,

For windows use SAP MMC. right click on the instance and then all tasks-> start.

For Linux, switch to sid adm using the command "su - <sid>adm".

Then type startsap to start and stopsap to stop.

As far as troubleshooting log files are the best.

c:\usr\sap\SID\JC<XX>\work\ you get dev_disp, dev_jcontrol, dev_dispatcher, dev_server0 and similar log files.

From the MMC you can see which has the problem and then you can see the correspoding log files.

Also in the MMC right click on the part which has error say dispatcher, so right click on it select dispatcher trace.

Look into it.

Reward good points as appeciation.

Former Member
0 Kudos

Hi murali,

Open your sap mmc ,select the sid(system id) on the left and then right click you get the options of starting and stopping .you can also stop a particular server node.

reward if useful

Thanks

srinivas

Vlado
Advisor
Advisor
0 Kudos

Hi Murali,

Have a look at this link:

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/6e/dd0041aafdf123e10000000a155106/frameset.htm">Starting and Stopping the J2EE Engine</a>

It contains all the information you need, including troubleshooting.

HTH!

-Vladimir