Women in Technology

Hear us Roar



Article:
  Deploying Web Applications to Tomcat
Subject:   Servlet Caching in Tomcat 3.2.3
Date:   2002-10-15 21:15:01
From:   mta
Response to: Servlet Caching in Tomcat 3.2.3

I have expirence a even more strange problem,
even restarting the Tomcat is not reloading the
jsp, we even did a reboot and the old jsp is still
running.
Full Threads Oldest First

Showing messages 1 through 4 of 4.

  • Servlet Caching in Tomcat 3.2.3
    2003-12-09 00:33:36  anonymous2 [View]

    This may happen if we modify the date of the server backwards? The compiled jsp-servlet would have the timestamp of future now, which would be greater than your jsp, hence never causing it to be reloaded.

    The only solution to this would be to go into the tomcat work directory and delete the compiled servlet java and class files
    • Servlet Caching in Tomcat 3.2.3
      2005-02-15 06:00:56  java4ever [View]

      I know this is an old issue, but I wanted to make it just look more worse and clear, also updated.

      I am using Tomcat 5.2 and am still suffering from this problem. I also tried searching the whole net for a solution, but found nothing but problems. And about restarting the server, let me make it worse... I restarted the whole PC and it still didnt work!. Its one of the very rare times where restarting Windows does not payoff any good! I tried deleting files, copy and paste from another folder and still suffering from this.

      If anyone by any chance has the solution, please let him tell me.

      Regards
    • Servlet Caching in Tomcat 3.2.3
      2005-02-15 05:59:04  java4ever [View]

      I know this is an old issue, but I wanted to make it just look more worse and clear, also updated.

      I am using Tomcat 5.2 and am still suffering from this problem. I also tried searching the whole net for a solution, but found nothing but problems. And about restarting the server, let me make it worse... I restarted the whole PC and it still didnt work!. Its one of the very rare times where restarting Windows does not payoff any good! I tried deleting files, copy and paste from another folder and still suffering from this.

      If anyone by any chance has the solution, please let him tell me.

      Regards
      • Servlet Caching in Tomcat 3.2.3
        2006-02-15 03:19:43  Bidders [View]

        I'm not sure about tomcat 3.2.3 specifically, but Tomcat will cache the outcome of a jsp request in the [tomcat install]/work folder. Removing files in this folder forces tomcat to rebuild the page at the next request.