directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kiran Ayyagari <kayyag...@apache.org>
Subject Re: apacheDS can't bring up server after adding new schema attributes
Date Tue, 13 Sep 2011 20:30:31 GMT
search for 'master.db' or any .db file

On Wed, Sep 14, 2011 at 1:59 AM, david jones <jonesda24@gmail.com> wrote:
> so is there a filename.filetype i can have windows search for?
>
> On Tue, Sep 13, 2011 at 4:23 PM, Kiran Ayyagari <kayyagari@apache.org>wrote:
>
>> On Wed, Sep 14, 2011 at 1:47 AM, david jones <jonesda24@gmail.com> wrote:
>> > sounds good, I'm assuming you're talking about remove the file through
>> > windows explorer, not via code.
>> >
>> yes, windows explorer
>> > I'm adding my schema to other,ou=schema, i don't see any files pertaining
>> to
>> > apacheDS in the embedded app's directory. Whats the default directory for
>> > apacheDS, or what filename/type can i search for?
>> >
>> there is no default directory specified for an embedded ApacheDS, (it
>> is must require to store it files),
>> so it must be set somewhere in your app's code.
>>
>> > thanks again,
>> > David
>> >
>> > On Tue, Sep 13, 2011 at 4:05 PM, Kiran Ayyagari <kayyagari@apache.org
>> >wrote:
>> >
>> >> 1. goto the work directory where ApacheDS stores the partition data
>> >> 2. remove the schema partition
>> >> 3. restart the app
>> >>
>> >> let us know if there are any issues
>> >>
>> >>
>> >> On Wed, Sep 14, 2011 at 1:26 AM, david jones <jonesda24@gmail.com>
>> wrote:
>> >> > I'm running the app in eclipse (on windows), i just terminated the
>> >> embedding
>> >> > app program that has the embedded apacheDS. Then try to run the app
>> again
>> >> > and can't get anywhere.
>> >> >
>> >> > fyi - I'm importing an ldif programatically, (I created ldif with
>> eclipse
>> >> > schema editor, but then did some hand edits on top of that, possibly
>> >> messed
>> >> > something up there).
>> >> >
>> >> > So i'm looking at someway to recover. I tried importing an earlier
>> ldif
>> >> that
>> >> > had worked, but apacheds is crashing before it reads it. Can't delete
>> >> schema
>> >> > from Studio since ApacheDS isn't up. How can i reset the schema to
the
>> >> > original? Or look at and fix the schema? The ldif file looks OK, but
i
>> >> may
>> >> > have lost some hand edits, i.e. it may not be exactly what ApacheDS
>> has
>> >> > imported.
>> >> >
>> >> > thanks,
>> >> > David
>> >> >
>> >> > On Tue, Sep 13, 2011 at 3:23 PM, Kiran Ayyagari <kayyagari@apache.org
>> >> >wrote:
>> >> >
>> >> >> Hi David,
>> >> >>
>> >> >>    hmm, can you elaborate a bit about what you mean by 'then
>> >> >> recycling the app'
>> >> >>    looking at the below error it looks like the data files are
>> >> corrupted.
>> >> >>
>> >> >> On Wed, Sep 14, 2011 at 12:48 AM, david jones <jonesda24@gmail.com>
>> >> wrote:
>> >> >> > Using ApacheDS 1.5.5 as an embedded app.
>> >> >> > After adding some new schema attributes and then recycling
the app
>> I'm
>> >> >> > getting the below exception.
>> >> >> > And now since DS isn't coming up I can't get to it through
Studio
>> to
>> >> >> reset
>> >> >> > or view added schema values and try again.
>> >> >> > Any suggestions on how to fix the actual problem, or to reset
the
>> >> schema
>> >> >> to
>> >> >> > the original and start over?
>> >> >> >
>> >> >> >
>> >> >> > 6750 [Thread-14] ERROR
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry
>> >> >> >  - attributeType w/ OID 1.3.6.1.4.1.18060.0.9.1.1.2.1.3 not
>> >> registered!
>> >> >> > 6750 [Thread-14] WARN
>> >> >> > org.apache.directory.server.core.entry.DefaultServerEntry
 - Cannot
>> >> read
>> >> >> the
>> >> >> > attribute as it's OID ('1.3.6.1.4.1.18060.0.9.1.1.2.1.3')
does not
>> >> exist
>> >> >> > 6750 [Thread-14] WARN
>> >> >> > org.apache.directory.server.schema.registries.DefaultOidRegistry
 -
>> >> OID
>> >> >> for
>> >> >> > name 'port' was not found within the OID registry
>> >> >> > 6750 [Thread-14] WARN
>> >> >> > org.apache.directory.server.core.entry.DefaultServerEntry
 - Cannot
>> >> read
>> >> >> the
>> >> >> > attribute as it's OID ('port') does not exist
>> >> >> >
>> >> >> > java.io.UTFDataFormatException
>> >> >> > at
>> java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(Unknown
>> >> >> > Source)
>> >> >> > at
>> java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(Unknown
>> >> >> > Source)
>> >> >> > at java.io.ObjectInputStream$BlockDataInputStream.readUTF(Unknown
>> >> Source)
>> >> >> > at java.io.ObjectInputStream.readUTF(Unknown Source)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.entry.DefaultServerEntry.deserialize(DefaultServerEntry.java:2384)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.entry.ServerEntrySerializer.deserialize(ServerEntrySerializer.java:151)
>> >> >> > at jdbm.btree.BPage.deserialize(BPage.java:1000)
>> >> >> > at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341)
>> >> >> > at
>> jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:263)
>> >> >> > at jdbm.btree.BPage.loadBPage(BPage.java:826)
>> >> >> > at jdbm.btree.BPage.childBPage(BPage.java:816)
>> >> >> > at jdbm.btree.BPage.find(BPage.java:285)
>> >> >> > at jdbm.btree.BTree.find(BTree.java:407)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.get(JdbmTable.java:378)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmMasterTable.get(JdbmMasterTable.java:152)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.lookup(JdbmStore.java:1304)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.xdbm.search.impl.EqualityEvaluator.evaluate(EqualityEvaluator.java:128)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.xdbm.search.impl.AndCursor.matches(AndCursor.java:230)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.xdbm.search.impl.AndCursor.next(AndCursor.java:140)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.partition.impl.btree.ServerEntryCursorAdaptor.next(ServerEntryCursorAdaptor.java:179)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.filtering.BaseEntryFilteringCursor.next(BaseEntryFilteringCursor.java:498)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.ReferralManagerImpl.init(ReferralManagerImpl.java:162)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.ReferralManagerImpl.<init>(ReferralManagerImpl.java:74)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.referral.ReferralInterceptor.init(ReferralInterceptor.java:216)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain.register0(InterceptorChain.java:441)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain.register(InterceptorChain.java:397)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.interceptor.InterceptorChain.init(InterceptorChain.java:257)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1617)
>> >> >> > at
>> >> >> >
>> >> >>
>> >>
>> org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:971)
>> >> >> >
>> >> >> >
>> >> >> > Thanks,
>> >> >> > David
>> >> >> >
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> Kiran Ayyagari
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > David Jones
>> >> > jonesda24@gmail.com
>> >> > c) 302-5648
>> >> >
>> >>
>> >>
>> >>
>> >> --
>> >> Kiran Ayyagari
>> >>
>> >
>> >
>> >
>> > --
>> > David Jones
>> > jonesda24@gmail.com
>> > c) 302-5648
>> >
>>
>>
>>
>> --
>> Kiran Ayyagari
>>
>
>
>
> --
> David Jones
> jonesda24@gmail.com
> c) 302-5648
>



-- 
Kiran Ayyagari

Mime
View raw message