SAP Knowledge Base Article - Preview

1977612 - AS Java system cannot start due to LDAP data source access error

Symptom

You are trying to start the AS Java but the system still cannot start. In the trace files you see the following exception messages:

  • defaultTrace.X.trc:
    com.sap.security.core.persistence##com.sap.security.core.persistence.[cf
    =com.sap.security.core.persistence.datasource.imp.LDAPConnectionManager]
    [md=openNewConnectionPool][cl=27066]#######SAPEngine_System_Thread[impl:
    5]_56##0#0#Error##Plain###Initialisation of connection pool failed for
    USER
    Server not available, please check configuration and availability of
    directory server, switching to a default directory server.
     poolname <LDAP IP>:389_USER
     java.naming.factory.initial= com.sun.jndi.ldap.LdapCtxFactory
     java.naming.security.principal= <domain and server>
     com.sun.jndi.ldap.connect.timeout= 25000
     java.naming.ldap.version= 3
     com.sun.jndi.ldap.read.timeout= 15000
     connection_pool_name= <LDAP IP>:389_USER
     java.naming.provider.url= ldap://<LDAP IP>:389/<DC=domain,DC=...>
     java.naming.security.authentication= simple
     java.naming.security.credentials= ******
     [EXCEPTION: No connection to the ldap server]#

    com.sap.security.core.persistence.datasource.imp.LDAPDataSourceConnectio
    nPool##com.sap.security.core.persistence.datasource.imp.LDAPDataSourceCo
    nnectionPool.newConnection#######SAPEngine_System_Thread[impl:5]_56##0#0
    #Error##Java###no connection to the ldap server
    [EXCEPTION]
     {0}#1#java.security.PrivilegedActionException:
    javax.naming.AuthenticationException: [LDAP: error code 49 - 80090308:
    LdapErr: DSID-0C0903A8, comment: AcceptSecurityContext error, data 532,
     v1db1 ]

  • std_serverX.out:
    service com.sap.security.core.ume.service ================= ERROR =================
    Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.
    com.sap.engine.frame.ServiceException: Start of UME service failed. Check help topic "Start of UME Service Failed". Technical details: Initialisation of connection pool failed for USER
     poolname <LDAP IP>:389_USER
     [EXCEPTION: no connection to any server possible]
     at com.sap.security.core.server.ume.service.UMEServiceFrame.start(UMEServiceFrame.java:398)
     at com.sap.engine.frame.ApplicationFrameAdaptor.start(ApplicationFrameAdaptor.java:31)
     at com.sap.engine.core.service630.container.ServiceRunner.startApplicationServiceFrame(ServiceRunner.java:214)
     at com.sap.engine.core.service630.container.ServiceRunner.run(ServiceRunner.java:144)
     at com.sap.engine.frame.core.thread.Task.run(Task.java:64)
     at com.sap.engine.core.thread.impl5.SingleThread.execute(SingleThread.java:83)
     at com.sap.engine.core.thread.impl5.SingleThread.run(SingleThread.java:156)
    Caused by: com.sap.security.core.persistence.datasource.PersistenceException: Initialisation of connection pool failed for USER
     poolname <LDAP IP>:389_USER
     [EXCEPTION: no connection to any server possible]

  • server.X.log:
    com.sap.security.core.persistence [SAPEngine_System_Thread[impl:5]_15] Fatal: Please recheck the LDAP configuration Initialisation of connection pool failed for UACC
    poolname <LDAP hostname>:389_UACC
    java.naming.provider.url= ldap://<LDAP IP>:389/<your LDAP domain>
    java.naming.factory.initial= com.sun.jndi.ldap.LdapCtxFactory
    java.naming.ldap.version= 3
    com.sun.jndi.ldap.connect.timeout= 25000
    connection_pool_name= <your LDAP hostname>:389_UACC
    java.naming.security.authentication= simple
    [EXCEPTION: No connection to the ldap server]
    com.sap.engine.core.Framework [SAPEngine_System_
    Thread[impl:5]_15] Fatal: Critical shutdown was invoked. Reason is: Core service com.sap.security.core.ume.service failed. J2EE Engine cannot be started.

Read more...

Environment

SAP Netweaver Application Server Java

Product

SAP NetWeaver Application Server for Java all versions

Keywords

LDAP, datasource, start up, startup, connection, persistence, pool, , KBA , BC-JAS-SEC-UME , User Management Engine , BC-JAS-SF , Startup 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.