Symptom
Offline deployment fails with the following errors:
deploy.trc:
[...]
Possible inconsistency between kernel and deploy controller detected while using Sap Control webservice;
Kernel update to at least patch level 90 is recommended.
[EXCEPTION]
com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
[...]
Or:
[...]
Failed restart operation of all instances using Sap Control webservice;
Kernel update to at least patch level 90 is recommended.For more information check For more information check Sap Note 1590392.
[EXCEPTION]
com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
[...]
dev_deployment:
ERROR => Java node 'Deploy_offline' terminated with exit code 66.
dev_jstart:
ERROR => Node 'deployment' failed with exit code 66.
jvm_deployment:
[...]
com.sap.engine.services.dc.cm.deploy.offline_phase.OfflinePhaseDeployException: <--Localization failed: ResourceBundle='com.sap.engine.services.dc.util.exception.resources.ResourceBundle', ID='An error occurred while restarting the server.', Arguments: []--> : Can't find resource for bundle java.util.PropertyResourceBundle, key An error occurred while restarting the server.
[...]
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:52013/?wsdl].
[...]
Caused by: com.sun.xml.internal.ws.client.ClientTransportException: The server sent HTTP status code 401: Unauthorized
[...]
std_deployment:
***ERROR (sapjvm.cpp:2624): SAPJMM_GetServiceByName: getservbyname_r for service name sapctrl20 (protocol TCP) failed, error number 0
Read more...
Environment
SAP NetWeaver Application Server Java 7.1/7.2/7.3x/7.4/7.5
Product
Keywords
offline deployment, deployment failed 401: Unauthorized, unauthorized, SUM, telnet, update, kernel, SAP MMC, ClientTransportException, HTTP status code: 401, Sap Control, webservice, exit code 66, SAPJMM_GetServiceByName, sapctrl20 (protocol TCP) failed, OfflinePhaseDeployException, com.sap.engine.services.dc.cm.deploy.DeploymentException: An error occurred while restarting the server , KBA , BC-JAS-SF , Startup Framework , BC-JAS-COR , Enterprise Runtime, Core J2EE Framework , BC-UPG-TLS-TLJ , Upgrade tools for Java , BC-CST-STS , Startup Service , BC-JAS-DPL , Deployment , 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.