|
Hi all, sorry to bother you, but I have some problems getting the 1.0 trunk to work. I fear there's an embarrassingly simple answer lurking somewhere, but double checking the involved revisions, debugging into the code etc. hasn't revealed it yet. First: the symptoms: every search request causes the following CCE: Caused by: java.lang.ClassCastException: org.apache.directory.shared.ldap.name.LdapDN at org.apache.directory.shared.ldap.codec.search.SearchResultEntry.computeLength(SearchResultEntry.java:240) at org.apache.directory.shared.ldap.codec.LdapMessage.computeLength(LdapMessage.java:530) at org.apache.directory.shared.ldap.codec.LdapMessage.encode(LdapMessage.java:602) at org.apache.directory.shared.ldap.codec.TwixEncoder.encodeBlocking(TwixEncoder.java:121) at org.apache.directory.shared.ldap.codec.TwixEncoder.encode(TwixEncoder.java:200) at org.apache.directory.shared.ldap.message.MessageEncoder.encode(MessageEncoder.java:131) at org.apache.mina.filter.codec.asn1.Asn1CodecEncoder.encode(Asn1CodecEncoder.java:55) at org.apache.mina.filter.codec.ProtocolCodecFilter.filterWrite(ProtocolCodecFilter.java:228) ... 31 more The offending LdapDN (which SearchResultEntry tries to cast to byte[]) is supplied from SearchHandler:282, which in turn, got it from ServerDirContext.search(Name, ExprNode, SearchControls). I suppose I've got a version incompatibility somewhere, but I can't see where. My build is based on directory/branches/apacheds/1.0-trunks with the externals specified therein. The resulting classpath for the server SAR is this: antlr-2.7.2.jarPlease note the switch to MINA 0.9.5-SNAPSHOT which is necessary because of the previously lacking broadcast support required by DHCP. Thanks Joerg Henne |
- Can't get 1.0-trunks to work Jörg Henne
- Re: Can't get 1.0-trunks to work Emmanuel Lecharny
- Re: Can't get 1.0-trunks to work Jörg Henne
