Re: WebdavServlet + custom DirContext = unexpected behaviour

2009-02-15 Thread Stephen Winnall
On 14 Feb 2009, at 21:04, Mark Thomas wrote: Stephen Winnall wrote: If you replace the DirContext implementation, Tomcat will look in your database for WEB-INF/web.xml which is where the WebDAV servlet needs to be defined. Did you include this resource (and any other required WEB

Re: WebdavServlet + custom DirContext = unexpected behaviour

2009-02-13 Thread Stephen Winnall
, classloader, Tomcat 6, resources, context.xml, WebdavServlet. There are 2 people who have asked before about how to access a database from WebdavServlet, but no answers. I guess I'm missing something dead simple, but I don't know what to look for. Steve On 13 Feb 200

Re: WebdavServlet + custom DirContext = unexpected behaviour

2009-02-13 Thread Stephen Winnall
Thanks for your feedback. On 13 Feb 2009, at 05:04, Caldarale, Charles R wrote: From: Stephen Winnall [mailto:st...@winnall.ch] Subject: WebdavServlet + custom DirContext = unexpected behaviour My Tomcat is as installed by NetBeans 6.5, that is with a separate CATALINA_HOME and CATALINA_BASE

WebdavServlet + custom DirContext = unexpected behaviour

2009-02-12 Thread Stephen Winnall
I'm developing my first ever servlet for Tomcat 6.0.18 under Mac OS X 10.5.6 with Java 1.5.0_16. I've used Tomcat a lot with Cocoon and I know Java reasonably well. I'd like to extend the standard WebdavServlet that comes with Tomcat to access data from a relational database using JDBC. I'v