javax.naming.NamingException: [LDAP: error code 1 - Can't connect to the LDAP server]

Oracle Community | 804908 | 7 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    ERROR<53761> Connection  Bind through PTA failed (91). Retrying...

    Oracle Community | 7 years ago | 804908
    javax.naming.NamingException: [LDAP: error code 1 - Can't connect to the LDAP server]]
  2. 0

    ldap query with logical not

    apache.org | 1 year ago
    javax.naming.NamingException: OID '2.5.4.3' was not found within the OID registry] at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.getUserIndex( JdbmPartition.java:522) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getNegationScan( DefaultOptimizer.java:219) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:148) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getConjunctionScan( DefaultOptimizer.java:187) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:145) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.getConjunctionScan( DefaultOptimizer.java:187) at org.apache.directory.server.core.partition.impl.btree.DefaultOptimizer.annotate( DefaultOptimizer.java:145) at org.apache.directory.server.core.partition.impl.btree.DefaultSearchEngine.search( DefaultSearchEngine.java:135) at org.apache.directory.server.core.partition.impl.btree.BTreePartition.search( BTreePartition.java:367) at org.apache.directory.server.core.partition.DefaultPartitionNexus.search( DefaultPartitionNexus.java:863) at org.apache.directory.server.core.interceptor.InterceptorChain$1.search( InterceptorChain.java:139) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.interceptor.BaseInterceptor.search( BaseInterceptor.java:202) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.collective.CollectiveAttributeService.search( CollectiveAttributeService.java:318) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.operational.OperationalAttributeService.search( OperationalAttributeService.java:293) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.subtree.SubentryService.search( SubentryService.java:232) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.schema.SchemaService.search( SchemaService.java:447) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.exception.ExceptionService.search( ExceptionService.java:394) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authz.DefaultAuthorizationService.search( DefaultAuthorizationService.java:495) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authz.AuthorizationService.search( AuthorizationService.java:978) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.referral.ReferralService.search( ReferralService.java:985) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.authn.AuthenticationService.search( AuthenticationService.java:417) at org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.search( InterceptorChain.java:1263) at org.apache.directory.server.core.normalization.NormalizationService.search( NormalizationService.java:326) at org.apache.directory.server.core.interceptor.InterceptorChain.search( InterceptorChain.java:828) at org.apache.directory.server.core.partition.PartitionNexusProxy.search( PartitionNexusProxy.java:478) at org.apache.directory.server.core.partition.PartitionNexusProxy.search( PartitionNexusProxy.java:423) at org.apache.directory.server.core.jndi.ServerDirContext.search( ServerDirContext.java:609) at org.apache.directory.server.ldap.support.SearchHandler.messageReceived( SearchHandler.java:313) at org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived( DemuxingIoHandler.java:144) at org.apache.directory.server.ldap.LdapProtocolProvider$LdapProtocolHandler.messageReceived( LdapProtocolProvider.java:403) at org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageReceived( AbstractIoFilterChain.java:703) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived( AbstractIoFilterChain.java:362) at org.apache.mina.common.support.AbstractIoFilterChain.access$1200( AbstractIoFilterChain.java:54) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived( AbstractIoFilterChain.java:800) at org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush( SimpleProtocolDecoderOutput.java:60) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived( ProtocolCodecFilter.java:190) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived( AbstractIoFilterChain.java:362) at org.apache.mina.common.support.AbstractIoFilterChain.access$1200( AbstractIoFilterChain.java:54) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived( AbstractIoFilterChain.java:800) at org.apache.mina.filter.executor.ExecutorFilter.processEvent( ExecutorFilter.java:243) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run( ExecutorFilter.java:305) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask( ThreadPoolExecutor.java:665) at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run( ThreadPoolExecutor.java:690)

    Root Cause Analysis

    1. javax.naming.NamingException

      [LDAP: error code 1 - Can't connect to the LDAP server]

      at com.sun.jndi.ldap.LdapCtx.mapErrorCode()
    2. Java RT
      InitialLdapContext.reconnect
      1. com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3081)
      2. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2987)
      3. com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2789)
      4. com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2703)
      5. com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2602)
      6. com.sun.jndi.ldap.LdapCtx.ensureOpen(LdapCtx.java:2576)
      7. com.sun.jndi.ldap.LdapCtx.reconnect(LdapCtx.java:2572)
      8. javax.naming.ldap.InitialLdapContext.reconnect(InitialLdapContext.java:173)
      8 frames
    3. com.sun.directory
      LdapContextUtils$3.run
      1. com.sun.directory.common.ssl.LdapContextUtils$3.run(LdapContextUtils.java:251)
      1 frame
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)
      1 frame