SAP Knowledge Base Article - Preview

2574877 - offline deployment failed due to SAPJMM_GetServiceByName failed


Java offline deployment failed and in dev_deployment, below error can be found:

ERROR (sapjvm.cpp:2622): SAPJMM_GetServiceByName: getservbyname for service name sapctrl<XX> (protocol TCP) failed, error code 11004

And Java server is installed in a Window OS.

The same error can be found in std_server and dev_server. Looking at the deploy.x.log you should see that offline deployment was successful and server was restarted:

For example:

#2.0�#2019 03 07 21:24:01:796#+0530#Info#/System/Server/Deployment#[main,5,main]#Plain##
[offline] (81) :Offline Phase Deployer - component [sdu id: [com.adobe_TrustManagerService]
sdu file path: [S:\\usr\\sap\\POD\\J00\\j2ee\\cluster\\server0\\.\\temp\\tc~bl~deploy_controller\\archives\\81\\ADSSAP13_0-80000623_SCA1551973960256\\DEPLOYARCHIVES\\adobe-TrustManager.sda]
version status: [NEW]
deployment status: [OfflineSuccess]
description: []
] is persisted into the storage.#

#2.0�#2019 03 07 21:24:01:836#+0530#Info#/System/Server/Deployment#[main,5,main]#Plain##
[offline] (81) :Restarting Application Server Java in ['normal' mode, action 'NONE']#

it is the attempt to restart the server, after offline deployment, by sapctrl<xx> service where the issue lies.



  • Kernel version higher than the ones mentioned in Note 2427292 - Information disclosure in SAP MMC Console.
  • Server OS is Windows.


SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP enhancement package 1 for SAP NetWeaver 7.3


ADS, deployment , KBA , BC-JAS-DPL , Deployment , BC-JAS-SF , Startup Framework , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.