Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 47291 invoked from network); 2 Jul 2008 07:19:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2008 07:19:58 -0000 Received: (qmail 62546 invoked by uid 500); 2 Jul 2008 07:19:58 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 62524 invoked by uid 500); 2 Jul 2008 07:19:58 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 62513 invoked by uid 99); 2 Jul 2008 07:19:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 00:19:58 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jul 2008 07:19:05 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1KDwcf-0004Db-IY for users@jackrabbit.apache.org; Wed, 02 Jul 2008 00:19:25 -0700 Message-ID: <18231710.post@talk.nabble.com> Date: Wed, 2 Jul 2008 00:19:25 -0700 (PDT) From: Roman Puchkovskiy To: users@jackrabbit.apache.org Subject: Re: Not a valid IOHandler problem In-Reply-To: <18129483.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: roman.puchkovskiy@blandware.com References: <18129483.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi. This may happen if there're two instances of IOHandler class loaded. Check if you have a duplicate jackrabbit-jcr-server-[version].jar in your classpath. jascpaint wrote: > > Hello all, > Your help would be much appreciated as I have been trying to solve this > problem with no success. > > I use jetty to access to the repository which exposes its content via > WebDAV. Because I want to implement my own file structure, I need to > define my own nodetypes. I've written a CND fille and passed it on to the > ServerJackrabbitNodeTypeManager. > > I've also written a custom IOHandler and modified config.xml to replace > the default DefaultHandler with my MyIOHandler. > > But the problems is it keeps WARNing me that the IOHandler is not a valid > one. Here is the warning message: > > *WARN * ResourceConfig: Resource configuration: the handler is not a valid > IOHandler. (ResourceConfig.java, line 108) > > There is no other error messages. My MyIOHandler is definitely in the > classpath because the debug printout statement was printed from > MyIOHandler's constructor. > > I've tried different implementations of MyIOHandler including: > 1) MyIOHandler extends DefaultHandler and overrides importProperties() and > exportProperties() > 2) MyIOHandler extends DefaultHandler without overriding anything > 3) MyIOHandler implements IOHandler with code directly copied from > DefaultHandler > > But it still gives me this "not a valid IOHandler" message! > > Any tips would be greatly appreciated. Thanks. > -- View this message in context: http://www.nabble.com/Not-a-valid-IOHandler-problem-tp18129483p18231710.html Sent from the Jackrabbit - Users mailing list archive at Nabble.com.