directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kiran Ayyagari (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (DIRSERVER-1354) System files partition corruption
Date Mon, 26 Jul 2010 20:00:17 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kiran Ayyagari resolved DIRSERVER-1354.
---------------------------------------

      Assignee: Kiran Ayyagari
    Resolution: Fixed

Thanks Seelmann for the hint, I have chosen the NIO way to lock. 
Fixed here,
http://svn.apache.org/viewvc?rev=979420&view=rev

> System files partition corruption 
> ----------------------------------
>
>                 Key: DIRSERVER-1354
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1354
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.4
>         Environment: Windows XP
>            Reporter: Jean-Fran├žois Melian
>            Assignee: Kiran Ayyagari
>             Fix For: 2.0.0-RC1
>
>         Attachments: 2.zip, DIRSERVER-1354.patch
>
>
> We have an embbeded server with few users and groups for tests purpose of a software.

> After an ldif import of the users and groups all the requests are queries or 
> connections. 
> During the tests of a tester an error occurs but I don't have the context or log. 
> Now Apache DS don't start, here the log at service startup . 
> java.io.EOFException 
> at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source) 
> at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Source) 
> at java.io.ObjectInputStream.readStreamHeader(Unknown Source) 
> at java.io.ObjectInputStream.<init>(Unknown Source) 
> at jdbm.btree.BPage.deserialize(BPage.java:965) 
> at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:341) 
> at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:263) 
> at jdbm.btree.BTree.getRoot(BTree.java:525) 
> at jdbm.btree.BTree.find(BTree.java:401) 
> at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.put(JdbmTable.java:593)
> at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.add(JdbmIndex.java:458)
> at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmStore.add(JdbmStore.java:1037)
> at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmPartition.add(JdbmPartition.java:475)
> at org.apache.directory.server.core.partition.DefaultPartitionNexus.initializeSystemPartition(DefaultPartitionNexus.java:431)
> at org.apache.directory.server.core.partition.DefaultPartitionNexus.init(DefaultPartitionNexus.java:297)
> at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1483)
> at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:904)
> at com.cincom.kmdata.server.core.ldap.EmbeddedADS.start(EmbeddedADS.java:225) 
> at com.cincom.kmdata.server.core.ldap.EmbeddedADSTest.main(EmbeddedADSTest.java:67) 
> If I rename the system directory (system.bad) and copy a system directory from another
Apache
> DS directory of an another tester then apache DS start. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message