Re: Unable to shutdown tomcat

2014-02-19 Thread André Warnier
Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Unable to shutdown tomcat Thread-5 daemon prio=5 tid=7fe82c1f7000 nid=0x10c4bb000 waiting for monitor entry [] java.lang.Thread.State: BLOCKED (on object monitor) This thread

RE: Unable to shutdown tomcat

2014-02-19 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Unable to shutdown tomcat The C_GetSlotList() function would normally return immediately, so this one's very strange. If there are additional crypto libraries installed beyond the one that ships with the JVM, it might

Re: Unable to shutdown tomcat

2014-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tim, (This looks alot like a question posted recently by Pooja). On 2/16/14, 3:05 PM, Tim Leung wrote: I did a kill -3, and see these messages written to catalina.out. Something definitely doesn't seem right - [snip] Thread-5 daemon prio=5

RE: Unable to shutdown tomcat

2014-02-18 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Unable to shutdown tomcat Thread-5 daemon prio=5 tid=7fe82c1f7000 nid=0x10c4bb000 waiting for monitor entry [] java.lang.Thread.State: BLOCKED (on object monitor) This thread might be a problem. Nope

Re: Unable to shutdown tomcat

2014-02-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 2/18/14, 5:38 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Unable to shutdown tomcat Thread-5 daemon prio=5 tid=7fe82c1f7000 nid=0x10c4bb000 waiting for monitor entry

Re: Unable to shutdown Tomcat

2014-02-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pooja, On 2/14/14, 5:46 PM, Pooja Swamy wrote: Here is another thing. Everytime I start tomcat, it is not throwing an error. I am able to start it up multiple times. - myMac:bin test$ ./startup.sh Using CATALINA_BASE:

Re: Unable to shutdown Tomcat

2014-02-17 Thread André Warnier
Pooja, *STOP*. *PAUSE*. Please. Stop changing the configurations and the servers, and take some time to do things systematically, step by step, and answer the questions without changing the data in the meantime, and without overwhelming us with confusing answers. Suggestion : 1) choose

Re: Unable to shutdown tomcat

2014-02-16 Thread Arseny
Hi. Use `kill 34933` - this will stop all Tomcat's treads correctly (exactly - this will send `kill -TERM 34933 instead of `kill -KILL 34933` which is `kill -9` and really kill process imediatelly). Unfortunatelly I'm not Java coder so I can't give you advice - why exactly Tomcat doesn't

Re: Unable to shutdown tomcat

2014-02-16 Thread Arseny
btw - you can use `jstack 34933` after you run shutdown.sh to see which classes (files) still hold in memory. 16.02.2014 9:51, Tim Leung пишет: I am running Tomcat 7.0.50 btw. On Sat, Feb 15, 2014 at 11:47 PM, Tim Leung timleung1...@gmail.com wrote: I am unable to shutdown tomcat. When I

RE: Unable to shutdown tomcat

2014-02-16 Thread Caldarale, Charles R
From: Tim Leung [mailto:timleung1...@gmail.com] Subject: Unable to shutdown tomcat I am unable to shutdown tomcat. When I do ./shutdown.sh, I don't see any error, but the process still seems to be running. Likely one of your webapps started a thread that is still running, preventing the

Re: Unable to shutdown tomcat

2014-02-16 Thread Tim Leung
I did a kill -3, and see these messages written to catalina.out. Something definitely doesn't seem right - Feb 15, 2014 11:24:23 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was

Re: Unable to shutdown tomcat

2014-02-16 Thread Tim Leung
Can someone please help me? On Sun, Feb 16, 2014 at 12:05 PM, Tim Leung timleung1...@gmail.com wrote: I did a kill -3, and see these messages written to catalina.out. Something definitely doesn't seem right - Feb 15, 2014 11:24:23 PM org.apache.catalina.core.AprLifecycleListener init INFO:

Re: Unable to shutdown tomcat

2014-02-16 Thread Konstantin Kolinko
2014-02-17 2:16 GMT+04:00 Tim Leung timleung1...@gmail.com: Can someone please help me? On Sun, Feb 16, 2014 at 12:05 PM, Tim Leung timleung1...@gmail.com wrote: main prio=5 tid=7fe82c001800 nid=0x10448e000 runnable [10448b000] java.lang.Thread.State: RUNNABLE at

RE: Unable to shutdown Tomcat

2014-02-15 Thread Martin Gainty
MGton of log information is missing..you must have disabled the logs somehow Date: Fri, 14 Feb 2014 21:51:55 -0500 From: ch...@christopherschultz.net To: users@tomcat.apache.org Subject: Re: Unable to shutdown Tomcat -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pooja, On 2/14/14

Re: Unable to shutdown tomcat

2014-02-15 Thread Tim Leung
I am running Tomcat 7.0.50 btw. On Sat, Feb 15, 2014 at 11:47 PM, Tim Leung timleung1...@gmail.com wrote: I am unable to shutdown tomcat. When I do ./shutdown.sh, I don't see any error, but the process still seems to be running. I don't want to do a kill -9. How do I gracefully shut it down?

RE: Unable to shutdown Tomcat

2014-02-14 Thread Caldarale, Charles R
From: Pooja Swamy [mailto:poojasw...@gmail.com] Subject: Unable to shutdown Tomcat Everytime I try to shutdown tomcat, this is the error I get. Feb 14, 2014 6:37:52 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused

Re: Unable to shutdown Tomcat

2014-02-14 Thread Leo Medina
Hello have you tried: ps -ef | grep port number kill -9 port number On Fri, Feb 14, 2014 at 10:44 AM, Pooja Swamy poojasw...@gmail.com wrote: I am unable to shutdown my tomcat gracefully. Everytime I try to shutdown tomcat, this is the error I get.

RE: Unable to shutdown Tomcat

2014-02-14 Thread Caldarale, Charles R
From: Leo Medina [mailto:leo.medi...@gmail.com] Subject: RE: Unable to shutdown Tomcat Hello have you tried: ps -ef | grep port number kill -9 port number You must have extremely odd implementations of ps and kill if you expect that to do anything useful. Are you confusing port number

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 1:44 PM, Pooja Swamy poojasw...@gmail.com wrote: I am unable to shutdown my tomcat gracefully. Everytime I try to shutdown tomcat, this is the error I get. test@17.198.48.77:/Users/test/software/tomcat/bin./startup.sh Using CATALINA_BASE: /Users/test/software/tomcat

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 2:03 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Leo Medina [mailto:leo.medi...@gmail.com] Subject: RE: Unable to shutdown Tomcat Hello have you tried: ps -ef | grep port number kill -9 port number You must have extremely odd

Re: Unable to shutdown Tomcat

2014-02-14 Thread James H. H. Lampert
FWIW: I've had similar situations arise (we've never found a reason why, but it happens far less frequently since we updated all our Tomcat installations to a more recent release) on AS/400s. I responded to it by rewriting our shutdown CL program so that if a normal shutdown fails to bring

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
...@gmail.com] Subject: RE: Unable to shutdown Tomcat Hello have you tried: ps -ef | grep port number kill -9 port number You must have extremely odd implementations of ps and kill if you expect that to do anything useful. Are you confusing port number with pid? - Chuck

Re: Unable to shutdown Tomcat

2014-02-14 Thread Leo Medina
...@gmail.com wrote: On Fri, Feb 14, 2014 at 2:03 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Leo Medina [mailto:leo.medi...@gmail.com] Subject: RE: Unable to shutdown Tomcat Hello have you tried: ps -ef | grep port number kill -9 port number You must

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Feb 14, 2014 8:29 PM, Pooja Swamy poojasw...@gmail.com wrote: Thank you so much for working with me on this. I am on mac OS, and I am using tomcat-7.0.50 1. Here is my server.xml without comments - ?xml version='1.0' encoding='utf-8'? Server port=8005 shutdown=SHUTDOWN Listener

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
...@gmail.com wrote: On Fri, Feb 14, 2014 at 2:03 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Leo Medina [mailto:leo.medi...@gmail.com] Subject: RE: Unable to shutdown Tomcat Hello have you tried: ps -ef | grep port number kill -9 port number You

RE: Unable to shutdown Tomcat

2014-02-14 Thread Caldarale, Charles R
From: Neven Cvetkovic [mailto:neven.cvetko...@gmail.com] Subject: Re: Unable to shutdown Tomcat On Feb 14, 2014 8:29 PM, Pooja Swamy poojasw...@gmail.com wrote: Server port=8005 shutdown=SHUTDOWN The above is the shutdown port. Connector port=8080 protocol=HTTP/1.1 So it is port

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
Here is my catalina.out Feb 14, 2014 11:30:29 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:

RE: Unable to shutdown Tomcat

2014-02-14 Thread Caldarale, Charles R
From: Pooja Swamy [mailto:poojasw...@gmail.com] Subject: Re: Unable to shutdown Tomcat I confirmed tomcat is running by doing ps -ef|grep tomcat Have you confirmed that Tomcat is usable by going to http://localhost:8080 with a browser running on the same machine Tomcat is on? You may have

Re: Unable to shutdown Tomcat

2014-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leo, On 2/14/14, 1:52 PM, Leo Medina wrote: Hello have you tried: ps -ef | grep port number kill -9 port number That should be kill -9 pid, though I'm interested to see what happens if you try to kill by port number. - -chris On Fri, Feb

RE: Unable to shutdown Tomcat

2014-02-14 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Unable to shutdown Tomcat On 2/14/14, 1:52 PM, Leo Medina wrote: Hello have you tried: ps -ef | grep port number kill -9 port number That should be kill -9 pid, though I'm interested to see what happens

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
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

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
] Subject: Re: Unable to shutdown Tomcat On 2/14/14, 1:52 PM, Leo Medina wrote: Hello have you tried: ps -ef | grep port number kill -9 port number That should be kill -9 pid, though I'm interested to see what happens if you try to kill by port number. Somebody dies... BTW, you

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
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

Re: Unable to shutdown Tomcat

2014-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Chuck, On 2/14/14, 3:08 PM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Unable to shutdown Tomcat On 2/14/14, 1:52 PM, Leo Medina wrote: Hello have you tried: ps -ef | grep port

Re: Unable to shutdown Tomcat

2014-02-14 Thread André Warnier
Pooja Swamy 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,

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
Yes. My tomcat is definitely not starting up :( I am not sure how to debug this issue though. I tried changing the port. It didn't help. For this error - SEVERE: Could not contact localhost:8005. Tomcat may not be running. When I do - myMac:logs test$ telnet localhost 8005 Trying ::1... telnet:

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
Here is another thing. Everytime I start tomcat, it is not throwing an error. I am able to start it up multiple times. - myMac:bin test$ ./startup.sh Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime Using CATALINA_TMPDIR:

Re: Unable to shutdown Tomcat

2014-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pooja, On 2/14/14, 5:31 PM, Pooja Swamy wrote: Yes. My tomcat is definitely not starting up :( I am not sure how to debug this issue though. I tried changing the port. It didn't help. First, make sure Tomcat isn't running (use ps to find it,

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 5:31 PM, Pooja Swamy poojasw...@gmail.com wrote: Yes. My tomcat is definitely not starting up :( I am not sure how to debug this issue though. I tried changing the port. It didn't help. For this error - SEVERE: Could not contact localhost:8005. Tomcat may not be

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
Okay. Here you go - myMac:runtime test$ bin/catalina.sh run Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime Using CATALINA_TMPDIR: /Users/test/software/runtime/temp Using JRE_HOME:

Re: Unable to shutdown Tomcat

2014-02-14 Thread Mark Eggers
On 2/14/2014 2:46 PM, Pooja Swamy wrote: Here is another thing. Everytime I start tomcat, it is not throwing an error. I am able to start it up multiple times. - myMac:bin test$ ./startup.sh Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
I started tomcat - test@17.198.48.77:/Users/test/software/runtime/bin./startup.sh Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime Using CATALINA_TMPDIR: /Users/test/software/runtime/temp Using JRE_HOME:

Re: Unable to shutdown Tomcat

2014-02-14 Thread Mark Eggers
On 2/14/2014 3:37 PM, Pooja Swamy wrote: I started tomcat - test@17.198.48.77:/Users/test/software/runtime/bin./startup.sh Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime Using CATALINA_TMPDIR: /Users/test/software/runtime/temp Using

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
I changed my port to 1800. 1. I got it from another server that is also running the same version. 2.b. myMac@test:/Users/test/software/tomcat/binnetstat -an | grep LISTEN tcp46 0 0 *.3283 *.*LISTEN tcp46 0 0 *.80 *.*

Re: Unable to shutdown Tomcat

2014-02-14 Thread Mark Eggers
On 2/14/2014 3:49 PM, Pooja Swamy wrote: I changed my port to 1800. 1. I got it from another server that is also running the same version. So you just copied some software over . . . Version, origin, etc. are unknown? 2.b. myMac@test:/Users/test/software/tomcat/binnetstat -an | grep

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 6:37 PM, Pooja Swamy poojasw...@gmail.com wrote: I started tomcat - test@17.198.48.77:/Users/test/software/runtime/bin./startup.sh Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime Using CATALINA_TMPDIR:

Re: Unable to shutdown Tomcat

2014-02-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Pooja, On 2/14/14, 5:49 PM, Pooja Swamy wrote: Okay. Here you go - myMac:runtime test$ bin/catalina.sh run Using CATALINA_BASE: /Users/test/software/runtime Using CATALINA_HOME: /Users/test/software/runtime Using CATALINA_TMPDIR: