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 19:23:11 GMT
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

Mime
View raw message