SAP Knowledge Base Article - Preview

2898527 - SOAPFaultException - getservbyname_r for service name sapctrl10 (protocol TCP) failed to work

Symptom

Deployment on SAP NetWeaver Application Server Java (AS Java) fails. Log files show the followings:

deploy.<x>.trc:

[...]
An error occurred while restarting the server.
[EXCEPTION]
[...]
Caused by: com.sap.engine.services.dc.cm.server.spi.RestartServerService$RestartServerServiceException: [ERROR CODE DPL.DC.3154] An error occurred while restarting the AS Java Cluster.
[...]
Caused by: com.sap.engine.services.dc.jstartup.JStartupException: [ERROR CODE DPL.DC.3312] An error occurred while restarting the cluster using SAP control webservice on URI [http://localhost:51013/?wsdl].
[...]
Caused by: This exception is wrapper of javax.xml.ws.soap.SOAPFaultException. com.sap.engine.services.webservices.espbase.client.bindings.exceptions.SOAPFaultException: Operation failed on 1 of 2 instances
[...]

dev_server<x>:

[...]
: [140162861782784] 13:07:50 ***ERROR (sapjvm.cpp:2629): SAPJMM_GetServiceByName: getservbyname_r for service name sapctrl10 (protocol TCP) failed, error number 0
Shutdown with exit code [0] was requested on [<date>]
[...]
F [Thr 140161981662976] *** LOG => State changed from 3 (Running) to 4 (Waiting to stop).
[...]
J : [139897993660160] 13:14:27 ***ERROR (sapjvm.cpp:2629): SAPJMM_GetServiceByName: getservbyname_r for service name sapctrl10 (protocol TCP) failed, error number 0
[...]
F [Thr 139897522673408] *** LOG => State changed from 3 (Running) to 4 (Waiting to stop).
[...]


Read more...

Environment

SAP NetWeaver Application Server Java all versions

Product

SAP NetWeaver Application Server for Java all versions

Keywords

jvm_deployment.out, std_deployment.out, dev_deployment, Kernel update to at least patch level, is recommended, For more information check Sap Note, Kernel update to at least patch level 90 is recommended.For more information check For more information check Sap Note 1590392 , KBA , BC-JAS-DPL , Deployment , BC-OP-NT , Windows , BC-OP-LNX , Linux , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CST-STS , Startup Service , BC-NET , Obsolete - Formerly used for network tests , BC-CST-NI , Network Interface , Problem

About this page

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

Search for additional results

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