Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 69325 invoked from network); 15 Feb 2008 07:15:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Feb 2008 07:15:35 -0000 Received: (qmail 92867 invoked by uid 500); 15 Feb 2008 07:15:29 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 92745 invoked by uid 500); 15 Feb 2008 07:15:28 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 92734 invoked by uid 99); 15 Feb 2008 07:15:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 23:15:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.37.236] (HELO web54101.mail.re2.yahoo.com) (206.190.37.236) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 15 Feb 2008 07:14:40 +0000 Received: (qmail 92596 invoked by uid 60001); 15 Feb 2008 07:15:00 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=DLOlECy8jUwgQgkqTvrdtl73QFdJ76xUy9t+wBXH1ytzBgXQBwsGpvx6cffdvBr454kDzNdP5oKwy5ykb6Rzx2Qk8ftHSG+sKQe9R5yV0Fr9gXitWOKRlqeZazt9KyydMyQo5jbecKxV/E/X5C5vRxJAE9H1u9I8oRPLgC4OuWE=; X-YMail-OSG: 96Pz9jUVM1mEqCTykFxTdtq8D8cIGiwq_nntHLKK Received: from [193.110.43.137] by web54101.mail.re2.yahoo.com via HTTP; Thu, 14 Feb 2008 23:15:00 PST Date: Thu, 14 Feb 2008 23:15:00 -0800 (PST) From: Wei Chen Subject: Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered! To: users@directory.apache.org In-Reply-To: <47B4637E.4030906@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <569775.91634.qm@web54101.mail.re2.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org 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.(Unknown Source) at javax.naming.directory.InitialDirContext.(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 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 > > ************************** > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableBTreePartitionConfiguration"> > > > name="name">example > > > name="cacheSize">100 > > > name="suffix">dc=org > > > > > > > > > > name="optimizerEnabled">true > > > > > > > name="synchOnWrite">true > > > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.1 > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.2 > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.3 > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.4 > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.5 > > > name="cacheSize">10 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.6 > > > name="cacheSize">10 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">1.2.6.1.4.1.18060.1.1.1.3.7 > > > name="cacheSize">10 > > > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > name="attributeId">dc > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > name="attributeId">ou > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">krb5PrincipalName > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > name="attributeId">uid > > > name="cacheSize">100 > > > > > > class="org.apache.directory.server.core.partition.impl.btree.MutableIndexConfiguration"> > > > > name="attributeId">objectClass > > > name="cacheSize">100 > > > > > > > > > > > > objectClass: top > > objectClass: domain > > dc: org > > > > > > > > > === message truncated === ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping