• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Executing servlets using Tomcat

 
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I am using Tomcat as servlet container. I am having a problem. When I execute a servlet for the first time it works fine. But when I make some changes to the servlet, recompile it and when I execute it the changes does not seem to appear. I have to shutdown the Tomcat server and then restart it and then the changes in the servlet can be seen. Is there any solution to this?
Thanks
Sudhir
[ December 26, 2002: Message edited by: Sudhir Sudhir ]
[ December 26, 2002: Message edited by: Sudhir Sudhir ]
 
Ranch Hand
Posts: 3244
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out the manager app to reload the servlet without having to shutdown and restart the container.
 
Sudhir V
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
This is a more simpler way
http://javaboutique.internet.com/tutorials/Tomcat/configure.html#Servlet-Reloading
Thanks
Sudhir
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
However, note that having the servlet reload if the date on the servlet class changes does NOT correctly handle the situation in which you make changes to auxiliary classes. For that you need to totally reload the web application with the Manager App.
Bill
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic