tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: WebappLoader and Auto-Detection of Class Changes
Date Fri, 03 Jun 2005 20:01:13 GMT

----- Original Message -----
From: "Scott Dudley" <scott@telesoft.com>
To: <tomcat-dev@jakarta.apache.org>
Sent: Friday, June 03, 2005 12:46 PM
Subject: WebappLoader and Auto-Detection of Class Changes


>
> I extended WebappLoader.java to create a custom classloader to allow me
> to append an alternate set of class folders.  The loader works as
> intended but I noted that it doesn't detect any changes to these
> resources and call Context.reload() as is the case with WEB-INF/classes,
> lib, and any <WatchedResource> entries.  What am I missing.  Looking at
> WebappLoader.java and I fail to notice the mechanism which provides said
> functionality.
>
> Can someone point me in the right direction?
>

Look at WebappLoader.modified.  That determines if the app should be
reloaded.

> Many thanks.
>
> --
>
> Regards,
>
> Scott Dudley
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>



This message is intended only for the use of the person(s) listed above as the intended recipient(s),
and may contain information that is PRIVILEGED and CONFIDENTIAL.  If you are not an intended
recipient, you may not read, copy, or distribute this message or any attachment. If you received
this communication in error, please notify us immediately by e-mail and then delete all copies
of this message and any attachments.

In addition you should be aware that ordinary (unencrypted) e-mail sent through the Internet
is not secure. Do not send confidential or sensitive information, such as social security
numbers, account numbers, personal identification numbers and passwords, to us via ordinary
(unencrypted) e-mail.



Mime
View raw message