cancel
Showing results for 
Search instead for 
Did you mean: 

SDM and Java

Former Member
0 Kudos

Hi All,

I have facing 2 issues,

1. Is there any way to restart the SDM server seperately as I am facing the following problem while login in and while stopping the server.

Shutdown failed: Cannot shutdown server. There are active sessions: Session id 12 / An administrator logged in via GUI / /

Could not shutdown server: Could not shutdown Server(4)

Details: Shutdown failed: Cannot shutdown server. There are active sessions: Session id 12 / An administrator logged in via GUi

Processing error. Return code: 4

2. Also when i start the SDM, it shows the 'Starting /usr/java/bin/java' ' - Xmx256'

I think it is using only 256 Mb of RAM? I have opened configtool and changed the server properties to 512 and heap to 2048, but still the same. Is there any other parameter to change the java setting?

Thanks & regards,

Prashant

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Go to path


/usr/sap/<SID>/<sysno>/SDM/program

Stop SDM service

./StopServer.sh

change the mode to standalone

./sdm.sh jstartup "mode=standalone"

change password of your choice

./sdm.sh changepassword "newpassword=password"

change mode to integrated

./sdm.sh jstartup "mode=integrated"

Now your SDM password is changed and started SDM.

Former Member
0 Kudos

Hi Prashant,

To stop and start the SDM I used the following procedure

cd /usr/sap/<SID>/JC<XX>/SDM/program

./StopServer.sh "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program"

./StartServer.sh "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program"

to change the password for SDM you can follow the following sequence

Login as <SID>ADM

1) cd /usr/sap/<SID>/JC<XX>/SDM/program

2) ./StopServer.sh "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program"

3) ./sdm.sh jstartup "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program" "mode=standalone"

4) ./sdm.sh changepassword "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program" "newpassword=<newpassword>"

5) ./sdm.sh jstartup "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program" "mode=integrated"

6)./StartServer.sh "sdmhome=/usr/sap/<SID>/JC<XX>/SDM/program"

Thank You

Reg,

Kishore

Former Member
0 Kudos

> 1. Is there any way to restart the SDM server seperately as I am facing the following problem while login in and while stopping the server.

is server is on windows if yes try restarting using mmc

> 2. Also when i start the SDM, it shows the 'Starting /usr/java/bin/java' ' - Xmx256'

where did changed this parameter?

did you restarting SDM after changing this parameter

Samrat

former_member184114
Active Contributor
0 Kudos

If possible check the active session nd try to kill it and then restart the server

Regards

Faisal

Former Member
0 Kudos

Hi,

You can use the scripts stopserver and startserver to start and stop sdm manually.

These scripts are located in sdm/program folder.

Or just try restarting only the java stack using SMICM.

Regards,

Vamshi.

Former Member
0 Kudos

Hi Vamshi,

I have run the stopserver, but failed as the session was already present.

Will try the SMICM next time.

Thanks