Operating System - Tru64 Unix
1752375 Members
6168 Online
108787 Solutions
New Discussion юеВ

Re: How to kill the tomcat process.

 
Yogesh Nerkar
Advisor

How to kill the tomcat process.

I am started tomcat and its runing but after some it is not giving anyresponse and hangs.
So i tired to kill this process by this command
kill -9 pid.
kill pid.
but still runing .So how can i kill this process which is using java1.2.2 .
Nothing in the world can take place of GOD
6 REPLIES 6
Dave Bechtold
Respected Contributor

Re: How to kill the tomcat process.

Hello,

To stop Tomcat use "/sbin/init.d/tomcat stop", if installed from the Internet Express package.

Dave Bechtold
Caesar_3
Esteemed Contributor

Re: How to kill the tomcat process.

Hello!

If you can't kill it check if it zombie
if so you will need to reboot.

Caesar
Jason Orendorf
Visitor

Re: How to kill the tomcat process.

If 'kill -9 PID' doesn't kill a process, that
usually indicates that one or more of the
process's threads are in uninterruptible
kernel code. Check with 'ps alxmp PID' and
look for a "U" in the State column. If you
find one, the WCHAN column may be helpful if
the process is waiting on some kernel event.

If the PID is not accruing time then it's
likely hung in kernel code - often requiring
a system reboot to clear. You can either
force a crash or run dumpsys for help identifying
the problem.
-----------------------------------------------------
I work for HP but all opinions are mine and mine alone!
Ralf Puchner
Honored Contributor

Re: How to kill the tomcat process.

Tomcat runs without a problem by using the internet express administration programs.
This is the only supported way - have a look into the documentation. Starting/Stopping is also done by the administration gui, but you can use also the scripts within /sbin/init.d.

I have had a lot of customers trying to configure and administrate the tomcat manually and failed. Using the gui works out of the box ;-)
Help() { FirstReadManual(urgently); Go_to_it;; }
Yogesh Nerkar
Advisor

Re: How to kill the tomcat process.

Now i have configured and tomcat eaxmples are not coming up giving this error

"HTTP Status 500 -
type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: -1 in the jsp file: null

Generated servlet error:
[javac] Since fork is true, ignoring compiler setting.
[javac] Compiling 1 source file
[javac] Since fork is true, ignoring compiler setting.

Plz tell me what to do with this ?


Nothing in the world can take place of GOD
Ralf Puchner
Honored Contributor

Re: How to kill the tomcat process.

reinstalling Internet Express using the Gui?
Help() { FirstReadManual(urgently); Go_to_it;; }