3 Replies Latest reply on Nov 27, 2002 3:14 PM by Ron Chan

    Disappearing Resources

    Ron Chan Newbie

      we have several deployed apps which functionally works fine

      after a week or so some of the pages seems to disappear leaving just the directory listing when you expect the index.html file

      this happens on two different servers (both linux) one with jboss3.0.0 and one with jboss3.0.3. both using jetty

      I thought it may have been our applications, so I installed a struts example (as is), and that too lost files after a while

      if we re-deploy, the applications work as normal again

      any ideas, anyone?

        • 1. Re: Disappearing Resources
          Julian Gosnell Expert

          You are probably running a process which periodically clears files out of tmp.

          You can either not run the process, or move where jetty stores it tmp files (see the Jetty/JBoss FAQ posted periodocally in this forum)


          • 2. Re: Disappearing Resources
            Kenneth Young Newbie

            We have the same problem too for web applications, 404 Error. We found this error repeatedly:

            02-11-13 00:02:06,928 ERROR [org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread] Scanning failed; continuing
            java.lang.Exception: Null files returned from directory listing
            at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:616)
            at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)
            at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)

            Does anyone have any solutions for that?

            • 3. Re: Disappearing Resources
              Ron Chan Newbie

              moving where the temp files go worked for me

              many thanks