2 Replies Latest reply on Apr 14, 2004 4:17 PM by jdepons

    Slow initial request of JSPs using jboss-3.2.1_tomcat-4.1.24

    mschrode Newbie

      Hi,

      I am working with an application which uses the embedded Tomcat as Servlet Container.
      Everything was working fine when using jboss-3.0.5_tomcat-4.1.18.zip (With JDK 1.3.1 and 1.4.2).
      Now I switched to jboss-3.2.1_tomcat-4.1.24 for which Tomcat is integrated as .sar archive. With JDK 1.3.1 everything is still working fine.
      When replacing it with JDK 1.4.2, all initial requests to servlets or JSPs after JBOSS restart take one to two minutes. It is not related to recompilation of JSPs/servlets, since the CPU is idling at 2 to 3 %. Also I already redirected the Tomcat workdirectory outside of the JBOSS directory to suppress deletion of precompiled JSPs/servlets during JBOSS restart.
      Even with Log4J Threshold level debug, no hints are found in server.log what the time is wasted for.

      Since some bugs in JDK 1.3.1 urge me to use JDK 1.4.2, any help or ideas regarding this issue would be highly appreciated.

      Thanks,

      Matthias