directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Malec <Robert.Ma...@gwtel.de>
Subject Can't Restart Server after binding java-object
Date Tue, 18 May 2010 07:30:33 GMT
Hi,

I am using apacheds version 1.5.5 as an embedded web-application. It works fine for authentication
purposes but since I have bound java-object as a 'javaSerializedData' the server cannot start
anymore. As long as the sever is running it is possible to bind/rebind and performing lookup
(serialize/deserialized) but after shutting down and restarting,  it throws exception:

ERROR [org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry] - attributeType
w/ OID 1.3.6.1.4.1.42.2.27.4.1.8 not registered!
[16:31:48] WARN [org.apache.directory.server.core.entry.DefaultServerEntry] - Cannot read
the attribute as it's OID ('1.3.6.1.4.1.42.2.27.4.1.8') does not exist
[16:31:48] DEBUG [org.apache.directory.server.schema.registries.DefaultOidRegistry] - looked
up OID '1.3.6.1.4.1.42.2.27.4.1.8' with id 'javaSerializedData'
[16:31:48] ERROR [org.apache.directory.server.schema.registries.DefaultAttributeTypeRegistry]
- attributeType w/ OID 1.3.6.1.4.1.42.2.27.4.1.8 not registered!
[16:31:48] WARN [org.apache.directory.server.core.entry.DefaultServerEntry] - Cannot read
the attribute as it's OID ('javaSerializedData') does not exist
java.io.UTFDataFormatException
                at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInputStream.java:3082)
                at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:3007)
                at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2820)
                at java.io.ObjectInputStream.readUTF(ObjectInputStream.java:1051)
                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)
...

'javaSerializedData' is a part of java-schema integrated in apacheds. Is it a bug or may I
forgot something?

Thanks for reply!
Robert


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message