Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Stop Start Tomcat Everytime/Other way?  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!