Bugs: Browse | Submit New | Admin

[#23720] gf kill and bounce please

2009-01-28 00:05
Submitted By:
Steven Bristol (stevenbristol)
Assigned To:
Vivek Pandey (vivekp)
Target Release:
gf kill and bounce please

Detailed description
I need a way to kill and restart a running gf so I can do command line deploys via capistrano. Please add this, needed

Add A Comment: Notepad

Please login


Date: 2009-03-16 04:45
Sender: Vivek Pandey

GlassFish runs on JVM. Restarting would be pretty easy for a
native process but from inside JVM it is pretty non-trivial and
I don't think it being implemented for quite some time.

Now that daemon mode is supported on linux and solaris and assuming
you are running on either of these platforms you can stop it
using SIGINT.

STOP command can not work in a generic sense. For example, if
there are 4 instances of glassfish are running on one machine,
which one do you want to stop?

We will soon provide a capistrano recipe that can automate the
deployment. re-start will be treated as stop and start. To start,
just type 'glassfish' to stop send SIGINT using the process id.

Let me know if this solution would work for you, if it does I
can close this ticket.
Date: 2009-01-28 13:46
Sender: Steven Bristol

I'm not sure. I was just thinking some sort of way to stop
and restart. I suppose SIGHUP should restart the gf and
SIGKILL should stop it. And take command line options like
stop or restart.
Date: 2009-01-28 01:53
Sender: Vivek Pandey

Exactly what kind of kill you are talking about, is it SIGHUP
or SIGKILL? An example of what you would expect will be helpful.

Attached Files:

Name Description Download
No Files Currently Attached


Field Old Value Date By
artifact_group_idNone2009-01-28 01:53vivekp
assigned_tonone2009-01-28 01:53vivekp