I assume you are running glassfish gem as daemon and yes this is the
right command you are using. It is tested to work on solaris and linux
flavors.
Is this intermittent problem or glassfish gem never shutdown on
receiving SIGINT? Also before you decide to to kill it, is the
application deployed on this is accessible? Also can you send the output
of `pmap -x <pid>` on solaris machine?
-vivek.
Paul Blair wrote:
> We've been using the following command to shut down the Glassfish gem
> (0.9.5):
>
> kill -INT `cat /path/to/rails/publish/shared/pids/capistrano-publish`
>
> On one of our Solaris environments we've been noticing Glassfish being
> reluctant to shut down. Is there a different command we should be
> using, or something else we should be doing to prep for shutdown?
>
> Thanks,
>
> --
> Paul Blair
> pblair_at_cyrusinnovation.com <mailto:pblair_at_cyrusinnovation.com>
>
> Cyrus Innovation LLC
> 200 Varick, Suite 902
> New York, NY 10014
> phone: (212) 647-7186
> fax: (212) 591-6043
> http://cyrusinnovation.com
>
>
>