On Fri, Feb 14, 2014 at 3:10 PM, Pooja Swamy <poojasw...@gmail.com> wrote:

> Yes I have tried that.
>
> When I kill, the process gets killed gracefully. After killing, if I do a
> ps -ef|grep tomcat, I don't see the process running.
> Like I said the issue is not with shutdown. The issue is with startup. When
> I startup, the startup is not happening at all, which is what is causing a
> problem while shutting down. Here is what I see -
>
>
Exactly Pooja. You need to confirm that your Tomcat is actually starting up
(any or all points below):

1) See if in the process table
2) See in netstat that is bound to 8080
3) Look into the log file and see it started listening on port 8080
4) Check in browser, e.g. http://localhost:8080

So, if the startup is problem, try to start it with:

/Users/test/software/tomcat/bin/catalina.sh run

(tell us the output)


Also, in your previous reply - the logfile looks suspiciously short, not
too many details ...

You should see the connectors starting up, e.g.

... INFO: Starting ProtocolHandler ["http-bio-8080"]
... INFO: Starting ProtocolHandler ["ajp-bio-8009"]




> Feb 14, 2014 12:10:23 PM org.apache.catalina.startup.Catalina stopServer
>
> SEVERE: Could not contact localhost:8005. Tomcat may not be running.
>
> I don't understand what's causing this.
>
>
Your Tomcat is probably not running, i.e. there is nothing listening on
port 8005 for the shutdown.sh script to connect to (which is defined in
server.xml).


Good luck!

Reply via email to