Skip to Content
avatar image
Former Member

No connection to the ldap server

Hello All,

when we have tried to access the SAP sus Portal we received the error portal run time error


when we have checked the log and found the that log

No connection to the ldap server, recheck configuration or availability of directory server

we have checked the connection LDAP Server configuration and everything was working fine



Thanks

Srinivasa Chary M







womue.png (112.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jan 26 at 11:31 AM

    Hi Srinivasa,

    What is the full Java stacktrace corresponding to the runtime error? Please post it (removing any sensitive info)

    Best regards,

    Nick

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28 at 11:24 AM

    Hello Nick,

    unable to attach the Trace file ,

    #2.0#2018 01 25 09:20:00:053#+0300#Error#com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector#
    #EP-BC-UWL#sap.com/com.sap.netweaver.bc.uwl#C0000A1A460E0118000000B900B20150#508889650000007488#sap.com/com.sap.netweaver.bc.uwl#com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector#BARATHMX#0##CE7B509AFF6D11E7AEBD00001E550A32#ce7b509aff6d11e7aebd00001e550a32##0#Thread[UWL Pooled Thread:4,5,ApplicationThreadGroup]#Plain##
    Problem in calling BWF API to retrieve inbox items in system DVM085:com.sap.netweaver.bc.uwl.connect.ConnectorException: Thu Jan 25 09:20:00 AST 2018
    :User: USER.CORP_LDAP.barathmx failed to connect to System: DVM085#

    #2.0#2018 01 25 09:21:01:079#+0300#Error#com.sap.portal.connectors.R3#
    #EP-VC-CON#sap.com/com.sapportals.connectors.sap#C0000A1A460E0118000000BC00B20150#508889650000007488#sap.com/com.sap.netweaver.bc.uwl#com.sap.portal.connectors.R3#BARATHMX#0##CE7B509AFF6D11E7AEBD00001E550A32#ce7b509aff6d11e7aebd00001e550a32##0#Thread[UWL Pooled Thread:4,5,ApplicationThreadGroup]#Plain##
    SAPCFConnectorManagedConnection.connectWithJCO
    [EXCEPTION]
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557)
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1103)
    at com.sap.mw.jco.JCO$Client.connect(JCO.java:3676)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:437)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:211)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:188)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:139)
    at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:401)
    at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:295)
    at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:173)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:401)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:354)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:305)
    at com.sap.portal.connectivity.destinations.portal.PortalSystemLandscapeSource.getConnectionWithOverridingProps(PortalSystemLandscapeSource.java:120)
    at com.sap.portal.connectivity.destinations.impl.DestinationServiceImpl.getConnection(DestinationServiceImpl.java:261)
    at com.sap.portal.connectivity.destinations.DestinationsService.getConnection(DestinationsService.java:122)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.begin(Transaction.java:138)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.hasFunctionModule(Transaction.java:405)
    at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.hasFunctionModule(R3SystemInfo.java:686)
    at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.hasFunctionModule(R3SystemInfo.java:609)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.util.BackendInfo.supportNoPlugin(BackendInfo.java:401)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInboxInternal(WebflowConnector.java:753)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInbox(WebflowConnector.java:946)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.retrieveSysItems(WebflowConnector.java:436)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.getItems(WebflowConnector.java:295)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:126)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:100)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:335)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread.run(ConnectorThread.java:100)
    at com.sap.netweaver.bc.uwl.core.ThreadManager$PoolWorker.run(ThreadManager.java:209)
    Caused by: RfcException: [null]
    message: Name or password is incorrect (repeat logon)
    Return code: RFC_SYS_EXCEPTION(3)
    error group: 103
    key: RFC_ERROR_LOGON_FAILURE

    at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:647)
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1095)
    ... 30 more

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 28 at 11:25 AM


    #2.0#2018 01 25 09:21:01:080#+0300#Error#com.sap.portal.ivs.connectorService#
    #EP-PIN#com.sap.portal.common#C0000A1A460E0118000000BD00B20150#508889650000007488#sap.com/com.sap.netweaver.bc.uwl#com.sap.portal.ivs.connectorService.DestinationsService#BARATHMX#0##CE7B509AFF6D11E7AEBD00001E550A32#ce7b509aff6d11e7aebd00001e550a32##0#Thread[UWL Pooled Thread:4,5,ApplicationThreadGroup]#Plain##
    PortalSystemLandscapeSource.getConnection(IUser,String,DestinationFilter,Map) Failed to get connection. Original exception: A nested exception occurredCould not initialize physical connection. Linked Exception: A nested exception occurredCould not create JCO connection. Linked Exception: Name or password is incorrect (repeat logon)
    [EXCEPTION]
    com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection.
    at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewConnectionFailedLocalizedException(SAPConnectorException.java:182)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:155)
    at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:401)
    at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:295)
    at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:173)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:401)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:354)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:305)
    at com.sap.portal.connectivity.destinations.portal.PortalSystemLandscapeSource.getConnectionWithOverridingProps(PortalSystemLandscapeSource.java:120)
    at com.sap.portal.connectivity.destinations.impl.DestinationServiceImpl.getConnection(DestinationServiceImpl.java:261)
    at com.sap.portal.connectivity.destinations.DestinationsService.getConnection(DestinationsService.java:122)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.begin(Transaction.java:138)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.hasFunctionModule(Transaction.java:405)
    at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.hasFunctionModule(R3SystemInfo.java:686)
    at com.sap.netweaver.bc.uwl.utils.r3.R3SystemInfo.hasFunctionModule(R3SystemInfo.java:609)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.util.BackendInfo.supportNoPlugin(BackendInfo.java:401)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInboxInternal(WebflowConnector.java:753)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInbox(WebflowConnector.java:946)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.retrieveSysItems(WebflowConnector.java:436)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.getItems(WebflowConnector.java:295)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:126)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:100)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:335)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread.run(ConnectorThread.java:100)
    at com.sap.netweaver.bc.uwl.core.ThreadManager$PoolWorker.run(ThreadManager.java:209)

    #

    #2.0#2018 01 25 09:21:01:120#+0300#Error#com.sap.portal.connectors.R3#
    #EP-VC-CON#sap.com/com.sapportals.connectors.sap#C0000A1A460E0118000000C100B20150#508889650000007488#sap.com/com.sap.netweaver.bc.uwl#com.sap.portal.connectors.R3#BARATHMX#0##CE7B509AFF6D11E7AEBD00001E550A32#ce7b509aff6d11e7aebd00001e550a32##0#Thread[UWL Pooled Thread:4,5,ApplicationThreadGroup]#Plain##
    SAPCFConnectorManagedConnection.connectWithJCO
    [EXCEPTION]
    com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect (repeat logon)
    at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:557)
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1103)
    at com.sap.mw.jco.JCO$Client.connect(JCO.java:3676)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.connectWithJCO(SAPCFConnectorManagedConnection.java:437)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.establishInitialConnection(SAPCFConnectorManagedConnection.java:211)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnection.init(SAPCFConnectorManagedConnection.java:188)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:139)
    at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:401)
    at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:295)
    at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:173)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:401)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:354)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:305)
    at com.sap.portal.connectivity.destinations.portal.PortalSystemLandscapeSource.getConnectionWithOverridingProps(PortalSystemLandscapeSource.java:120)
    at com.sap.portal.connectivity.destinations.impl.DestinationServiceImpl.getConnection(DestinationServiceImpl.java:261)
    at com.sap.portal.connectivity.destinations.DestinationsService.getConnection(DestinationsService.java:122)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.begin(Transaction.java:138)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.createInput(Transaction.java:295)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInboxInternal(WebflowConnector.java:869)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInbox(WebflowConnector.java:946)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.retrieveSysItems(WebflowConnector.java:436)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.getItems(WebflowConnector.java:295)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:126)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:100)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:335)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread.run(ConnectorThread.java:100)
    at com.sap.netweaver.bc.uwl.core.ThreadManager$PoolWorker.run(ThreadManager.java:209)
    Caused by: RfcException: [null]
    message: Name or password is incorrect (repeat logon)
    Return code: RFC_SYS_EXCEPTION(3)
    error group: 103
    key: RFC_ERROR_LOGON_FAILURE

    at com.sap.mw.rfc.api.RfcApi.RfcOpen(RfcApi.java:647)
    at com.sap.mw.jco.MiddlewareJRfc$Client.connect(MiddlewareJRfc.java:1095)
    ... 27 more

    #

    #2.0#2018 01 25 09:21:01:121#+0300#Error#com.sap.portal.ivs.connectorService#
    #EP-PIN#com.sap.portal.common#C0000A1A460E0118000000C200B20150#508889650000007488#sap.com/com.sap.netweaver.bc.uwl#com.sap.portal.ivs.connectorService.DestinationsService#BARATHMX#0##CE7B509AFF6D11E7AEBD00001E550A32#ce7b509aff6d11e7aebd00001e550a32##0#Thread[UWL Pooled Thread:4,5,ApplicationThreadGroup]#Plain##
    PortalSystemLandscapeSource.getConnection(IUser,String,DestinationFilter,Map) Failed to get connection. Original exception: A nested exception occurredCould not initialize physical connection. Linked Exception: A nested exception occurredCould not create JCO connection. Linked Exception: Name or password is incorrect (repeat logon)
    [EXCEPTION]
    com.sapportals.connector.connection.ConnectionFailedException: Connection Failed: A nested exception occurred. Could not initialize physical connection.
    at com.sapportals.connectors.SAPCFConnector.SAPConnectorException.getNewConnectionFailedLocalizedException(SAPConnectorException.java:182)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorManagedConnectionFactory.createManagedConnection(SAPCFConnectorManagedConnectionFactory.java:155)
    at com.sap.engine.services.connector.jca.ConnectionHashSet.match(ConnectionHashSet.java:401)
    at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:295)
    at com.sap.engine.services.connector.jca.ShareableConnectionManager.allocateConnection(ShareableConnectionManager.java:54)
    at com.sapportals.connectors.SAPCFConnector.connection.SAPCFConnectorConnectionFactory.getConnectionEx(SAPCFConnectorConnectionFactory.java:173)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:401)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:354)
    at com.sap.portal.ivs.internalconnector.ConnectionProvider.getConnection(ConnectionProvider.java:305)
    at com.sap.portal.connectivity.destinations.portal.PortalSystemLandscapeSource.getConnectionWithOverridingProps(PortalSystemLandscapeSource.java:120)
    at com.sap.portal.connectivity.destinations.impl.DestinationServiceImpl.getConnection(DestinationServiceImpl.java:261)
    at com.sap.portal.connectivity.destinations.DestinationsService.getConnection(DestinationsService.java:122)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.begin(Transaction.java:138)
    at com.sap.netweaver.bc.uwl.utils.r3.Transaction.createInput(Transaction.java:295)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInboxInternal(WebflowConnector.java:869)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.readInbox(WebflowConnector.java:946)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.retrieveSysItems(WebflowConnector.java:436)
    at com.sap.netweaver.bc.uwl.core.connect.webflow.WebflowConnector.getItems(WebflowConnector.java:295)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:126)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread$1.run(ConnectorThread.java:100)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.Subject.doAs(Subject.java:335)
    at com.sap.netweaver.bc.uwl.core.connect.ConnectorThread.run(ConnectorThread.java:100)
    at com.sap.netweaver.bc.uwl.core.ThreadManager$PoolWorker.run(ThreadManager.java:209)

    #

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 29 at 03:53 PM

    Did you check LDAP user?

    This is what the error : User: USER.CORP_LDAP.barathmx failed to connect to System

    -Yogesh

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Srinivasa,

      I would focus on why you are getting: Name or password is incorrect (repeat logon). Check if BARATHMX user exists in R3 and he is not blocked (SU01).

      If you set Work Process security tracing temporarily to 3 in SM50 (SM51 to go to specific app server) you may get more useful information why connection is failing.

      Finally make sure the stack traces match the Exception ID. A portal runtime error should throw a PortalRuntimeException

      Best regards,

      Nick

  • Feb 05 at 11:57 AM

    hi,

    check uwl system object and test the connection.if its not successful maintain common username and password for both front end and backend system.and then test.check logonticket for sso.

    Add comment
    10|10000 characters needed characters exceeded