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 > > t

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) T

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=7fe82c1f70

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

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 pri

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 on

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: > /Users/test/software

Re: Unable to shutdown tomcat

2014-02-16 Thread Konstantin Kolinko
2014-02-17 2:16 GMT+04:00 Tim Leung : > Can someone please help me? > > > On Sun, Feb 16, 2014 at 12:05 PM, Tim Leung wrote: >> >> "main" prio=5 tid=7fe82c001800 nid=0x10448e000 runnable [10448b000] >>java.lang.Thread.State: RUNNABLE >> at sun.security.pkcs11.wrapper.PKCS11.C_GetSlotList(Nativ

Re: Unable to shutdown tomcat

2014-02-16 Thread Tim Leung
9000 > nid=0x10c641000 waiting on condition [] >java.lang.Thread.State: RUNNABLE > > "Finalizer" daemon prio=8 tid=7fe82c13f800 nid=0x10c37d000 in > Object.wait() [10c37c000] >java.lang.Thread.State: WAITING (on object monitor) > at java.lang.Object.wait(Native

Re: Unable to shutdown tomcat

2014-02-16 Thread Tim Leung
onitor) at java.lang.Object.wait(Native Method) - waiting on <7f42b0090> (a java.lang.ref.Reference$Lock) at java.lang.Object.wait(Object.java:485) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) - locked <7f42b0090> (a java.lang.ref.Reference$Lock) On Sun, Feb 16, 201

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 ru

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 wrote: I am unable to shutdown tomcat. When I do ./shutdown.sh, I

Re: Unable to shutdown tomcat

2014-02-16 Thread Arseny
Tomcat doesn't stop via shutdown.sh. I just know that some classes doesn't want to die (unload from memory) correcly. But - you can use kill PID without anxiety. 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 wrote:

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 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 i

Unable to shutdown tomcat

2014-02-15 Thread Tim Leung
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? Why is this happening in the first place? Please help asap. devServer:bin dev$ ps -ef|grep tomcat

RE: Unable to shutdown Tomcat

2014-02-15 Thread Martin Gainty
MG>ton 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- >

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: > /Users

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 6: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/ru

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/bin>netstat -an | grep LISTE

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/bin>netstat -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: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 JRE_H

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: /System/Library/Java/JavaVirtualMachi

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 U

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: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 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. > > For this error - > SEVERE: Could not contact localhost:8005. Tomcat may not be running. > > When I d

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 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: /Users/test/software/

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 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, whi

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: >>>

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 3:10 PM, 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 start

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
chultz [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 > > > kill -9 > > > That should be "kill -9 ", though I'm interested to s

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 causing

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 > > kill -9 > That should be "kill -9 ", though I'm i

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 > > kill -9 That should be "kill -9 ", though I'm interested to see what happens if you try to kill by port number. - -chris > On Fri, Feb 14, 2014 at 10:44

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?

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: .:/Library/Java/Extensions:/System/Library/Java/

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" wrote: > > The above is the shutdown port. > > So it is port 8080. No, that is the HTTP port, not the shutdow

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Feb 14, 2014 8:29 PM, "Pooja Swamy" 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 - > > > > >SSLEngine="on" /> > >className="org.apache.catalina.core.JreMemoryLeakPreventionList

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
neven.cvetko...@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 Tomca

Re: Unable to shutdown Tomcat

2014-02-14 Thread Leo Medina
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 > >

Re: Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
> > > > From: Leo Medina [mailto:leo.medi...@gmail.com] > > > Subject: RE: Unable to shutdown Tomcat > > > > > Hello have you tried: > > > ps -ef | grep > > > kill -9 > > > > You must have extremely odd implementations of ps and kil

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 To

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 > > kill -9 > > Y

Re: Unable to shutdown Tomcat

2014-02-14 Thread Neven Cvetkovic
On Fri, Feb 14, 2014 at 1:44 PM, Pooja Swamy 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 > Using CATALIN

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 > kill -9 You must have extremely odd implementations of ps and kill if you expect that to do anything useful. Are you confusing port number with

Re: Unable to shutdown Tomcat

2014-02-14 Thread Leo Medina
Hello have you tried: ps -ef | grep kill -9 On Fri, Feb 14, 2014 at 10:44 AM, Pooja Swamy 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

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.ConnectExc

Unable to shutdown Tomcat

2014-02-14 Thread Pooja Swamy
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 Using CATALINA_HOME: /Users/test/software/tomcat Using CATALINA_TMPDIR: /Us