[jcifs] Re: Davenport and Resin
Eric
eglass1 at comcast.net
Wed Jun 30 00:13:38 GMT 2004
> I thought I'd give Davenport a whirl but I'm having no luck. Any advice?
>
Something appears to be amiss with either the resin XSLT engine or my
stylesheets; I'll poke around with a couple of other XSLT libraries to
see if I can figure out who's to blame. In the meantime, you can change
resin.conf to specify Xalan, which works; the process is documented here:
http://www.caucho.com/resin-3.0/xml/jaxp.xtp
but basically you just add:
<system-property
javax.xml.transform.TransformerFactory="org.apache.xalan.processor.TransformerFactoryImpl"/>
If you're using JDK 1.4+, Xalan is already bundled; otherwise, you can
get it from:
http://xml.apache.org/xalan-j/downloads.html
Eric
> DEBUG [6/29/04 1:38 PM]: GET Request for resource "smb://".
> DEBUG [6/29/04 1:38 PM]: Request URL:
> http://miallen.wfd.nyc.us.ml.com:8080/davenport/
> DEBUG [6/29/04 1:38 PM]: Obtained stylesheet for "/META-INF/directory.xsl".
> INFORMATION [6/29/04 1:38 PM]: Error handler chain invoked for:
> java.io.IOException: java.lang.NullPointerException
> at smbdav.DefaultGetHandler.service(Unknown Source)
> at smbdav.Davenport.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113)
> at
> com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:211)
> at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
> at
> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
> at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
> at com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
> at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
> at java.lang.Thread.run(Thread.java:534)
>
> DEBUG [6/29/04 1:38 PM]: Error handler is class
> smbdav.DefaultAuthErrorHandler
> DEBUG [6/29/04 1:38 PM]: Handler output: java.io.IOException:
> java.lang.NullPointerException
> at smbdav.DefaultGetHandler.service(Unknown Source)
> at smbdav.Davenport.service(Unknown Source)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:103)
> at
> com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:113)
> at
> com.caucho.server.cache.CacheFilterChain.doFilter(CacheFilterChain.java:211)
> at
> com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:177)
> at
> com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:221)
> at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:263)
> at com.caucho.server.port.TcpConnection.run(TcpConnection.java:331)
> at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:464)
> at com.caucho.util.ThreadPool.run(ThreadPool.java:408)
> at java.lang.Thread.run(Thread.java:534)
>
> DEBUG [6/29/04 1:38 PM]: Error handler is class smbdav.DefaultIOErrorHandler
> DEBUG [6/29/04 1:38 PM]: IO Error handler sending Server Error (500).
> DEBUG [6/29/04 1:38 PM]: Error handler consumed throwable.
>
> Do I need to set anything in web.xml? I tried setting wins without any
> change.
>
> Mike
>
More information about the jcifs
mailing list