Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat shutdown

 
geeta rai
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
If one makes any modification in the servlet, to reflect the changes one has to shutdown Tomcat, is there any other way cause its quite tedious and time consuming stopping and starting the server again and again.
Thanks
 
hesham katon
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do the same dumb thing
I wish anyone provide a way for that too .
wish you good luck
 
Vijay Sargunam
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
In tomcat 5.x, while creating an application context, you have to set the classloader property to true. This can later be changed using the admin console. Hope this helps.
Regards,
Vijay
 
Mathew Manoj
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by geeta rai:
Hi,
If one makes any modification in the servlet, to reflect the changes one has to shutdown Tomcat, is there any other way cause its quite tedious and time consuming stopping and starting the server again and again.
Thanks

there is no need to shutdown tomcat.
go to admin console from the main page and stop the application and start again.
Sometimes the tags or files that have been compiled do not load, so this is the quickest way.
 
LUCKY LUKE
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
reloading
When I used it before I was creating link or button on html page...
anyway it is solution for you if you dnt like to go to manager
 
Shoaib Khanzada
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the reloadable attribute of <Context> to true. If this attribute is missing from ur server.xml add it there. Best Of Luck!
 
Moorthi Ramasamy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this link.
http://www.coreservlets.com/Apache-Tomcat-Tutorial/#Introduction
Thanks,
Moorthi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic