cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot auto update SDM during EHP1 upgrade using SUM

former_member211727
Participant
0 Kudos

Hello All,

Presently we are upgrading our NW7.0 BW Usage type system to NW 7.01 using latest version of SUM tool available in SMP. It is ABAP+JAVA.

The current SPS of JAVA is NW 7.0 SP18

We are in the Execution phase and stuck in the step : Deploy SDM

Please seethe log below:

DEPLOY_SDM.LOG

Jan 1, 2013 4:12:37 AM [Info  ]:   Command line: C:\j2sdk1.4.2_30-x64\bin\java.exe -Djava.ext.dir=E:/usr/sap/BW7/SUM/sdt/tmp\unpack_SDMKit\/libs -cp . -jar E:\usr\sap\BW7\SUM\sdt\tmp\unpack_SDMKit\SDM.jar autoupdate sdmHome=e:/usr/sap/BW7/DVEBMGS00/SDM/program ignoreversion=true popDir=E:/usr/sap/BW7/SUM/sdt/tmp\unpack_SDMKit\
Jan 1, 2013 4:12:37 AM [Info  ]:   Standard out: E:\usr\sap\BW7\SUM\sdt\log\SUM\OPERATESDM_135.OUT
Jan 1, 2013 4:12:37 AM [Info  ]: Process ID 32 has been started.
Jan 1, 2013 4:12:37 AM [Info  ]: Waiting for process ID 32, name java.exe to finish.
Jan 1, 2013 4:12:44 AM [Info  ]: Process ID 32, name java.exe has been finished, exit code 16.
Jan 1, 2013 4:12:44 AM [Error ]: Return code condition success evaluated to false for process java.exe for action ACTION_AUTO_UDPATE.
Jan 1, 2013 4:12:44 AM [Error ]: Cannot execute Java process for autoUpdate.
Jan 1, 2013 4:12:44 AM [Error ]: Could not auto-update SDM server.
Jan 1, 2013 4:12:44 AM [Error ]: Cannot update SDM tool.
Jan 1, 2013 4:12:44 AM [Info  ]: Deployment message for component SAP_JAVASL : Cannot update SDM tool.
Could not auto-update SDM server.
Cannot execute Java process for autoUpdate.
Return code condition success evaluated to false for process java.exe for action ACTION_AUTO_UDPATE.

Jan 1, 2013 4:12:44 AM [Info  ]: Overal deployment message : Deployment completed with error. See status messages for individual components.
Jan 1, 2013 4:12:44 AM [Info  ]: Saving data model...
Jan 1, 2013 4:12:53 AM [Info  ]: Saving data model...
Jan 1, 2013 4:12:58 AM [Info  ]: Data model saved.
Jan 1, 2013 4:12:58 AM [Info  ]: Data model saved.
Jan 1, 2013 4:12:58 AM [Error ]: The following problem has occurred during step execution: com.sap.sdt.jspm.service.JspmServiceException: Could not update components.
Deployment of queue Queue_2012.12.28 at 01:39:21 completed with error Deployment completed with error. See status messages for individual components.
sap.com/SAP_JAVASL: Cannot update SDM tool.
Could not auto-update SDM server.
Cannot execute Java process for autoUpdate.
Return code condition success evaluated to false for process java.exe for action ACTION_AUTO_UDPATE.

OPERATESDM.ERR

java.lang.OutOfMemoryError

Severe (internal) error. Return code: 16

.

OPERATESDM.OUT

Do not check version of installed SDM

Initializing SDM for update

Caught OutOfMemoryError

The update.bat file already has -Xmx=256M.

We performed the update of SDM manually and there was no error.  

java -jar <tmp_dir>/bin/SDM.jar autoupdate

The SDM version.txt file shows as 7.01 SP12. However when we continue the upgrade using SUM from the point where it was stopped, it again fails and cannot proceed further. I am not able to skip that step in SUM. Please help.

Thank You.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member264034
Active Contributor
0 Kudos

Hi,

Please kindly follow this note to resolve the issue:

SAP Note No. 1249354 - SDM autoupdate fails because of OutOfMemoryError

Kindly let us know your test result.

Also, as the same issue persists, please try to put a higher value for
the parameter 'Xmx'.
After that, please set SDM back to "integrated" and run the SUM again.

What are the memory parameters of SDM? Could you please check if from

SAP note 879377?

Please increase the memory used by SDM as per note 1264514,


Regards,

Aidan

former_member211727
Participant
0 Kudos

Hello Aidan,

Thanks for your response.

I tried as suggested by you but same issue persists.

The thing is SDM is now updated to 7.01 SP12 manually but thru SUM we are having issue. Can I skip this step?

One more thing, please notice below

Command line: C:\j2sdk1.4.2_30-x64\bin\java.exe -Djava.ext.dir=E:/usr/sap/BW7/SUM/sdt/tmp\unpack_SDMKit\/libs -cp . -jar E:\usr\sap\BW7\SUM\sdt\tmp\unpack_SDMKit\SDM.jar autoupdate sdmHome=e:/usr/sap/BW7/DVEBMGS00/SDM/program ignoreversion=true popDir=E:/usr/sap/BW7/SUM/sdt/tmp\unpack_SDMKit\

In the above command it is not using parameter "-Xmx=NNNM". Could this be an issue? It has to use some heap memory value, if I m not wrong. Could this be an issue with SUM tool?

Thanks

Former Member
0 Kudos

Hi Rahul,

The -Xmx parameter is set for the Java Virtual Machine and you need to use the configtool to set this value.  Look for the Instance > Servers General tab.

regards,

Graham