You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Alexey Styrov <Al...@malva.ua> on 2003/09/03 09:53:45 UTC

Extendind WebDAV Servlet

High!
 
I wrote a Servlet which extends WebDAV servlet,
 
My web.xml is default one (from Slide dist), I've only changed servlet
classname and 
"namespace" init param to "xml"
 
It produces the following:
javax.servlet.ServletException: javax.servlet.UnavailableException:
Namespace xml not accessible
        at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:310)
        at javax.servlet.GenericServlet.init(GenericServlet.java:256)
        at
org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228)
        at
org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.java:28
0)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:333)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplic
ationHandler.java:342)
        at
org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:179)
        at
org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(WebApplic
ationHandler.java:334)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:286)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:507)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
        at org.mortbay.http.HttpServer.service(HttpServer.java:863)
        at org.jboss.jetty.Jetty.service(Jetty.java:460)
        at
org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
        at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201
)
        at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
        at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
 
Domain.xml exists and contains namespace "xml". What's the problem?
 
With best regards,
Alexey Styrov, web programmer
Karvali, ltd.
 

Re: Extendind WebDAV Servlet

Posted by Andreas Probst <an...@gmx.net>.
Hi Alexey,

you got to rename the namespace in Domain.xml too.

Andreas

On 3 Sep 2003 at 10:53, Alexey Styrov wrote:

> High!
> 
> I wrote a Servlet which extends WebDAV servlet,
> 
> My web.xml is default one (from Slide dist), I've only changed
> servlet classname and "namespace" init param to "xml"
> 
> It produces the following:
> javax.servlet.ServletException:
> javax.servlet.UnavailableException: Namespace xml not accessible
>         at
> org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:310
> )
>         at
>         javax.servlet.GenericServlet.init(GenericServlet.java:256
>         ) at
> org.apache.slide.webdav.WebdavServlet.init(WebdavServlet.java:228
> )
>         at
> org.mortbay.jetty.servlet.ServletHolder.getServlet(ServletHolder.
> java:28 0)
>         at
> org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java
> :333)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(We
> bApplic ationHandler.java:342)
>         at
> org.apache.slide.webdav.filter.LogFilter.doFilter(LogFilter.java:
> 179)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler$Chain.doFilter(We
> bApplic ationHandler.java:334)
>         at
> org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebAppli
> cationH andler.java:286)
>         at
> org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.ja
> va:558)
>         at
>         org.mortbay.http.HttpContext.handle(HttpContext.java:1714
>         ) at
> org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplica
> tionCon text.java:507)
>         at
>         org.mortbay.http.HttpContext.handle(HttpContext.java:1664
>         ) at
>         org.mortbay.http.HttpServer.service(HttpServer.java:863)
>         at org.jboss.jetty.Jetty.service(Jetty.java:460) at
> org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
>         at
> org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:93
> 9)
>         at
> org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
>         at
> org.mortbay.http.SocketListener.handleConnection(SocketListener.j
> ava:201 )
>         at
> org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
>         at
> org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
> 
> Domain.xml exists and contains namespace "xml". What's the
> problem?
> 
> With best regards,
> Alexey Styrov, web programmer
> Karvali, ltd.
> 
>