Hello,
I tried to listen to WebDAV events with the
org.apache.slide.webdav.event.WebdavListener. I implemented the WebdavListener
interface with a class MyOwnWebdavListener and added the following entry to Domain.xml:
<slide>
...
<events>
...
<listener classname="MyOwnWebdavListener"/>
...
</events>
</slide>
When starting Slide as web application in Jetty I receive this error message:
org.apache.slide.util.conf.ConfigurationException: Event listener
'MyOwnWebdavListener' is not of type EventListener @ null
at org.apache.slide.event.EventDispatcher.configure(EventDispatcher.java:105)
at org.apache.slide.common.Domain.init(Domain.java:453)
at org.apache.slide.common.Domain.init(Domain.java:368)
at org.apache.slide.common.Domain.init(Domain.java:331)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:259)
at javax.servlet.GenericServlet.init(GenericServlet.java:256)
at org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:201)
at org.mortbay.jetty.servlet.ServletHolder.start(ServletHolder.java:220)
at
org.mortbay.jetty.servlet.ServletHandler.initializeServlets(ServletHandler.java:445)
at
org.mortbay.jetty.servlet.WebApplicationHandler.initializeServlets(WebApplicationHandler.java:150)
at
org.mortbay.jetty.servlet.WebApplicationContext.start(WebApplicationContext.java:458)
at org.mortbay.http.HttpServer.start(HttpServer.java:663)
at org.mortbay.jetty.Server.main(Server.java:429)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mortbay.start.Main.invokeMain(Main.java:153)
at org.mortbay.start.Main.start(Main.java:483)
This seems to be a bug.
Best regards
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]