tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Neven Cvetkovic <>
Subject Re: Unable to shutdown Tomcat
Date Sat, 15 Feb 2014 00:26:09 GMT
On Fri, Feb 14, 2014 at 6:37 PM, Pooja Swamy <> wrote:

> I started tomcat -
> test@>./
> Using CATALINA_BASE:   /Users/test/software/runtime
> Using CATALINA_HOME:   /Users/test/software/runtime
> Using CATALINA_TMPDIR: /Users/test/software/runtime/temp


Your initial CATALINA_HOME was: /Users/test/software/tomcat
Now you are running from a different directory:

What's the difference now?

You mentioned you changed the port to 18000, where did you do that? What
did you change? Why did you change that?

Can you confirm that your Tomcat is not starting up, with either of three

1. sudo ps -ef | grep catalina   (here's sample output)

501 36371 35319   0  7:01pm ttys003    0:05.22
-classpath /Users/test/software/tomcat/bin/bootstrap.jar:/Users/test/software/tomcat/bin/tomcat-juli.jar
org.apache.catalina.startup.Bootstrap start

2. sudo lsof -iTCP -sTCP:LISTEN -P -n | grep 8080   (here's sample output)

java      36371 test   48u  IPv6 0xff43c4aa9610cc0b      0t0  TCP *:8080

3. sudo netstat -an | grep 8080             (sample output)

tcp46      0      0  *.8080                 *.*                    LISTEN

NOTE: I prefer lsof over netstat on Mac, as I can see the process number
that is bound to the specific port number in one command. I did not dig
into Mac version of netstat to see other switches (netstat -vatpn doesn't
work on Mac like on Linux).

This will make sure that you Tomcat is started.

Is your TOMCAT running after you started it?

If that's not the case, you need to see why you Tomcat doesn't start.

Your earlier console output from
/Users/test/software/tomcat/bin/ run was not complete.

Good luck!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message