Is there a specific way of stopping GavaMail, other than control+C
in the terminal? One problem is that all java processes generally
have the process name of "java", thus it causes a problem in trying
to stop it.
I dont know if you can do this on a MAC OS but on Linux, I
usually do a ps -ef | grep java, gind the process PID no.
for gavamail and do a kill -9.
I know this is a very bad way of doing things...I will try
to add a shutdown method in the next release.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Point of note Mac OS X is very similar to Unix under the hood.
This is how Apple stop Xgrid:
---
StopService ()
{
if pid=$(GetPID GridServer); then
ConsoleMessage "Stopping Xgrid Server"
kill -TERM "${pid}"
else
ConsoleMessage "Xgrid Server not responding."
fi
}
---
So it looks as though it could be fairly similar.
Also another problem this causes, is when I have another java process
running. Either the wrong process gets killed or they both do. This
wouldn't be too productive, would it now?
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1098025
I dont know if you can do this on a MAC OS but on Linux, I
usually do a ps -ef | grep java, gind the process PID no.
for gavamail and do a kill -9.
I know this is a very bad way of doing things...I will try
to add a shutdown method in the next release.
Logged In: YES
user_id=1079067
Point of note Mac OS X is very similar to Unix under the hood.
This is how Apple stop Xgrid:
---
StopService ()
{
if pid=$(GetPID GridServer); then
ConsoleMessage "Stopping Xgrid Server"
kill -TERM "${pid}"
else
ConsoleMessage "Xgrid Server not responding."
fi
}
---
So it looks as though it could be fairly similar.
Also another problem this causes, is when I have another java process
running. Either the wrong process gets killed or they both do. This
wouldn't be too productive, would it now?
Thanks.