> "Kin-Man Chung" <[EMAIL PROTECTED]> wrote:
>
> > Long time no see/talk/eamil.  How are you?
>
> I'm on this mailing list posting almost every day :)
>
> > Haven't seen that before, and no idea why it's so.  You'll need to
> > give me a test case.
>
> Test case: touch
>
>  $CATALINA_HOME/webapps/examples/jsp/colors/colrs.jsp
>
> So that Jasper will have to recompile it, and it will try (the first time)
> to recompile also:
>
>  $CATALINA_HOME/webapps/examples/WEB-INF/classes/colors/ColorGameBean.java
>
> But putting its class back into
>
>
$CATALINA_HOME/webapps/examples/WEB-INF/classes/colors/ColorGameBean.class
>
> Not into
>
>  $CATALINA_HOME/work/......
>
> That's pretty nasty, as the user under which the Tomcat process is running
> is not (and can not) write into
>
>  $CATALINA_HOME/webapps/.....
>
> (call it security)
>
> > Why aren't you using jasper2 instead?  Glenn's recompilation stuff
> > works great!
>
> Because I'm in production, and I don't trust the code (yet)... I have to
> serve an average of 400/500 thousand JSP pages a day out of that server,
and
> seriously, I'm not going to run my entire site over a JSP compiler which
> came out less than one month ago :)

Thanks for the report Pier. I had been wondering for AGES why the CL would
reload the webapp "randomly" after accessing a JSP, telling that a bean
class had been modified. I couldn't find a reason why it was a bug (the
logging I added to investigate this displayed different dates which didn't
appear bogus), but I failed to undestand why it happened.

Jasper 2 has some big advantages in production, like being able to disable
reloading checks altogether, as well as various other optimizations, which
makes the JSP overhead over a servlet almost zero. Obviously, the fix for
bug 8290 is also a huge improvement if you're using a lot of tags.
Lately, I have found some incompatibilities with JSTL (their examples WAR
doesn't really like Jasper 2); the admin webapp (big Struts webapp which is
painfully slow with Jasper 1 - and that's with one user on an Athlon XP
1700+ ;-) ) and Watchdog both run very well, though.

Remy


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to