----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files.  Don't make us guess your problem!!!
----------------------------------------------------------------

[EMAIL PROTECTED] wrote:

> ----------------------------------------------------------------
> BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
> WHEN YOU POST, include all relevant version numbers, log files,
> and configuration files.  Don't make us guess your problem!!!
> ----------------------------------------------------------------
>
> Jean-Luc, Michael Amster,
>
> Michael Amster said :
> >Lastly, stop the apache instance.  If any Java processes are still
> >hanging around, kill them.  You may have a case where an error is
> >causing your JVM not to be terminated when your do an httpd restart.
>
>  I can stop the apache instance, but how can I find the hanging Java

Try ps aux | less
Buy a Linux book.  This is all pretty basic Unix stuff.

>
> process ?
>
> Jean-Luc said :
> >Hi,
> >as you are running automatic mode, use ApJServDefaultHost  127.0.0.1
> >instead of external IP, and let us know.
> >some of the problems address already in use, means that one server is
> >started and not stopped. kill all the java processes before trying
> >again.
> >Jean-Luc
>
> I have stepped into Linux for just about 1 month, please ask how can I find
> the server id which should be killed, I am in remote site, so I can only use
> the
> text command line method. I know "kill -TERM id". Is it right? How can I
> find
> the id ?

In Linux you can use ps aux to identify the IDs and then use kill for each one,
or you can use the killall command for all java processes: killall java (must
be root or the user of the java process).

Again, buy a book and learn your OS.

>
>
> JackWang
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> Archives and Other:  <http://java.apache.org/main/mail.html>
> Problems?:           [EMAIL PROTECTED]



--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/main/mail.html>
Problems?:           [EMAIL PROTECTED]

Reply via email to