Can you please give me some more pointers about this (Documentation,
samples, etc...)?

-----Original Message-----
From: Leon Rosenberg [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 24, 2006 11:10 AM
To: Tomcat Users List
Subject: Re: Refreshing tomcat webapp class loader

you can write your own, its pretty simple, and do whatever you want.
in your context.xml
<Context docBase="${catalina.home}/webapps/ROOT"
        debug="0" >
        <Loader className="org.apache.catalina.loader.WebappLoader"
                delegate="false"
                reloadable="true"
                loaderClass="YourClassLoader"
        />
</Context>

regards
Leon

On 11/24/06, asaf.lahav <[EMAIL PROTECTED]> wrote:
> Isn't it possible to simply make the class loader reload all the jars in
its
> classpath?
>
> It is possible to replace the main webapp class loader at runtime?
>
>
> -----Original Message-----
> From: Vasilis Katsoulis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 23, 2006 5:24 PM
> To: Tomcat Users List
> Subject: Re: Refreshing tomcat webapp class loader
>
> If you are replacing jars, you should trigger a reload of the whole
web-app.
> You can easily do this by redeploying its war file containing the new
> jars,  or do a unix "touch" of its context file, or reload it from the
> manager.
>
> vasilis
>
>
> asaf.lahav wrote:
> > Is it possible to refresh a webapp class loader?
> >
> > I have a process in which jars may be replaced or added to a webapp
class
> > path.
> >
> > How can I cause the tomcat to be aware of those changes?
> >
> >
> >
> > Thanks in advance,
> >
> > Asaf
> >
> >
> >
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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


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

Reply via email to