Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 21632 invoked from network); 14 Feb 2008 15:52:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Feb 2008 15:52:54 -0000 Received: (qmail 67227 invoked by uid 500); 14 Feb 2008 15:52:48 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 67199 invoked by uid 500); 14 Feb 2008 15:52:48 -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 67188 invoked by uid 99); 14 Feb 2008 15:52:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 07:52:48 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 66.249.92.173 as permitted sender) Received: from [66.249.92.173] (HELO ug-out-1314.google.com) (66.249.92.173) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Feb 2008 15:52:14 +0000 Received: by ug-out-1314.google.com with SMTP id j3so1035307ugf.49 for ; Thu, 14 Feb 2008 07:52:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=Xm20QNbnqMkqsJeTGBht7Ebvo9DZpGqCXV1APzUi+Ho=; b=s++joflCVygyHlbmu9H+vNQoPyUAwafJ6STUg1KpsHytM3VkwnCFfQERZLblNLoi3IVt7TGeMfVVIs5fwz6bwtMT4JPwYtQph6rQv4qwa1Mmh0sRQTpsXkRU/uFbrD7bY8nmvFL2r8hpFqNZOa1Klx0YpydQOAiigSXLvPJQHzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=lwNLydIghO8mQku3Qb3Jfk1HE8H3LogLR7Ie5irVpMvQsmARNsNgnWHNSRz0sRMhdITFLlvtmdtoXglNqsodjs/fMn+7b3CWYb3BICCU8SjYUWWs24OuA7TR3VJqPkarCkRbf0uIA8kWLi5hHwWsTk9jV6/zzgVV/IC2K+MMy3g= Received: by 10.66.221.6 with SMTP id t6mr390406ugg.0.1203004340814; Thu, 14 Feb 2008 07:52:20 -0800 (PST) Received: from ?192.168.1.5? ( [82.245.116.110]) by mx.google.com with ESMTPS id 28sm5618781fkx.11.2008.02.14.07.52.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Feb 2008 07:52:19 -0800 (PST) Message-ID: <47B4637E.4030906@gmail.com> Date: Thu, 14 Feb 2008 16:51:26 +0100 From: Emmanuel Lecharny User-Agent: Thunderbird 1.5.0.14pre (X11/20071023) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: javax.naming.NamingException: attributeType w/ OID 1.2.6.1.4.1.18060.1.1.1.3.1 not registered! References: <144983.22104.qm@web54101.mail.re2.yahoo.com> In-Reply-To: <144983.22104.qm@web54101.mail.re2.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org 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 > > > > > 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.(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) > > > ____________________________________________________________________________________ > 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