You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Wei Chen <ch...@yahoo.com> on 2008/02/14 16:40:44 UTC

javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Hi all,

I downladed and istalled the ApacheDS 1.0.2. It can be
started successfully.

Later I try an example from internet and add the
following code to the /conf/server.xml. Then as I try
to start the DS server I got exception in log file.

I guess the code I added to the server.xml is from
another version.

Regards

Wei



1. added to the server.xml
**************************
  <bean id="examplePartitionConfiguration"
class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
    <property
name="name"><value>example</value></property>
    <property
name="cacheSize"><value>100</value></property>
    <property
name="suffix"><value>dc=org</value></property>

    <!-- the optimizer is enabled by default but may
not always be what     -->
    <!-- you want if your queries are really simple   
                     -->
    <property
name="optimizerEnabled"><value>true</value></property>

    <!--
      Synchronization on writes does not wait for
synch operations
      to flush dirty pages.  Writes persist
immediately to disk at 
      a cost to performance with increased data
integrity.  Otherwise
      the periodic synch operation will flush dirty
pages using the
      synchPeriodMillis parameter in the main
configuration.
    -->
    <property
name="synchOnWrite"><value>true</value></property>
    <property name="indexedAttributes">
      <set>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
          <property
name="cacheSize"><value>10</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.6</value></property>
          <property
name="cacheSize"><value>10</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.7</value></property>
          <property
name="cacheSize"><value>10</value></property>
        </bean>

        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>dc</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>ou</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>krb5PrincipalName</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>uid</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
        <bean
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
          <property
name="attributeId"><value>objectClass</value></property>
          <property
name="cacheSize"><value>100</value></property>
        </bean>
      </set>
    </property>
    <property name="contextEntry">
      <value>
        objectClass: top
        objectClass: domain
        dc: org
      </value>
    </property>
  </bean>

2. Exception in log
*******************
[16:23:29] ERROR
[org.apache.directory.daemon.Bootstrapper] - Failed on
org.apache.directory.server.Service.init(InstallationLayout,
String[])
javax.naming.NamingException: attributeType w/ OID
1.2.6.1.4.1.18060.1.1.1.3.1 not registered!
	at
org.apache.directory.server.core.schema.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:153)
	at
org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:181)
	at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:189)
	at
org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
	at
org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
	at
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:837)
	at
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
	at
org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
	at
javax.naming.spi.NamingManager.getInitialContext(Unknown
Source)
	at
javax.naming.InitialContext.getDefaultInitCtx(Unknown
Source)
	at javax.naming.InitialContext.init(Unknown Source)
	at javax.naming.InitialContext.<init>(Unknown Source)
	at
javax.naming.directory.InitialDirContext.<init>(Unknown
Source)
	at
org.apache.directory.server.Service.init(Service.java:96)
	at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
	at org.apache.directory.daemon.ProcrunBootstrapper.prunsrvStart(ProcrunBootstrapper.java:65)


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: LDAP: error code 65 - failed to add entry...

Posted by Alex Karasulu <ak...@apache.org>.
On Fri, Feb 15, 2008 at 5:32 AM, Wei Chen <ch...@yahoo.com> wrote:

> Hi all,
>
> I try to import a LDIF file but got exception as
> follow. SOmeone knows why?
>

Yeah below you see the schema subsystem is complaining that the entry you're
trying to add does not support the addition of the 'uid' attribute.  This
means you need an objectClass value of uidObject or extensibleObject to make
this add work.


>
> javax.naming.directory.SchemaViolationException:
> [LDAP: error code 65 - failed to add entry
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org:
>
> Attribute uid not declared in objectClasses of entry
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org];
>
>
HTH,
Alex

Re: LDAP: error code 65 - failed to add entry...

Posted by Rich Remington <ri...@remingtons.us>.
I had the same trouble with the tutorial on developerworks found here: 
http://www.ibm.com/developerworks/java/library/j-acegi2/

The solution is to add the inetOrgPerson objectclass to each dn: uid=xxx 
entry from the example ldif file before importing.  For example, in the 
"dn: uid=specialUser, ou=..." case, it should look like the following:

dn: uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Jenni
sn: Jenni
uid: specialUser
userpassword:: MTIz

You will also have to make the same change for bob and alice.  Also, if 
you got a partial import of the LDIF file, then you will have to remove 
the o=manufacturingEnterprise node and its children before attempting 
the import again.

Cheers,
Rich


Wei Chen wrote:
> Hi all,
>
> I try to import a LDIF file but got exception as
> follow. SOmeone knows why?
>
> The LDIF is attached at the end.
>
> Regards
>
> Wei
>
>
>
> Exception:
> ***********
> javax.naming.directory.SchemaViolationException: 
> [LDAP: error code 65 - failed to add entry
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org:
>
> Attribute uid not declared in objectClasses of entry
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org];
>
> remaining name
> 'uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org'
>
>
> LDIF:
> ******
> version: 1
> dn: o=manufacturingEnterprise,dc=org
> objectclass: organization
> objectclass: top
> o: manufacturingEnterprise
>
> dn: cn=manager,o=manufacturingEnterprise,dc=org
> objectclass: organizationalPerson
> objectclass: person
> objectclass: top
> cn: manager
> sn: Asif Shahzad
> userpassword:: c2VjcmV0
>
> dn: ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: departments
>
> dn:
> ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: marketing
>
> dn:
> cn=HOD,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: groupOfNames
> objectclass: top
> cn: HOD
> member:
> uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> member:
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
> ou: HEAD_OF_MARKETING
>
> dn:
> cn=managers,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: groupOfNames
> objectclass: top
> cn: managers
> member:
> uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> ou: MARKETING_MANAGER
>
> dn:
> cn=customerRepresentatives,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: groupOfNames
> objectclass: top
> cn: customerRepresentatives
> member:
> uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> ou: CUSTOMER_REPRESENTATIVE
>
> dn:
> ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: engineering
>
> dn:
> cn=HOD,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: groupOfNames
> objectclass: top
> cn: HOD
> member:
> uid=alice,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> member:
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
> ou: HEAD_OF_ENGINEERING
>
> dn:
> cn=engineers,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: groupOfNames
> objectclass: top
> cn: engineers
> member:
> uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> ou: ENGINEER
>
> dn:
> cn=technicians,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: groupOfNames
> objectclass: top
> cn: technicians
> member:
> uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> ou: TECHNICIAN
>
> dn:
> uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
> objectclass: organizationalPerson
> objectclass: person
> objectclass: top
> cn: Jenni
> sn: Jenni
> uid: specialUser
> userpassword:: MTIz
>
> dn: ou=partners,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: partners
>
> dn:
> ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: employees
>
> dn:
> uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> objectclass: organizationalPerson
> objectclass: person
> objectclass: top
> cn: Bob Steven
> sn: Bob
> uid: bob
> userpassword:: MTIz
>
> dn:
> uid=alice,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
> objectclass: organizationalPerson
> objectclass: person
> objectclass: top
> cn: Alice John
> sn: Alice
> uid: alice
> userpassword:: MTIz
>
> dn:
> ou=cutomers,ou=partners,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: cutomers
>
> dn:
> ou=suppliers,ou=partners,o=manufacturingEnterprise,dc=org
> objectclass: organizationalUnit
> objectclass: top
> ou: suppliers
>
>
>
>
>
>       ____________________________________________________________________________________
> Be a better friend, newshound, and 
> know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 
>
>   


LDAP: error code 65 - failed to add entry...

Posted by Wei Chen <ch...@yahoo.com>.
Hi all,

I try to import a LDIF file but got exception as
follow. SOmeone knows why?

The LDIF is attached at the end.

Regards

Wei



Exception:
***********
javax.naming.directory.SchemaViolationException: 
[LDAP: error code 65 - failed to add entry
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org:

Attribute uid not declared in objectClasses of entry
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org];

remaining name
'uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org'


LDIF:
******
version: 1
dn: o=manufacturingEnterprise,dc=org
objectclass: organization
objectclass: top
o: manufacturingEnterprise

dn: cn=manager,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: manager
sn: Asif Shahzad
userpassword:: c2VjcmV0

dn: ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: departments

dn:
ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: marketing

dn:
cn=HOD,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: HOD
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
member:
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
ou: HEAD_OF_MARKETING

dn:
cn=managers,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: managers
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: MARKETING_MANAGER

dn:
cn=customerRepresentatives,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: customerRepresentatives
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: CUSTOMER_REPRESENTATIVE

dn:
ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: engineering

dn:
cn=HOD,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: HOD
member:
uid=alice,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
member:
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
ou: HEAD_OF_ENGINEERING

dn:
cn=engineers,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: engineers
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: ENGINEER

dn:
cn=technicians,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: technicians
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: TECHNICIAN

dn:
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Jenni
sn: Jenni
uid: specialUser
userpassword:: MTIz

dn: ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: partners

dn:
ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: employees

dn:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Bob Steven
sn: Bob
uid: bob
userpassword:: MTIz

dn:
uid=alice,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Alice John
sn: Alice
uid: alice
userpassword:: MTIz

dn:
ou=cutomers,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: cutomers

dn:
ou=suppliers,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: suppliers





      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Posted by Emmanuel Lecharny <el...@gmail.com>.
Wei Chen wrote:
> Hi,
>
> I've made the change. But it doesn't work. I got
> exception in log as follow:
>   
Sorry for that, this is our fault ...

In fact, the server.xml file has been completely refactored between 
1.0.0 and 1.0.1. The sample on directory.apache.org site is simply wrong.

Look at :
http://svn.apache.org/viewvc/directory/apacheds/releases/1.0.2/server-main/server.xml?revision=541841&view=markup

this is the formart to use (no more long OIDs...)

The doc has to be updated !

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Posted by Wei Chen <ch...@yahoo.com>.
Hi,

I've made the change. But it doesn't work. I got
exception in log as follow:

[08:12:10] ERROR
[org.apache.directory.daemon.Bootstrapper] - Failed on
org.apache.directory.server.Service.init(InstallationLayout,
String[])
javax.naming.NamingException: attributeType w/ OID
1.3.6.1.4.1.18060.1.1.1.3.3 not registered!
	at
org.apache.directory.server.core.schema.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:153)
	at
org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:181)
	at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:189)
	at
org.apache.directory.server.core.partition.DefaultPartitionNexus.addContextPartition(DefaultPartitionNexus.java:530)
	at
org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:208)
	at
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:837)
	at
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
	at
org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
	at
javax.naming.spi.NamingManager.getInitialContext(Unknown
Source)
	at
javax.naming.InitialContext.getDefaultInitCtx(Unknown
Source)
	at javax.naming.InitialContext.init(Unknown Source)
	at javax.naming.InitialContext.<init>(Unknown Source)
	at
javax.naming.directory.InitialDirContext.<init>(Unknown
Source)
	at
org.apache.directory.server.Service.init(Service.java:96)
	at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
	at
org.apache.directory.daemon.ProcrunBootstrapper.prunsrvStart(ProcrunBootstrapper.java:65)







--- Emmanuel Lecharny <el...@gmail.com> wrote:

> You are using a 1.0.0 server.xml file.
> 
> Due to a bug, some OIDs have been changed in 1.0.2.
> Check this mail :
>
http://www.mail-archive.com/users@directory.apache.org/msg00210.html
> 
> What you have to do is to replace references to
> 
> 1.2.6.1.4.1.18060
> 
> with
> 
> 1.3.6.1.4.1.18060
> 
> in your server.xml file.
> 
> (Note the '2' which is changed to '3').
> 
> It should work.
> 
> 
> 
> 
> Wei Chen wrote:
> > Hi all,
> >
> > I downladed and istalled the ApacheDS 1.0.2. It
> can be
> > started successfully.
> >
> > Later I try an example from internet and add the
> > following code to the /conf/server.xml. Then as I
> try
> > to start the DS server I got exception in log
> file.
> >
> > I guess the code I added to the server.xml is from
> > another version.
> >
> > Regards
> >
> > Wei
> >
> >
> >
> > 1. added to the server.xml
> > **************************
> >   <bean id="examplePartitionConfiguration"
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
> >     <property
> > name="name"><value>example</value></property>
> >     <property
> > name="cacheSize"><value>100</value></property>
> >     <property
> > name="suffix"><value>dc=org</value></property>
> >
> >     <!-- the optimizer is enabled by default but
> may
> > not always be what     -->
> >     <!-- you want if your queries are really
> simple   
> >                      -->
> >     <property
> >
>
name="optimizerEnabled"><value>true</value></property>
> >
> >     <!--
> >       Synchronization on writes does not wait for
> > synch operations
> >       to flush dirty pages.  Writes persist
> > immediately to disk at 
> >       a cost to performance with increased data
> > integrity.  Otherwise
> >       the periodic synch operation will flush
> dirty
> > pages using the
> >       synchPeriodMillis parameter in the main
> > configuration.
> >     -->
> >     <property
> > name="synchOnWrite"><value>true</value></property>
> >     <property name="indexedAttributes">
> >       <set>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
> >           <property
> > name="cacheSize"><value>10</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.6</value></property>
> >           <property
> > name="cacheSize"><value>10</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.7</value></property>
> >           <property
> > name="cacheSize"><value>10</value></property>
> >         </bean>
> >
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> > name="attributeId"><value>dc</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> > name="attributeId"><value>ou</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>krb5PrincipalName</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> > name="attributeId"><value>uid</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >         <bean
> >
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
> >           <property
> >
>
name="attributeId"><value>objectClass</value></property>
> >           <property
> > name="cacheSize"><value>100</value></property>
> >         </bean>
> >       </set>
> >     </property>
> >     <property name="contextEntry">
> >       <value>
> >         objectClass: top
> >         objectClass: domain
> >         dc: org
> >       </value>
> >     </property>
> >   </bean>
> >
> 
=== message truncated ===



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Posted by Emmanuel Lecharny <el...@gmail.com>.
You are using a 1.0.0 server.xml file.

Due to a bug, some OIDs have been changed in 1.0.2. Check this mail :
http://www.mail-archive.com/users@directory.apache.org/msg00210.html

What you have to do is to replace references to

1.2.6.1.4.1.18060

with

1.3.6.1.4.1.18060

in your server.xml file.

(Note the '2' which is changed to '3').

It should work.




Wei Chen wrote:
> Hi all,
>
> I downladed and istalled the ApacheDS 1.0.2. It can be
> started successfully.
>
> Later I try an example from internet and add the
> following code to the /conf/server.xml. Then as I try
> to start the DS server I got exception in log file.
>
> I guess the code I added to the server.xml is from
> another version.
>
> Regards
>
> Wei
>
>
>
> 1. added to the server.xml
> **************************
>   <bean id="examplePartitionConfiguration"
> class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
>     <property
> name="name"><value>example</value></property>
>     <property
> name="cacheSize"><value>100</value></property>
>     <property
> name="suffix"><value>dc=org</value></property>
>
>     <!-- the optimizer is enabled by default but may
> not always be what     -->
>     <!-- you want if your queries are really simple   
>                      -->
>     <property
> name="optimizerEnabled"><value>true</value></property>
>
>     <!--
>       Synchronization on writes does not wait for
> synch operations
>       to flush dirty pages.  Writes persist
> immediately to disk at 
>       a cost to performance with increased data
> integrity.  Otherwise
>       the periodic synch operation will flush dirty
> pages using the
>       synchPeriodMillis parameter in the main
> configuration.
>     -->
>     <property
> name="synchOnWrite"><value>true</value></property>
>     <property name="indexedAttributes">
>       <set>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
>           <property
> name="cacheSize"><value>10</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.6</value></property>
>           <property
> name="cacheSize"><value>10</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.7</value></property>
>           <property
> name="cacheSize"><value>10</value></property>
>         </bean>
>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>dc</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>ou</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>krb5PrincipalName</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>uid</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
> class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>objectClass</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>       </set>
>     </property>
>     <property name="contextEntry">
>       <value>
>         objectClass: top
>         objectClass: domain
>         dc: org
>       </value>
>     </property>
>   </bean>
>
> 2. Exception in log
> *******************
> [16:23:29] ERROR
> [org.apache.directory.daemon.Bootstrapper] - Failed on
> org.apache.directory.server.Service.init(InstallationLayout,
> String[])
> javax.naming.NamingException: attributeType w/ OID
> 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!
> 	at
> org.apache.directory.server.core.schema.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:153)
> 	at
> org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:181)
> 	at
> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:189)
> 	at
> org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
> 	at
> org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
> 	at
> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:837)
> 	at
> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
> 	at
> org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
> 	at
> javax.naming.spi.NamingManager.getInitialContext(Unknown
> Source)
> 	at
> javax.naming.InitialContext.getDefaultInitCtx(Unknown
> Source)
> 	at javax.naming.InitialContext.init(Unknown Source)
> 	at javax.naming.InitialContext.<init>(Unknown Source)
> 	at
> javax.naming.directory.InitialDirContext.<init>(Unknown
> Source)
> 	at
> org.apache.directory.server.Service.init(Service.java:96)
> 	at
> org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
> 	at org.apache.directory.daemon.ProcrunBootstrapper.prunsrvStart(ProcrunBootstrapper.java:65)
>
>
>       ____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
>   


-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Posted by Wei Chen <ch...@yahoo.com>.
Hi,

Thanks for the reply.

I do attached a LDIF file. But it seems this forum
doesn't allow to do so. 

Here is the file content:

***************************
version: 1
dn: o=manufacturingEnterprise,dc=org
objectclass: organization
objectclass: top
o: manufacturingEnterprise

dn: cn=manager,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: manager
sn: Asif Shahzad
userpassword:: c2VjcmV0

dn: ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: departments

dn:
ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: marketing

dn:
cn=HOD,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: HOD
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
member:
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
ou: HEAD_OF_MARKETING

dn:
cn=managers,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: managers
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: MARKETING_MANAGER

dn:
cn=customerRepresentatives,ou=marketing,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: customerRepresentatives
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: CUSTOMER_REPRESENTATIVE

dn:
ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: engineering

dn:
cn=HOD,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: HOD
member:
uid=alice,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
member:
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
ou: HEAD_OF_ENGINEERING

dn:
cn=engineers,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: engineers
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: ENGINEER

dn:
cn=technicians,ou=engineering,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: groupOfNames
objectclass: top
cn: technicians
member:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
ou: TECHNICIAN

dn:
uid=specialUser,ou=departments,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Jenni
sn: Jenni
uid: specialUser
userpassword:: MTIz

dn: ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: partners

dn:
ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: employees

dn:
uid=bob,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Bob Steven
sn: Bob
uid: bob
userpassword:: MTIz

dn:
uid=alice,ou=employees,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalPerson
objectclass: person
objectclass: top
cn: Alice John
sn: Alice
uid: alice
userpassword:: MTIz

dn:
ou=cutomers,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: cutomers

dn:
ou=suppliers,ou=partners,o=manufacturingEnterprise,dc=org
objectclass: organizationalUnit
objectclass: top
ou: suppliers


--- Emmanuel Lecharny <el...@gmail.com> wrote:

> Wei Chen wrote:
> > I can start the ApacheDS now. But as I try to
> import a
> > LDIF file, I got error:
> > javax.naming.NameAlreadyBoundException: [LDAP:
> error
> > code 68 - failed to add entry
> > o=manufacturingEnterprise,dc=org:
> >
>
2.5.4.10=manufacturingenterprise,0.9.2342.19200300.100.1.25=org
> > already exists!]; remaining name
> > 'o=manufacturingEnterprise,dc=org'
> >   
> The entry has previously been added, as the message
> says.
> 
> Install Apache Directory Studio, connect to the
> server, and you will see it.
> 
> Btw, no LDIF attached ;)
> 
> -- 
> --
> cordialement, regards,
> Emmanuel L�charny
> www.iktek.com
> directory.apache.org
> 
> 
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Posted by Emmanuel Lecharny <el...@gmail.com>.
Wei Chen wrote:
> I can start the ApacheDS now. But as I try to import a
> LDIF file, I got error:
> javax.naming.NameAlreadyBoundException: [LDAP: error
> code 68 - failed to add entry
> o=manufacturingEnterprise,dc=org:
> 2.5.4.10=manufacturingenterprise,0.9.2342.19200300.100.1.25=org
> already exists!]; remaining name
> 'o=manufacturingEnterprise,dc=org'
>   
The entry has previously been added, as the message says.

Install Apache Directory Studio, connect to the server, and you will see it.

Btw, no LDIF attached ;)

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org



Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!

Posted by Wei Chen <ch...@yahoo.com>.
Now I cut off the code I added to the server.xml as
follow:

  <bean id="myExamplePartitionConfiguration"
class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
    <property name="name"><value>My
Example</value></property>
    <property
name="cacheSize"><value>100</value></property>
    <property
name="suffix"><value>dc=org</value></property>
    <property
name="optimizerEnabled"><value>true</value></property>
    <property
name="synchOnWrite"><value>true</value></property>
    <property name="contextEntry">
      <value>
        objectClass: top
        objectClass: domain
        dc: org
      </value>
    </property>
  </bean>

I can start the ApacheDS now. But as I try to import a
LDIF file, I got error:
javax.naming.NameAlreadyBoundException: [LDAP: error
code 68 - failed to add entry
o=manufacturingEnterprise,dc=org:
2.5.4.10=manufacturingenterprise,0.9.2342.19200300.100.1.25=org
already exists!]; remaining name
'o=manufacturingEnterprise,dc=org'

Someone can help?

I attach the LDIF as attachment




--- Wei Chen <ch...@yahoo.com> wrote:

> Hi all,
> 
> I downladed and istalled the ApacheDS 1.0.2. It can
> be
> started successfully.
> 
> Later I try an example from internet and add the
> following code to the /conf/server.xml. Then as I
> try
> to start the DS server I got exception in log file.
> 
> I guess the code I added to the server.xml is from
> another version.
> 
> Regards
> 
> Wei
> 
> 
> 
> 1. added to the server.xml
> **************************
>   <bean id="examplePartitionConfiguration"
>
class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration">
>     <property
> name="name"><value>example</value></property>
>     <property
> name="cacheSize"><value>100</value></property>
>     <property
> name="suffix"><value>dc=org</value></property>
> 
>     <!-- the optimizer is enabled by default but may
> not always be what     -->
>     <!-- you want if your queries are really simple 
>  
>                      -->
>     <property
>
name="optimizerEnabled"><value>true</value></property>
> 
>     <!--
>       Synchronization on writes does not wait for
> synch operations
>       to flush dirty pages.  Writes persist
> immediately to disk at 
>       a cost to performance with increased data
> integrity.  Otherwise
>       the periodic synch operation will flush dirty
> pages using the
>       synchPeriodMillis parameter in the main
> configuration.
>     -->
>     <property
> name="synchOnWrite"><value>true</value></property>
>     <property name="indexedAttributes">
>       <set>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.1</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.2</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.3</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.4</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.5</value></property>
>           <property
> name="cacheSize"><value>10</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.6</value></property>
>           <property
> name="cacheSize"><value>10</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>1.2.6.1.4.1.18060.1.1.1.3.7</value></property>
>           <property
> name="cacheSize"><value>10</value></property>
>         </bean>
> 
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>dc</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>ou</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>krb5PrincipalName</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
> name="attributeId"><value>uid</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>         <bean
>
class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration">
>           <property
>
name="attributeId"><value>objectClass</value></property>
>           <property
> name="cacheSize"><value>100</value></property>
>         </bean>
>       </set>
>     </property>
>     <property name="contextEntry">
>       <value>
>         objectClass: top
>         objectClass: domain
>         dc: org
>       </value>
>     </property>
>   </bean>
> 
> 2. Exception in log
> *******************
> [16:23:29] ERROR
> [org.apache.directory.daemon.Bootstrapper] - Failed
> on
>
org.apache.directory.server.Service.init(InstallationLayout,
> String[])
> javax.naming.NamingException: attributeType w/ OID
> 1.2.6.1.4.1.18060.1.1.1.3.1 not registered!
> 	at
>
org.apache.directory.server.core.schema.GlobalAttributeTypeRegistry.lookup(GlobalAttributeTypeRegistry.java:153)
> 	at
>
org.apache.directory.server.core.partition.impl.btree.BTreePartition.init(BTreePartition.java:181)
> 	at
>
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.init(JdbmPartition.java:189)
> 	at
>
org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:363)
> 	at
>
org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:200)
> 	at
>
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:837)
> 	at
>
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:230)
> 	at
>
org.apache.directory.server.core.jndi.AbstractContextFactory.getInitialContext(AbstractContextFactory.java:118)
> 	at
>
javax.naming.spi.NamingManager.getInitialContext(Unknown
> Source)
> 	at
>
javax.naming.InitialContext.getDefaultInitCtx(Unknown
> Source)
> 	at javax.naming.InitialContext.init(Unknown Source)
> 	at javax.naming.InitialContext.<init>(Unknown
> Source)
> 	at
>
javax.naming.directory.InitialDirContext.<init>(Unknown
> Source)
> 	at
>
org.apache.directory.server.Service.init(Service.java:96)
> 	at
>
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
> 	at
>
org.apache.directory.daemon.ProcrunBootstrapper.prunsrvStart(ProcrunBootstrapper.java:65)
> 
> 
>      
>
____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search. 
>
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> 
=== message truncated ===



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ