tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ron McNulty" <rmcnu...@xtra.co.nz>
Subject Re: JSP recompiles on every access - Tags in jar
Date Sun, 02 Nov 2008 08:41:23 GMT
Hi Mark

A preliminary attempt failed - there are obviously considerable changes 
between 5.5.23 and the head code in this area. Also, Cedric's patch embedded 
absolute file paths in the generated _jsp.java file, which sounds less than 
optimal. All other file paths appear to be context relative.

I will spend some more time chasing this issue, and update the bug report as 
suggested if I get anywhere..

Regards

Ron

"Mark Thomas" <markt@apache.org> wrote in message 
news:490C1765.1040909@apache.org...
> Ron McNulty wrote:
>> Hi Mark
>>
>> Thanks - that appears to be exactly the problem. I searched the bug
>> database, but did not find that one.
>>
>> I will have a go at applying Cedric Mailleux's patch to our Tomcat
>> 5.5.23 source and deploying the patch to Jetspeed. It will certainly be
>> easier than getting permission to modify the code I am expected to
>> maintain :)
>
> Glad that was the issue. It would be really helpful if you could update
> the bug report with the results of your testing with the patch. It is
> always good to know if it has worked or failed for someone else.
>
> Kind regards,
>
> Mark
>
>>
>> BTW, unpacking the jar was an option (and fixed the fault), but was a
>> little clumsy.
>>
>> Regards
>>
>> Ron
>>
>> ----- Original Message ----- From: "Mark Thomas" <markt@apache.org>
>> Newsgroups: gmane.comp.jakarta.tomcat.user
>> To: "Tomcat Users List" <users@tomcat.apache.org>
>> Sent: Saturday, November 01, 2008 4:41 PM
>> Subject: Re: JSP recompiles on every access - Tags in jar
>>
>>
>>> Ron McNulty wrote:
>>>> Hi Chuck
>>>>
>>>> File times are all OK - Tomcat is running on the same machine. I should
>>>> have mentioned I have seen this on Windows 2000 and XP SP3. I have not
>>>> tried it on a Unix variant.
>>>
>>> Maybe related to
>>> https://issues.apache.org/bugzilla/show_bug.cgi?id=46047 ?
>>>
>>> Try unpacking the jar and seeing if that fixes it.
>>>
>>> Mark
>>>
>>>>
>>>> Eclipse project is attached - see readme.txt in the top-level 
>>>> directory.
>>>>
>>>> I hope the mailing list accepts attachments...
>>>>
>>>> Regards
>>>>
>>>> Ron
>>>>
>>>> ----- Original Message ----- From: "Caldarale, Charles R"
>>>> <Chuck.Caldarale@unisys.com>
>>>> To: "Tomcat Users List" <users@tomcat.apache.org>
>>>> Sent: Saturday, November 01, 2008 4:20 PM
>>>> Subject: RE: JSP recompiles on every access - Tags in jar
>>>>
>>>>
>>>>> From: Ron McNulty [mailto:rmcnulty@xtra.co.nz]
>>>>> Subject: JSP recompiles on every access - Tags in jar
>>>>>
>>>>> To my consternation, performance was terrible, and
>>>>> it turned out all JSPs (and their embedded custom
>>>>> tags) were being recompiled on every page access.
>>>>
>>>> Check that the timestamps on the files involved are not set in the
>>>> future relative to the system Tomcat is running on.
>>>>
>>>>> I have a small Eclipse project that reproduces the problem.
>>>>
>>>> If the timestamps are not out of whack, can you post the source to let
>>>> others try it?
>>>>
>>>> - Chuck
>>>>
>>>>
>>>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
>>>> PROPRIETARY
>>>> MATERIAL and is thus for use only by the intended recipient. If you
>>>> received this in error, please contact the sender and delete the e-mail
>>>> and its attachments from all computers.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>>
>>>>
>>>> ------------------------------------------------------------------------
>>>>
>>>> ---------------------------------------------------------------------
>>>> To start a new topic, e-mail: users@tomcat.apache.org
>>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message