English is my second language, I'm sorry if I confused anyone here. New update information.
1)There is an echo "shutdown robinsrv..." command before invoke sending email program in my stop script. 2)I tested using shutdown -i0 -g60 -y to bring system down, and I did find the message in the log. I also check the log of my Java program which identified that it can't connect to email server. Here is my service depenencies: -bash-3.2# svcs -l robinsrv fmri svc:/application/robinsrv:default enabled true state online next_state none state_time Mon Oct 27 11:24:54 2008 logfile /var/svc/log/application-robinsrv:default.log restarter svc:/system/svc/restarter:default contract_id 77 dependency require_all/none svc:/system/filesystem/autofs:default (online) dependency require_all/none svc:/milestone/multi-user:default (online) dependency require_all/none svc:/network/physical:default (online) Does anyone have further suggestions? Thanks, Robin -- This message posted from opensolaris.org