|
Replies:
2
-
Last Post:
May 27, 2008 4:53 PM
by: rmakkar
|
|
|
|
|
|
|
Sun one 6.1 sp 6 Gracefull
Posted:
May 24, 2008 7:07 AM
|
|
|
We are using sun one 6.1 sp 6 on solaris 8. I added some mime types on my instance through editing mime.types file. I think it will need restart .. ./stop and ./start but is there any way to do a graceful restart like in apache ; httpd -k graceful ? I am pretty new to sun one so .. not sure.
Also is there any way we can restart only one Virtual server in a instance without impacting other virtual servers ?
Thanks in Advance.
|
|
|
|
|
|
|
Re: Sun one 6.1 sp 6 Gracefull
Posted:
May 25, 2008 2:55 PM
in response to: rmakkar
|
|
|
there is no explicit graceful option available. instead server stop is ment to be graceful - that means all working server threads are stopped gracefully. gracefulness goes down to java threading model. The thread in java threading model is stopped when it finishes doing the stuff specified in run() method, and there is no explicit terminate() method in a Thread class. since jdk1.5. So the threads are terminated when they actually finish doing the stuff they need to do i.e. serving user request - therefore server appears to stop gracefully to the user.
|
|
|
|
|
|
|
|
Re: Sun one 6.1 sp 6 Gracefull
Posted:
May 27, 2008 4:53 PM
in response to: justadreamer2007
|
|
|
Thanks .. and any input about restarting only one virtual server instead of doing graceful for complete app instance
|
|
|
|
|