jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexander Klimetschek" <aklim...@day.com>
Subject Re: Not a valid IOHandler problem
Date Thu, 26 Jun 2008 14:21:02 GMT
Have you tried to debug the problem right into Jackrabbit's source
code? Watching the variables / context when the exception is thrown is
probably the only way to find out more.


On Thu, Jun 26, 2008 at 4:54 AM, jascpaint
<Vivian.Nguyen@dsto.defence.gov.au> 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-tp18129483p18129483.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Alexander Klimetschek

View raw message