Precompiled JSPs after Tomcat restart
- From: Frank Niedermann <fbn (at) thelogic.org>
- Date: Mon, 25 Sep 2006 02:47:30 -0700 (PDT)
I've found the .java and .class files in a new sample application.
I still don't understand if the compiled class files are used after
Tomcat restart or if the JSP files will get compiled again.
I'm asking because my application (Matrix from MatrixOne) is
very slow after restarting Tomcat. After visiting (and compiling?)
every JSP page it gets faster until next Tomcat restart.
Can anybody clarify or help me out with hints to documentation?
Thanks.
Michael Zoller wrote:
> Frank Niedermann wrote:
>> Hello,
>>
>> is it right that Tomcat stores all compiled JSP sites in
>> Tomcat5\work\Catalina\localhost\application\org\apache\jsp?
>>
> yes.
>> After a restart of Tomcat I still see all the .class files
>> in above mentioned directory, does that mean that these files
>> do not have to be compiled again at first access to them?
>>
> Educated guess: The servlets/jsp still have to be executed. Once they
> are loaded into memory they will execute faster because caching
> mechanisms (harddisk and OS) apply.
>
>
> Michael
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users (at) tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
> For additional commands, e-mail: users-help (at) tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org
--
View this message in context: http://www.nabble.com/Precompiled-JSPs-after-Tomcat-restart-tf2303735.html#a6483314
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To start a new topic, e-mail: users (at) tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe (at) tomcat.apache.org
For additional commands, e-mail: users-help (at) tomcat.apache.org