directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 周天武 <...@powersail.com.cn>
Subject apacheds start error
Date Tue, 28 Jul 2009 02:33:08 GMT
Apacheds 1.5.4 as a eclipse plugin service

 

       directoryService = new DefaultDirectoryService();        

       directoryService.getChangeLog().setEnabled( false );

       directoryService.setDenormalizeOpAttrsEnabled( true );

       directoryService.setWorkingDirectory(new
File(LdapConstants.getLdapWorkPath()));

 

Sometimes the apacheds has start error,recopy apacheds datafile will be ok!

What was the problem?

 

log4j:WARN No appenders could be found for logger
(org.apache.directory.server.schema.registries.DefaultNormalizerRegistry).

log4j:WARN Please initialize the log4j system properly.

java.io.StreamCorruptedException: invalid type code: 00

    at java.io.ObjectInputStream.readObject0(Unknown Source)

    at java.io.ObjectInputStream.readObject(Unknown Source)

    at jdbm.btree.BPage.deserialize(BPage.java:996)

    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.BPage.find(BPage.java:286)

    at jdbm.btree.BPage.find(BPage.java:286)

    at jdbm.btree.BTree.find(BTree.java:407)

    at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.
put(JdbmTable.java:587)

    at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.
add(JdbmIndex.java:427)

    at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.
add(JdbmStore.java:1049)

    at
org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.add
(JdbmPartition.java:451)

    at
org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeS
ystemPartition(DefaultPartitionNexus.java:420)

    at
org.apache.directory.server.core.partition.DefaultPartitionNexus.init(Defaul
tPartitionNexus.java:287)

    at
org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultD
irectoryService.java:1378)

    at
org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDire
ctoryService.java:840)


Mime
  • Unnamed multipart/alternative (inline, 7-Bit, 0 bytes)
View raw message