In %CATALINA_HOME%/conf/server.xml make sure that reloadable="true" is in the <Context /> element for the apps that need to reload modified servlets. reloadable="false" will give better performance in a production environment because Tomcat does not have to check for a modified servlet on every request.
> -----Original Message----- > From: Ashish Kulkarni [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 1:08 PM > To: Tomcat Users List > Subject: Re: Tomcat does not pick the modified servlet > > > Hi Nishant, > Same with me,if i use JRun every thing works fine, i > tried a lot of forums but did not got any answere > about it. > Have 2 find a way so that tomcat recognise the new > servlet with out restarting > Ashish > --- [EMAIL PROTECTED] wrote: > > > > Hello Ashish > > I have the same problem. I have created a SOAP > > client servlet. > > When I try to run for first time everything is at > > place. > > But when I try to change and recompile my servlet it > > doesnot work. > > It picks up the earlier servlet code from somewhere. > > > > When I tried to use the same thing with IBM > > Websphere it wokred great. > > Everytime I compile it it automatically looks for > > the newly comiled > > servlet. > > Still looking for the answer....keep working > > lets see some gurus can answer it... > > > > > -------------------------------------------------------------- > ---------------------- > > > > Nishant Awasthi > > Corporate Systems Development > > Progressive Insurance > > > > > > > > > > > > > > > > Ashish Kulkarni > > > > <kulkarni_ash13@ To: > > Tomcat Users List > > yahoo.com> > > <[EMAIL PROTECTED]> > > cc: > > (bcc: Nishant Awasthi) > > 07/25/2002 11:49 Subject: > > Tomcat does not pick the modified > > AM servlet > > > > Please respond > > > > to "Tomcat Users > > > > List" > > > > > > > > > > > > > > > > > > > > > > Hi, > > I am using tomcat4.0.4 and i have a problem when i > > modify the servlet and put it in tomcat. > > The problem is tomcat does not pick up the new > > servlet > > code, so i have to go to the manager and restart the > > application. > > Is there a way tomcat will pick automatically new > > servlet code with out restarting. > > I have added the servlets in web.xml file > > > > Ashish > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Health - Feel better, live better > > http://health.yahoo.com > > > > -- > > 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]> > > > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > -- > 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]>