jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roman Puchkovskiy <roman.puchkovs...@blandware.com>
Subject Re: Not a valid IOHandler problem
Date Wed, 02 Jul 2008 07:19:25 GMT


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

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.

View raw message