• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

restarting the server

 
kri shan
Ranch Hand
Posts: 1478
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I make some change in our servlet it gets reloaded.
Can I restart the application server?
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why not?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13074
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are using Tomcat - you can use the Management Application to restart an entire web application. Bill
 
danny liu
Ranch Hand
Posts: 185
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in most cases, don't restart the application server. instead, you can start the related application context as bill said.

If you don't want to restart that application context, you may jump to the work directory and delete the correspondent servlet code. Next time if the servlet is accessed, the servlet will be recompiled and re-instantiated.

Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic