• Post Reply Bookmark Topic Watch Topic
  • New Topic

Stop Start Tomcat Everytime/Other way?

 
John Peter
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everytime I modified the servlet source code and recompile it, I need to stop-start my Jakarta Tomcat 4.0.1, is there any alternative way which is easier and practical? :-|)
 
Sivasundaram Umapathy
Ranch Hand
Posts: 360
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be this is it required to restart Tomcat , whenever servlet class file is changed? could be useful for you.
 
John Peter
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I 've use the http://localhost/manager/reload?path=my_web_app
to solve this. It is a good approach especially in the development phase.
To find more about it, we can refer the tomcat 4.0.1 documentation in the tomcat folder.



Spider
 
Nileesha Bojjawar
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
There is also another solution to this .Instead of reloading the aplicaiton using hte manager , you can set up the web application in server.xml with the attribute of reloadable="true" under the context of the application.

Good Luck
Nileesha
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!