1 Reply Latest reply on Dec 1, 2003 4:22 PM by Jon Barnett

    404 after long weekends

    Norton Newbie

      Here is a problem I've been encountering on and off for quite a while now.

      I have a JSP page in an ear that our customers hit to register with us. The page isn't hit continuously, but usually hit more than once a day. Every so often, when a customer tries to register, they get a 404 error returned from JBoss. This doesn't happen consistently, but we notice that it always happens on a Monday--and usually after a long weekend, but not always.

      Once I touch the ear, everything is hunky-dory for a few weeks.

      Any idea why this might be happening? We are running JDK 1.4.1_01, JBoss 3.0.6 on RH 7.3.

      Thanx in advance.


        • 1. Re: 404 after long weekends
          Jon Barnett Master

          Probably the compiled code in /tmp is being deleted by the cleanup process, assuming that you are using Jetty. You can force Jetty to place the temporary files elsewhere by adding a -Djava.io.tmpdir=/jetty and creating a /jetty directory in which the JBoss process has permission to write files. You would most likely add the Java option to your JAVA_OPTS variable, either in the run.sh script or the run.conf file, depending on your preference.