This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes restarting the server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "restarting the server " Watch "restarting the server " New topic
Author

restarting the server

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1371
When I make some change in our servlet it gets reloaded.
Can I restart the application server?
Bruce Jin
Ranch Hand

Joined: Sep 20, 2001
Posts: 666
Why not?


BJ - SCJP and SCWCD
We love Java programming. It is contagious, very cool, and lot of fun. - Peter Coad, Java Design

Crazy Bikes created by m-Power
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
If you are using Tomcat - you can use the Management Application to restart an entire web application. Bill
danny liu
Ranch Hand

Joined: Jan 22, 2004
Posts: 185
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: restarting the server
 
Similar Threads
James Mail Server
RMI from start to finish
Accept compresed requests in tomcat
Need help in build applications using ant : getting exception
Http Post