Bootstrap Hangs or Ends Successfully Before Entire Directory Is Loaded

(Doc ID 433818.1)

Last updated on JULY 01, 2016

Applies to:

Oracle Internet Directory - Version: 10.1.2 to 10.1.4 - Release: 10gR2 to 10gR3
Information in this document applies to any platform.


This issue is primarily seen when bootstrapping from SunOne/Iplanet, however,  in some cases (as pointed out below) it may also happen in Active Directory bootstrap attempts.

Case #1.

1.When bootstrapping from an IPlanet directory with around 300K entries, the bootstrap completes successfull but all of the entries are not loaded. No errors are reported, it just ends normally. The IPlanet admin indictated that it appears as if OID is terminating the connection but does log an err=3 message in the IPlanet logs.

2. Output from command line:
Bootstrapping in progress.....

Bootstrapping completed.
#entries read ..................... 130807
#entries filtered ................. 0
#entries ignored .................. 1
#successfully processed entries ... 130805
#failures ......................... 1

Please see the log file for more information.

3. Examination of bootstrap log shows:
DEBUG: [Thu Aug 30 14:53:19 CDT 2007] Reader Thread - 0 - Entry read and added to Q -
ERROR: [Thu Aug 30 14:53:19 CDT 2007] Reader Thread - 0 - Error occurred while reading.
ERROR: [Thu Aug 30 14:53:19 CDT 2007] Reader Thread - 0 - null
ERROR: [Thu Aug 30 14:53:19 CDT 2007] java.lang.NullPointerException
at com.sun.jndi.ldap.LdapNamingEnumeration.getNextBatch(
at com.sun.jndi.ldap.LdapNamingEnumeration.nextAux(
at com.sun.jndi.ldap.LdapNamingEnumeration.nextImpl(
at com.sun.jndi.ldap.LdapNamingEnumeration.nextElement(
at oracle.ldap.odip.bootstrap.ReaderFactory$FactoryLDAPReader.nextRecord(
at oracle.ldap.odip.bootstrap.ODIBootstrap$

INFO: [Thu Aug 30 14:53:19 CDT 2007] Reader Thread - 0 - Total no.of entries read = 130807
INFO: [Thu Aug 30 14:53:19 CDT 2007] Reader Thread - 0 - Total no.of entries filtered = 0
INFO: [Thu Aug 30 14:53:19 CDT 2007] Reader Thread - 0 - Exiting....

Case #2.

In 10.1.2 the bootstrap does not end successfully.

It just abruptly stops / hangs / spins.

While apparently hung, hit CR on keyboard three times and it returns to prompt.

Case #3.

When bootstrapping from Active Directory, dipassistant reaches a certain point normally and then hangs until it is stopped manually. The log file may show one or more LDAP 32 errors (object not found). The behaviour is caused by one or more entries that have Base64 encoded attribute values. This will occur for any entries that contain non-ASCII 7bit characters.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms