SAP Knowledge Base Article - Preview

2654270 - IPv6 stops AS java from starting up during deployment

Symptom

You are performing deployment by using SUM, but it failed on restarting the Java stack.

The following error massages appear on deploy.<X>.trc in folder ...\usr\sap\<SID>\<Instance no.>\work.

An error occurred while restarting the server.
[EXCEPTION]
com.sap.engine.services.dc.cm.deploy.DeploymentException: 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:5XX13/?wsdl].
...
Caused by: javax.xml.ws.WebServiceException: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Connection refused: connect (local port XXXXX to address 0:0:0:0:0:0:0:0, remote port 5XX13 to address 0:0:0:0:0:0:0:1)
...
Caused by: com.sap.engine.services.webservices.espbase.wsdl.exceptions.WSDLException: Connection refused: connect (local port XXXXX to address 0:0:0:0:0:0:0:0, remote port 5XX13 to address 0:0:0:0:0:0:0:1)
...
Caused by: java.net.ConnectException: Connection refused: connect (local port XXXXX to address 0:0:0:0:0:0:0:0, remote port 5XX13 to address 0:0:0:0:0:0:0:1)
...

  • You found java.net.preferIPv6Addresses is set to true on std_server<X> in folder ...\usr\sap\<SID>\<Instance no.>\work.

-Djava.net.preferIPv6Addresses=true

  • Netstat command shows 5XX13 port is not opened for IPv6 address

For example, when executing command "netstat -ano|findstr 50013", only IPv4 addresses returned like belows, the 50013 port is not opened for IPv6

TCP    0.0.0.0:50013          0.0.0.0:0              LISTENING       14412


Read more...

Environment

SAP NetWeaver Application Server Java

Product

SAP NetWeaver 7.1 ; SAP NetWeaver 7.2 ; SAP NetWeaver 7.3 ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5

Keywords

SAP_IPv6_ACTIVE, java.net.preferIPv6Addresses, java.net.preferIPv4Stack, TCP, 50013 , KBA , 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.