SAP Knowledge Base Article - Preview

2616195 - Diagnostics Agent doesn't connect to the Solution Manager - MalformerURLException

Symptom

The Diagnostics Agent fails to connect to the Solution Manager with the following error:

Mar 7, 2018 1:58:14 PM [Thread[Connector,5,main] ] Error Connecting to SMD server p4://”sapms://<FQDN>”:”<port>” failed - error counter: 19
[EXCEPTION]
javax.naming.NamingException: Exception while trying to get InitialContext. [Root exception is java.net.MalformedURLException: Invalid authority field: [”sapms:]
at com.sap.engine.services.jndi.InitialContextFactoryImpl.getInitialContext(InitialContextFactoryImpl.java:386)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:667)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.init(InitialContext.java:197)
at com.sap.smd.agent.connection.SMDConnectionTask.getNewSMDInitialContext(SMDConnectionTask.java:367)
at com.sap.smd.agent.connection.SMDConnectionTask.getTransientInitialContext(SMDConnectionTask.java:908)
at com.sap.smd.agent.connection.SMDConnectionTask.internalAttemptConnection(SMDConnectionTask.java:520)

In the runtime.properties file, property smd.agent.connection.url will be interpreted and set incorrectly, like below:

smd.agent.connection.url=p4\://sapms\:\\\\fakehost.domain.com\:<port>


Read more...

Environment

  • SAP Solution Manager 7.1
  • SAP Solution Manager 7.2

Product

SAP Solution Manager 7.1 ; SAP Solution Manager 7.2

Keywords

KBA , SV-SMG-DIA-SRV-AGT , Agent 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.