directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRSERVER-1756) StreamCorruptedException: invalid type code: 00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1373)
Date Tue, 19 Feb 2013 17:59:13 GMT

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

Emmanuel Lecharny resolved DIRSERVER-1756.
------------------------------------------

    Resolution: Fixed

Should be fixed with M11, as we added some transaction mechanism that restore the backend
on startup if the server has crashed.
                
> StreamCorruptedException: invalid type code: 00 at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1373)
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSERVER-1756
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1756
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 2.0.0-M8
>         Environment: JVM
>   Java Virtual Machine        OpenJDK 64-Bit Server VM version 22.0-b10
>   Version                     1.7.0_03
>   Vendor                      Oracle Corporation
> Operating system
>   Name                        Linux version 3.2.0-27-generic
>   Architecture                amd64
>   Processors                  4
>            Reporter: Atang Sutisna
>
> An improper shutdown made ApacheDS unstartable. Deleting the PID file doesn't work.
> Stacktrace:
> {code}
> [16:20:40] ERROR [org.apache.directory.server.wrapper.ApacheDsTanukiWrapper] - Failed
to start the service.
> org.apache.directory.shared.ldap.model.exception.LdapOperationErrorException: invalid
type code: 00
>         at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.search(AbstractBTreePartition.java:1065)
>         at org.apache.directory.server.core.shared.partition.DefaultPartitionNexus.search(DefaultPartitionNexus.java:735)
>         at org.apache.directory.server.core.shared.ReferralManagerImpl.init(ReferralManagerImpl.java:173)
>         at org.apache.directory.server.core.shared.ReferralManagerImpl.<init>(ReferralManagerImpl.java:84)
>         at org.apache.directory.server.core.referral.ReferralInterceptor.init(ReferralInterceptor.java:213)
>         at org.apache.directory.server.core.DefaultDirectoryService.initInterceptors(DefaultDirectoryService.java:723)
>         at org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1854)
>         at org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:1269)
>         at org.apache.directory.server.ApacheDsService.initDirectoryService(ApacheDsService.java:308)
>         at org.apache.directory.server.ApacheDsService.start(ApacheDsService.java:176)
>         at org.apache.directory.server.wrapper.ApacheDsTanukiWrapper.start(ApacheDsTanukiWrapper.java:72)
>         at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> Caused by: java.io.StreamCorruptedException: invalid type code: 00
>         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1373)
>         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
>         at jdbm.btree.BPage.deserialize(BPage.java:1247)
>         at jdbm.btree.BPage.deserialize(BPage.java:84)
>         at jdbm.recman.BaseRecordManager.fetch(BaseRecordManager.java:451)
>         at jdbm.recman.CacheRecordManager.fetch(CacheRecordManager.java:264)
>         at jdbm.btree.BPage.loadBPage(BPage.java:1017)
>         at jdbm.btree.BPage.find(BPage.java:315)
>         at jdbm.btree.BTree.browse(BTree.java:706)
>         at jdbm.btree.BTree.find(BTree.java:548)
>         at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmTable.count(JdbmTable.java:287)
>         at org.apache.directory.server.core.partition.impl.btree.jdbm.JdbmIndex.count(JdbmIndex.java:320)
>         at org.apache.directory.server.xdbm.search.impl.DefaultOptimizer.getEqualityScan(DefaultOptimizer.java:285)
>         at org.apache.directory.server.xdbm.search.impl.DefaultOptimizer.annotate(DefaultOptimizer.java:147)
>         at org.apache.directory.server.xdbm.search.impl.DefaultOptimizer.getConjunctionScan(DefaultOptimizer.java:238)
>         at org.apache.directory.server.xdbm.search.impl.DefaultOptimizer.annotate(DefaultOptimizer.java:184)
>         at org.apache.directory.server.xdbm.search.impl.DefaultSearchEngine.computeResult(DefaultSearchEngine.java:187)
>         at org.apache.directory.server.core.partition.impl.btree.AbstractBTreePartition.search(AbstractBTreePartition.java:1052)
>         ... 11 more
> {code}
> The complete data and log files are available privately if needed.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message