SAP Knowledge Base Article - Preview

2676550 - Issue during start of sapinst with "You can use SAPINST_GUI_HOSTNAME to override the webserver hostname for the GUI " using Software Provisioning Manager Tool


  • While attempting an installation or system copy you are faced with the error as "ERROR in Selftest. Return code: 1".Connecting to <HOSTNAME> failed.
  • In sapinst_dev.log the error entries are as:

INFO <timestamp> (<domain name\user>) (SLPCommunicator) [synxcsymgt.cpp:192] CSySystemMgtImpl::openUrlWithBrowser()
Opening url 'https://<HOSTNAME>:4237/sapinst/docs/index.html'

INFO <timestamp> (<domain name\user>) (startInstallation) [SLPSelftestHandler.cpp:156]
ERROR in Selftest. Return code: 1
Connecting to <HOSTNAME> failed.
You can use SAPINST_GUI_HOSTNAME to override the webserver hostname for the GUI.

INFO <timestamp> (<domain name\user>) (startInstallation) [SLPSelftestHandler.cpp:157]

Full output of selftest:
java.lang.NoClassDefFoundError: C:\Users\<>\AppData\Local\Temp\3\sapinst_exe/<nnn>/<nnn>\baselib/dll


Exception in thread "main"

INFO <timestamp> (<domain name\user>) (SLPCommunicator) [CWebDispatcherHandlerBase.cpp:379]
Leaving Web Dispatcher log files
 in C:/Users/.sapinst/<HOSTNAME>/<nnn>.

Exit status of child: 1
 Not closing window (Exit State: 1; exitOnError: 0).

  • The error is related to Selftest failure which is due to user account issue.



  • SAP NetWeaver 7.0x and higher
  • Software Provisioning Manager Tool (SWPM Tool - SAP Note 1680045)


SAP NetWeaver 7.0 ; 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.0 ; SAP enhancement package 1 for SAP NetWeaver 7.3 ; SAP enhancement package 2 for SAP NetWeaver 7.0 ; SAP enhancement package 3 for SAP NetWeaver 7.0


SAP JVM in AS Java, SAP JVM Version compatibility in AS Java, SAP JVM 4.1 (JDK 1.4), SAP JVM 5.1 (JDK 1.5), SAP JVM 6.1 (JDK 1.6), SAP JVM 8.1 (JDK 1.8), NetWeaver 7.0, NetWeaver 7.0 EHP1, NetWeaver 7.0 EHP2, NetWeaver 7.0 EHP3, NetWeaver 7.1, NetWeaver 7.2, NetWeaver 7.3#, NetWeaver 7.4, NetWeaver 7.5
NetWeaver 7.31 NetWeaver 7.40 NetWeaver 7.50, administrator, SAPINST_GUI_HOSTNAME, ERROR in Selftest. Return code: 1, Connecting to <HOSTNAME> failed. , KBA , BC-INS-NT , SAP Netweaver based Solutions on Windows , BC-INS , Installation Tools (SAP Note 1669327) , BC-INS-JCI , Java component inst. / jload jmigmon, jsizecheck , 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.