Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-08 Thread Chinmoy Chakraborty
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

Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Chinmoy Chakraborty
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: grant codeBase file:${catalina.home}/webapps/abcd/WEB-INF/lib { permission java.io.FilePermission read, write, delete; };

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Pid
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

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Chinmoy Chakraborty
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? 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

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Mark Thomas
On 04/03/2010 12:56, 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? Replace the WAR file with the a new version. Tomcat (with default settings) will take care fo the

Re: Is it possible to delete a jar file from ../WEB-INF/lib when Tomcat is running?

2010-03-04 Thread Michael Powe
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