tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Drake" <...@pobox.com>
Subject Re: TC 4.0.1: classes being cached - requires restart to update
Date Fri, 09 Nov 2001 23:32:59 GMT
What I meant to say was that if a reference to an instance
of your class was stored as (part of) a session attribute,
that MAY prevent an updated version of your class from
being loaded.

Tom


----- Original Message -----
From: "Brett B. Tofel" <Brett.B.Tofel@Dartmouth.EDU>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, November 09, 2001 1:54 PM
Subject: Re: TC 4.0.1: classes being cached - requires restart to update


| --- You wrote:
|
| Could you please try Remy's test case?
|
| > thanks,
| > brett
| >
|
| Craig
| --- end of quote ---
| ah, actually i hadn't realized Remy was suggesting that i try what he had
as a
| test case, ok.
|
| I did modify the jspcalendar bean class and did find that the log did show
the
| webappClassLoader noting that the resource was modified -- _only after i
rebuilt
| the class by hand_ -- saving the source file change was not enough. then
| reloading the jsp reflected the change.
|
| but I change my class and recompile and no such notification to the log,
no
| change to the jsp output, until i have the manager reload the context,
that
| combo, which is much better than a restart of tomcat, rebuild class by
hand,
| reload context does make the change show up.
|
| I have not noticed that waiting 15 secs helped anything. manual reload did
the
| trick.
|
| Tom Drake had suggested my class had session context, if by that he means
is the
| class using session variables, no, but the jsp that is importing the class
is,
| so overall the compiled servlet wouldbe using session elements. perhaps
this is
| my difficulty. I need to use the session attributes to maintain state
though...
|
| -brett
|
| --
| To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
| For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
| Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>
|
|
|


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message