Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Login Throws Java Exception

Help
Matt
2007-04-04
2013-04-16
  • Matt
    Matt
    2007-04-04

    Hi,

    I installed Webdisk 0.43 on an OpenSUSE 10.2 workstation with Apache Tomcat 5.0.30.  It seems to be running ok as I can get to the login page.  I've configured the IP address of the Samba server I'm trying to connect to.  There are no browseable shares, but a user can get to one of three shares by typing them like this in their address bar on a Windows workstation...

    //samba.server.ip/files
    //samba.server.ip/http
    //samba.server.ip/https

    When I enter my username and password on the Webdisk login page I get the following error in the "localhost......" Tomcat log.

    StandardWrapperValve[Controller]: Servlet.service() for servlet Controller threw exception
    java.lang.NoClassDefFoundError
            at jcifs.smb.SmbFile.getAddress(SmbFile.java:768)
            at jcifs.smb.SmbFile.getType(SmbFile.java:1164)
            at jcifs.smb.SmbFile.getDiskFreeSpace(SmbFile.java:2312)
            at webdisk.SmbHelper.getFreeDiskSpace(SmbHelper.java:198)
            at webdisk.Presentation.showContent(Presentation.java:279)
            at webdisk.Controller.doGet(Controller.java:283)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
            at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
            at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
            at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:162)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
            at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
            at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
            at java.lang.Thread.run(Thread.java:595)

    Thanks,
    Matt

     
    • Hello,

      I think the problem is related to your Tomcat configuration:
      http://forum.java.sun.com/thread.jspa?threadID=637835&messageID=3728413

      Also you can try to use another machine with another Tomcat version.
      If you still have problems, please tell me.

      bye
      Thomas

       
    • Matt
      Matt
      2007-04-05

      Installed on an Ubuntu Server 6.10 server with Apache Tomcat 5.5....and it's working great...thanks...

      Matt