[jcifs] davenport IllegalAccessError

John DiMarco jdd at cs.toronto.edu
Thu May 5 20:31:37 GMT 2005


I'm using davenport 0.9.10 with the default Jetty servlet container (4.2.21).  
It's running on host "davenport.cs.toronto.edu", a linux machine with
j2re1.4.2_02.  My WebDav client is IE 6.0 on XP SP2.  An attempt to
connect to http://davenport.cs.toronto.edu:8080 results in the following
error:

	HTTP ERROR: 500 tried+to+access+field+smbdav%2EDefaultGetHandler%2ETIMER+from+class+smbdav%2EDefaultGetHandler%24TemplateTracker
	RequestURI=/

and the following log message from davenport:

04:15:43.022 WARN!! Error for /
java.lang.IllegalAccessError: tried to access field smbdav.DefaultGetHandler.TIMER from class smbdav.DefaultGetHandler$TemplateTracker
        at smbdav.DefaultGetHandler$TemplateTracker.<init>(DefaultGetHandler.java:548)
        at smbdav.DefaultGetHandler.setTemplates(DefaultGetHandler.java:433)
        at smbdav.DefaultGetHandler.service(DefaultGetHandler.java:271)
        at smbdav.Davenport.service(Davenport.java:553)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
        at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
        at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
        at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
        at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)

However, using the IP instead of the fully qualified domain name seems
to work fine. 

Is this a known problem?

Regards,

John
--
John DiMarco <jdd at cs.toronto.edu>                         Office: BA3259
IT Director                                               Phone: 416-978-5300
Department of Computer Science, University of Toronto     Fax:   416-978-1931
http://www.cs.toronto.edu/~jdd


More information about the jcifs mailing list