Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 58488 invoked from network); 22 Apr 2009 12:45:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Apr 2009 12:45:29 -0000 Received: (qmail 492 invoked by uid 500); 22 Apr 2009 12:45:29 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 431 invoked by uid 500); 22 Apr 2009 12:45:29 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 421 invoked by uid 99); 22 Apr 2009 12:45:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 12:45:29 +0000 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,NORMAL_HTTP_TO_IP,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mcaliskan@gmail.com designates 74.125.46.30 as permitted sender) Received: from [74.125.46.30] (HELO yw-out-2324.google.com) (74.125.46.30) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Apr 2009 12:45:22 +0000 Received: by yw-out-2324.google.com with SMTP id 5so2515818ywh.55 for ; Wed, 22 Apr 2009 05:45:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=r8BDH/RdBeN4M4Bp4esFrkFx3BkQNj+FDHGnf5nu4Bc=; b=Ov+9EQ9dHVoYmZa2hPPAVaPmZbR+gOD7nTzjQysLtNWPsEntQwk+R/lfhRZiY37LAB SSy4khAxHNHsou3a0JMann/RyNXWclqIMNejITMn6riLUHl4kTqKTbYSvuYJKkLpDKpp 9HlfOgmjtDl8F6lrirdD0fRF7Wm7ProRA+fBk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JRviHMnm5NpU4q+29SFwssgZQs/76WueVyVhBwq9TIurIpqyG3OYcsqtSiLRVG6jGn UNCsvKGDQok6G+kJzY95L2DUieXgIyNFAUUWdIYrQ9HdMnyi0+pGjl1euNEnyfNhTR27 1LzdrVzkX0/veYXHM8V6f9s9ZElCOFNMF1hnE= MIME-Version: 1.0 Received: by 10.151.69.5 with SMTP id w5mr2615862ybk.69.1240404301680; Wed, 22 Apr 2009 05:45:01 -0700 (PDT) Date: Wed, 22 Apr 2009 15:45:01 +0300 Message-ID: Subject: classcast on ApacheDS From: =?ISO-8859-9?Q?Mert_=C7al=FD=FEkan?= To: users@directory.apache.org Content-Type: multipart/alternative; boundary=001e680f143cc791910468242159 X-Virus-Checked: Checked by ClamAV on apache.org --001e680f143cc791910468242159 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, I'm integrating the seam framework's user management module with ApacheDS ldap. For creating a new user (person objectClass) in the DS I got the error below, So apacheDS is forcing the client to close the conn since it gets a classcast. I'm on 1.5.4 version. How to debug & solve this? Any clues? Thanks, M Trace: [15:39:46] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - [/ 127.0.0.1:2453] Unexpected exception forcing session to close: sending disconnect notice to client. *org.apache.mina.filter.codec.ProtocolDecoderException: java.lang.ClassCastException: org.apache.directory.shared.ldap.co dec.search.AttributeValueAssertionFilter cannot be cast to org.apache.directory.shared.ldap.codec.search.ConnectorFilter* (Hexdump: 30 81 82 02 01 02 63 60 04 17 6F 75 3D 70 65 6F 70 6C 65 2C 6F 3D 6F 6E 74 6F 6D 65 74 72 69 63 73 0A 01 02 0 A 01 03 02 01 00 02 01 0B 01 01 00 A3 15 04 0B 6F 62 6A 65 63 74 43 6C 61 73 73 04 06 70 65 72 73 6F 6E A3 18 04 0B 6F 6 2 6A 65 63 74 43 6C 61 73 73 04 09 75 69 64 4F 62 6A 65 63 74 30 05 04 03 75 69 64 A0 1B 30 19 04 17 32 2E 31 36 2E 38 3 4 30 2E 31 2E 31 31 33 37 33 30 2E 33 2E 34 2E 32) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:165) at org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:299) at org.apache.mina.common.support.AbstractIoFilterChain.access$1100(AbstractIoFilterChain.java:53) at org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:6 48) at org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilter.java:220) at org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run(ExecutorFilter.java:264) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.apache.directory.shared.ldap.codec.search.AttributeValueAssertionFilter can not be cast to org.apache.directory.shared.ldap.codec.search.ConnectorFilter at org.apache.directory.shared.ldap.codec.search.SearchRequest.addCurrentFilter(SearchRequest.java:356) at org.apache.directory.shared.ldap.codec.actions.InitEqualityMatchFilterAction.action(InitEqualityMatchFilterAc tion.java:70) at org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar.executeAction(AbstractGrammar.java:153) at org.apache.directory.shared.asn1.ber.Asn1Decoder.treatTLVDoneState(Asn1Decoder.java:620) at org.apache.directory.shared.asn1.ber.Asn1Decoder.decode(Asn1Decoder.java:796) at org.apache.directory.shared.ldap.codec.TwixDecoder.decode(TwixDecoder.java:110) at org.apache.directory.shared.ldap.message.MessageDecoder.decode(MessageDecoder.java:150) at org.apache.directory.shared.asn1.codec.Asn1CodecDecoder.decode(Asn1CodecDecoder.java:53) at org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(ProtocolCodecFilter.java:158) ... 8 more [15:39:46] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Null LdapSession given to cleanUpSession. [15:39:46] WARN [org.apache.directory.server.ldap.LdapProtocolHandler] - Null LdapSession given to cleanUpSession. --001e680f143cc791910468242159--