> -----Original Message----- > From: Tony McNicholas [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 09, 2002 4:14 AM > To: Tomcat Users List > Subject: RE: Query > > > Vikram, > > I don't mind having to restart Tomcat 3.3.1 but I don't want > to have to manually remove the webapps/emissary directory > before restarting. emissary being the name of our webapp. I > would like Tomcat on restart to realise that there is a newer > war file, remove the old webapps/emissary directory where the > old expanded war file exists and expand the newer war file again.
If i get you correctly, you mean that your war file is expanded, and any changes made in the war file are not reflected. I dont think it is possible in 3.x, coz tc expands the .war files to the directory structure, then it does not look into the war file. It just serves the pages from the directory. If you put a new war file, tc does not load it since there is a directory with the same name, but if you delete the folder then tc reads from the war file and unzips it. In TC 4.x you could use the manager for reloading the application without restarting tomcat. > > Is it possible to do this ? > > Thanks, > > Tony. > > -----Original Message----- > From: Vikramjit Singh [mailto:[EMAIL PROTECTED]] > Sent: 09 September 2002 12:05 > To: 'Tomcat Users List' > Subject: RE: Query > > > > -----Original Message----- > > From: Tony McNicholas [mailto:[EMAIL PROTECTED]] > > Sent: Monday, September 09, 2002 4:05 AM > > To: [EMAIL PROTECTED] > > Subject: Query > > > > > > HI, > > > > I have the following query, > > > > I am using tomcat 3.3.1 and would like to deploy a new > > version of a webapp in a war file. To do this I need to stop > > Tomcat, remove the expanded old war directory and restart > > Tomcat. I would like to know is there a way to deploy a new > > version of a webbapp in a war file without having to manually > > delete the earlier expanded war file ? > > > > Note in the apps-*.xml file reloadable is set to true. > > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <webapps> > > > > <Context path="/emissary" > > docBase="webapps/emissary" > > debug="0" > > reloadable="true" > > > </Context> > > > > </webapps > > AFAIK, it is only possible in tc 4.x series. TC 3.x does not > support dynamic > class loading. > > > > Thanks, > > > > Tony. > > Vikram. > > > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
