Thanks everyone for help.

Chinmoy

On Thu, Mar 4, 2010 at 6:43 PM, Michael Powe <mich...@trollope.org> wrote:

> On Thu, Mar 04, 2010 at 06:26:50PM +0530, Chinmoy Chakraborty wrote:
>
> > Actually I want to update the jar with the latest one inside 'lib'...and
> > want to make our app hot-updatable. what would be a good idea for that?
>
> Hello,
>
> See:
>
> http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
>
> in particular, the section on antiResourceLocking.  Note the caveats.
>
> Otherwise, undeploy the app, update your jars, and redeploy.
>
> Thanks.
>
> mp
>
> > On Thu, Mar 4, 2010 at 5:23 PM, Pid <p...@pidster.com> wrote:
> >
> > > On 04/03/2010 10:53, Chinmoy Chakraborty wrote:
> > >
> > >> Hi All,
> > >>
> > >> Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is
> > >> running? I tried to delete the jar from 'lib' after putting following
> > >> entry
> > >> in catalina.policy:
> > >>
> > >
> > > It might be possible, but it would be a *very* bad idea.
> > >
> > >
> > >  grant codeBase "file:${catalina.home}/webapps/abcd/WEB-INF/lib" {
> > >> permission java.io.FilePermission "read, write, delete";
> > >> };
> > >>
> > >> but it was giving following error:
> > >>
> > >>  java.io.FileNotFoundException:
> > >> C:\AppServer\Tomcat\apache-tomcat-6.0.10\webapps\
> > >> abcd\WEB-INF\lib (Access is denied)...
> > >>
> > >
> > > Guess not then.
> > >
> > > Is it smart for the application to try and delete it's own jar files?
> > >
> > >
> > > p
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> > > For additional commands, e-mail: users-h...@tomcat.apache.org
> > >
> > >
>
> --
> Michael Powe            mich...@trollope.org            Naugatuck CT USA
>
>  Any fool can paint a picture, but it takes a wise person to be able to
>  sell it.
>

Reply via email to