----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

Please confirm that the 'aClass' in the reloadable classpath?

Regards,
Mohan

----- Original Message -----
From: "Annam, Sunil" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 24, 2001 4:19 AM
Subject: Class Loader


> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> I have a servlet class "mainServlet". it loads another class "aClass"
(which
> is not a servlet).
> zone.properties:
> autoreload.classes=true
> jserv.properties:
> wrapper.classpath=path of "aClass"
>
> Now, If I change mainServlet class, I get the new servlet loaded. But if I
> change "aClass" it does not get cleaned-up from cache.
>
> I have two issues:
> 1) since "aClass" is not a servlet but used by a servlet. If I specify the
> path in wrapper.classpath (to pass to JVM), "aClass" is not getting
cleaned
> up from cache. If I don't specify it in wrapper.classpath, I am getting
> NoClassDefFound exception.
>
> 2)
> I went through some documents on apache web site and found following:
> In an article "Servlet Performance and Apache JServ" by Stefano Mazzocchi
> and Pierpaolo Fumagalli on page 4 "Class loading and caching" 3rd para
> "One of advance Apache JServ features is servlet autoreloading: this means
> that when a cached servlet is updated, either changed or removed, it is
> dumpled from memory and reloaded from disk......
> To avoid the risk of possible conflicts due to this state inconsistency of
> the cache, when a single class is changed, the whole cache is forced to
> cleanup itself"
>
>
> I somebody can help me on this.
>
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Search Archives:
> <http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
> Problems?:           [EMAIL PROTECTED]
>
>



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search Archives: 
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to