Re: Tomcat shutdown password complexity

2020-05-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Roger, On 5/9/20 20:45, Roger Marquis wrote: > calder wrote: >> We've never had occasion to use the password, because we disable >> shutdown (the better option). > > Never did understand this Tomcat oddity. What other application > is configured

Re: Tomcat shutdown password complexity

2020-05-10 Thread Konstantin Kolinko
вс, 10 мая 2020 г. в 22:20, Mark Thomas : > > On May 10, 2020 11:31:02 AM UTC, calder wrote: > > > > >I asked the DevOps person about the error - turns out it was a > >SAXParseException when using the & char in the string. > > That is standard XML. You have to escape reserved characters in the

Re: Tomcat shutdown password complexity

2020-05-10 Thread Mark Thomas
On May 10, 2020 11:31:02 AM UTC, calder wrote: >I asked the DevOps person about the error - turns out it was a >SAXParseException when using the & char in the string. That is standard XML. You have to escape resevered characters in the XML. > He vaguely >remembers a shell issue with the

Re: Tomcat shutdown password complexity

2020-05-10 Thread calder
On Sat, May 9, 2020 at 5:09 PM Christopher Schultz wrote: > On 5/9/20 00:36, calder wrote: > > On Fri, May 8, 2020 at 9:07 PM calder [snip] > > Keep in mind - some characters won't work like & or ( or ) - at > > least on Unix-style OSes as the shell may want to interpret them. > > What makes

Re: Tomcat shutdown password complexity

2020-05-09 Thread Roger Marquis
calder wrote: We've never had occasion to use the password, because we disable shutdown (the better option). Never did understand this Tomcat oddity. What other application is configured by default to open a tcp socket just to receive a shutdown command? Then there the default password, both

Re: Tomcat shutdown password complexity

2020-05-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Calder, On 5/9/20 00:36, calder wrote: > On Fri, May 8, 2020 at 9:07 PM calder > wrote: >> >> On Fri, May 8, 2020, 19:20 Robert Hicks >> wrote: >>> >>> I am trying to find what the password complexity can be. I've >>> looked at several hardening

Re: Tomcat shutdown password complexity

2020-05-08 Thread calder
On Fri, May 8, 2020 at 9:07 PM calder wrote: > > On Fri, May 8, 2020, 19:20 Robert Hicks wrote: >> >> I am trying to find what the password complexity can be. I've looked at >> several hardening guides and they are all "WordsLikeThis". Does the >> shutdown password take symbols and numbers or at

Re: Tomcat shutdown password complexity

2020-05-08 Thread calder
On Fri, May 8, 2020, 19:20 Robert Hicks wrote: > I am trying to find what the password complexity can be. I've looked at > several hardening guides and they are all "WordsLikeThis". Does the > shutdown password take symbols and numbers or at least hyphenated words? > We've never had occasion to

Re: Tomcat shutdown, webapp vs database pools

2018-03-17 Thread Alex O'Ree
Thanks for the info. I'll investigate further into the listeners. On Sat, Mar 17, 2018 at 4:27 AM, Mark Thomas wrote: > On 16/03/18 22:42, Alex O'Ree wrote: > > I have a war file that defines a context.xml file, some cxf based web > > services and a few other background tasks

Re: Tomcat shutdown, webapp vs database pools

2018-03-17 Thread Mark Thomas
On 16/03/18 22:42, Alex O'Ree wrote: > I have a war file that defines a context.xml file, some cxf based web > services and a few other background tasks using quartz that are initialized > in a servlet context listener. > > When tomcat shuts down, it appears that tomcat stops the database >

Re: Tomcat shutdown process

2016-04-05 Thread Mark Thomas
On 05/04/2016 21:48, Vinicius Carvalho wrote: > Thanks for the quick reply Mark, one final question, does tomcat return a > 503 error in that case? New connections will fail. Existing connections will be closed. Mark > > Regards > > On Tue, Apr 5, 2016 at 4:05 PM, Mark Thomas

Re: Tomcat shutdown process

2016-04-05 Thread Vinicius Carvalho
Thanks for the quick reply Mark, one final question, does tomcat return a 503 error in that case? Regards On Tue, Apr 5, 2016 at 4:05 PM, Mark Thomas wrote: > On 05/04/2016 20:54, Vinicius Carvalho wrote: > > Hi there, I googled this one around, but I found a big mix on

Re: Tomcat shutdown process

2016-04-05 Thread Mark Thomas
On 05/04/2016 20:54, Vinicius Carvalho wrote: > Hi there, I googled this one around, but I found a big mix on exactly how > tomcat operates when a shutdown is initiated. What happens when a shutdown > is started in regards to: > > - Requests that are currently being processed (if a request is

Re: Tomcat shutdown behaviour

2013-08-09 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Vimal, On 8/9/13 1:01 AM, Vimal Jain wrote: I am using tomcat-6 on my Ubuntu 13.10 desktop. My question is :- When i run shutdown script of tomcat , does tomcat wait for currently running threads to complete before shutting down ? Do you mean

RE: tomcat shutdown clarification

2012-08-14 Thread Caldarale, Charles R
From: Davis, Chad [mailto:chad.da...@emc.com] Subject: tomcat shutdown clarification When I use the shutdown.sh script to stop tomcat, what happens? I am tempted to say Magic. BUT the JVM won't go down if there are still other threads running Am I missing anything important? Just one

RE: tomcat shutdown clarification

2012-08-14 Thread Davis, Chad
When I use the shutdown.sh script to stop tomcat, what happens? I am tempted to say Magic. That's good ;) BUT the JVM won't go down if there are still other threads running Am I missing anything important? Just one point: if the other threads are daemon threads, the JVM will

RE: tomcat shutdown clarification

2012-08-14 Thread Caldarale, Charles R
From: Davis, Chad [mailto:chad.da...@emc.com] Subject: RE: tomcat shutdown clarification And how does the -force option affect this? Will that kill the JVM regardless . . . Usually. The -force option will invoke kill -9 on the Tomcat pid if Tomcat doesn't stop in the specified time

Re: tomcat shutdown clarification

2012-08-14 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/14/12 3:20 PM, Caldarale, Charles R wrote: From: Davis, Chad [mailto:chad.da...@emc.com] Subject: RE: tomcat shutdown clarification And how does the -force option affect this? Will that kill the JVM regardless . . . Usually

Re: Tomcat Shutdown

2012-01-06 Thread Konstantin Kolinko
2012/1/7 Kamal Sheikh kama...@gmail.com: Hi, I'm new to this but please direct me if I'm posting to the wrong list. Our Tomcat has suddenly stopped working this morning and now wouldn't start -- it responds simply by saying: failed. What is in the logs? Maybe there is no free space on the

Re: Tomcat Shutdown

2012-01-06 Thread Kamal Sheikh
Thanks for the reply. I'm pasting some information from the logs: # # A fatal error has been detected by the Java Runtime Environment: # # Internal Error (safepoint.cpp:247), pid=306, tid=140562856904448 # guarantee(PageArmed == 0) failed: invariant # # JRE version: 6.0_20-b20 # Java VM:

RE: Tomcat Shutdown

2012-01-06 Thread Caldarale, Charles R
From: Kamal Sheikh [mailto:kama...@gmail.com] Subject: Re: Tomcat Shutdown I'm pasting some information from the logs: # A fatal error has been detected by the Java Runtime Environment: # Internal Error (safepoint.cpp:247), pid=306, tid=140562856904448 # guarantee(PageArmed == 0) failed

Re: Tomcat Shutdown

2012-01-06 Thread Kamal Sheikh
Thanks Chuck. Will try that. Appreciate your help. On Fri, Jan 6, 2012 at 4:51 PM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Kamal Sheikh [mailto:kama...@gmail.com] Subject: Re: Tomcat Shutdown I'm pasting some information from the logs: # A fatal error has been

Re: Tomcat shutdown issues

2011-06-11 Thread Rainer Jung
On 10.06.2011 16:55, Caldarale, Charles R wrote: From: April Easton [mailto:aeas...@shawneecourt.org] Subject: Tomcat shutdown issues I don't see any of my threads in there Look harder: Worker-JM prio=3D10 tid=3D0x5d7a1800 nid=3D0x521f in Object.wait() at

Re: Tomcat shutdown issues

2011-06-10 Thread Pid
On 10/06/2011 15:36, April Easton wrote: Good day, I've been working on closing all my threads in my applications that run on Tomcat. I recently upgraded to 7.0.14 to get better messages concerning why Tomcat wasn't shutting down properly. I have stopped all my servlets and threads,

RE: Tomcat shutdown issues

2011-06-10 Thread Caldarale, Charles R
From: April Easton [mailto:aeas...@shawneecourt.org] Subject: Tomcat shutdown issues I don't see any of my threads in there Look harder: Worker-JM prio=3D10 tid=3D0x5d7a1800 nid=3D0x521f in Object.wait() at

RE: Tomcat shutdown issues

2011-06-10 Thread April Easton
I just installed a plug-in to try and get YourKit going to find the leaks. I didn't realize that I had started Tomcat from inside Eclipse. I'll take out what I did. Thanks, April - To unsubscribe, e-mail:

RE: Tomcat shutdown issues

2011-06-10 Thread April Easton
Taking out what I did for the YourKit plug-in didn't help. Next, I shutdown my Eclipse and then started and stopped Tomcat on the server. The org.eclipse threads were still listed in the thread dump. I recently upgraded B.I.R.T. to version 2.2 on Tomcat and it uses osgi jar files. I'll look

Re: Tomcat shutdown

2011-02-01 Thread Konstantin Kolinko
2011/2/1 János Löbb janos.l...@yale.edu: It is Tomcat 6.0.29 on OSX 10.6.5.  If I ssh to the machine and shutdown Tomcat and later boot it back again, all those components which are using AWT are not usable.  However if I Apple Remote Desktop to the machine, open up Terminal there, shut

Re: Tomcat shutdown

2011-02-01 Thread János Löbb
Hi Konstantin, I see... :-) Thanks a lot, János On Feb 1, 2011, at 11:39 AM, Konstantin Kolinko wrote: 2011/2/1 János Löbb janos.l...@yale.edu: It is Tomcat 6.0.29 on OSX 10.6.5. If I ssh to the machine and shutdown Tomcat and later boot it back again, all those components which are

[OT] Re: Tomcat Shutdown suddenly / random

2010-04-18 Thread André Warnier
Carl wrote: ... Hi. Nothing to do with the subject, but I guess that either your workstation or your email forwarding system must be off by one hour, making your questions appear after the answer has already been given. This looks strange, and reminds me of a character in one of Terry

Re: Tomcat Shutdown suddenly / random

2010-04-17 Thread Kees Jan Koster
Dear All, I don't believe Tomcat has any System.exit calls in it, so you could grep your code looking for such calls. Note that findbugs can be used for that. It will issue a warning for code that calls System.exit(). -- Kees Jan http://java-monitor.com/ kjkos...@kjkoster.org 06-51838192

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Pid
On 16/04/2010 17:21, Peter Borkowski wrote: Hi folks, we are facing a serious problem with our tomcat which shuts itself down after some time of running. this problem first arises after we switched to our new server. we are using tomcat 6.0.26 (also tried different other 5.5.x, 6.0.x

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Harry Metske
Peter, could it be that something is sending your tomcat process a TERM signal, logfiles in /var/log might tell something ? or one of your applications issues a System.exit() under certain circumstances ? regards, Harry 2010/4/16 Peter Borkowski apocalyps...@gmx.de Hi folks, we are facing a

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry, On 4/16/2010 2:35 PM, Harry Metske wrote: could it be that something is sending your tomcat process a TERM signal, logfiles in /var/log might tell something ? or one of your applications issues a System.exit() under certain circumstances ?

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Carl
users@tomcat.apache.org Sent: Friday, April 16, 2010 3:58 PM Subject: Re: Tomcat Shutdown suddenly / random -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Harry, On 4/16/2010 2:35 PM, Harry Metske wrote: could it be that something is sending your tomcat process a TERM signal, logfiles in /var/log

Re: Tomcat Shutdown suddenly / random

2010-04-16 Thread Mark Thomas
On 16/04/2010 23:43, Carl wrote: I thought thta a System.exit call would kill the JVM and would therefore not show the clean shutdown in the logs that the OP is seeing... am I wrong about System.exit? Yes. It invokes the shutdown hook and that performs a clean shutdown. Mark

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 12:53 PM, Aggarwal, Ajay wrote: Sometimes on a busy system I have seen that catalina.sh stop does take a long time to shutdown tomcat. You might want to investigate why this is happening: my Tomcat instances (we have 4 in

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Hassan Schroeder
On Mon, Mar 8, 2010 at 9:53 AM, Aggarwal, Ajay ajay.aggar...@stratus.com wrote: What is  the downside of using SIGTERM, if any? It does seem to bring tomcat down in an orderly manner and much faster than catalina.sh stop. Yeah, seem to would be the operative phrase, I think. A leap off a

RE: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Aggarwal, Ajay
...@christopherschultz.net] Sent: Monday, March 08, 2010 1:33 PM To: Tomcat Users List Subject: Re: tomcat shutdown: catalina.sh STOP vs SIGTERM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 12:53 PM, Aggarwal, Ajay wrote: Sometimes on a busy system I have seen that catalina.sh stop

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Konstantin Kolinko
2010/3/8 Aggarwal, Ajay ajay.aggar...@stratus.com: When I send SIGTERM to tomcat, I actually do get Tomcat installs a shutdown hook into JVM so that it will shutdown gracefully. There is a problem though that if there are several shutdown hooks then they run in parallel. That is particularly

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 2:56 PM, Aggarwal, Ajay wrote: When I send SIGTERM to tomcat, I actually do get 1) these messages in my catalina.out Mar 8, 2010 2:46:05 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina

RE: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat shutdown: catalina.sh STOP vs SIGTERM I'm not sure why it would take 20-30 seconds for you to see the above message: it should be immediate. One possible cause is specifying a large heap size in JAVA_OPTS

Re: Tomcat shutdown issue

2010-02-22 Thread dBenjamin
Can you please suggest how to scan the port and check the port is used by other application. I am using socket programming to check the port this is right? awarnier wrote: As I believe someone already told you, there is no need to repeat every message twice. dBenjamin wrote: Tomcat

Re: Tomcat shutdown issue

2010-02-22 Thread André Warnier
dBenjamin wrote: Can you please suggest how to scan the port and check the port is used by other application. On what kind of system are you ? Anyway, shut down Tomcat, then use the netstat command. Depending on the system on which you are, there are options to this command. Choose one that

Re: Tomcat shutdown issue

2010-02-20 Thread André Warnier
As I believe someone already told you, there is no need to repeat every message twice. dBenjamin wrote: Tomcat not getting shutdown.. it shows the WARNING: StandardServer.await: Invalid command '' received can you pls find server.xml when I click shutdwon.bat server not listning it shows

RE: Tomcat shutdown issue

2010-02-19 Thread dBenjamin
Tomcat not getting shutdown.. it shows the WARNING: StandardServer.await: Invalid command '' received can you pls find server.xml when I click shutdwon.bat server not listning it shows WARNING: StandardServer.await: Invalid command '' received can you please help me to solve this issues..

Re: Tomcat shutdown automaticly after randomaly period of time

2009-12-22 Thread André Warnier
Tomcat1 wrote: hi, i have Tomcat 6.0.20. i config server.xml to work with SSL. the problem is that Tomcat shutdown after randomaly period of time and doesnt restart again. Hi. It is not very clear what your problem is. You have to be a bit more specific in your explanation. Also tell us on

Re: Tomcat shutdown automaticly after randomaly period of time

2009-12-21 Thread Zacheusz Siedlecki
I think it happens when another process else uses port 8443 : java.net.BindException: Address already in usenull:8443 Regards, Zacheusz On Tue, Dec 22, 2009 at 7:18 AM, Tomcat1 z...@amdocs.com wrote: hi, i have Tomcat 6.0.20. i config

Re: Tomcat shutdown issues

2009-12-18 Thread Pejus M. Das
Looks like your server started pretty quick. Are there any applications deployed? What url are you hitting when you get the reset exception. Do you see the tomcat start page? Pejus On Fri, Dec 18, 2009 at 8:10 PM, SRama su...@techie.com wrote: Hi I have some issues with tomcat, after

Re: Tomcat shutdown issues

2009-12-18 Thread Konstantin Kolinko
2009/12/18 SRama su...@techie.com: Hi I have some issues  with tomcat, after starting the tomcat when I give request to my application tomcat console showing the following error message.. Dec 18, 2009 2:59:23 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 3955 ms

Re: Tomcat shutdown issues

2009-12-18 Thread SRama
before starting the server I am checking both port address if any other applicaion using the same port I am dynamicaly chaning the shutdown port and http port. 2. I am not using AJP Connector and redirect port so I have removed. Can you think because of the issues comming? ?xml version=1.0

Re: Tomcat shutdown issues

2009-12-18 Thread SRama
Tomcat console Error message : Using CATALINA_BASE: C:\Users\x1\WDD\dpcdrom\tomcat Using CATALINA_HOME: C:\Users\x1\WDD\dpcdrom\tomcat Using CATALINA_TMPDIR: C:\Users\x1\WDD\dpcdrom\tomcat\temp Using JRE_HOME:C:\Users\x1\WDD\dpcdrom\java\JavaWin Dec 18, 2009 5:03:55

Re: Tomcat shutdown issues

2009-12-18 Thread SRama
I have depolyed my application it's working fine. but I am not able to shutdown... Pejus M. Das wrote: Looks like your server started pretty quick. Are there any applications deployed? What url are you hitting when you get the reset exception. Do you see the tomcat start page? Pejus

Re: Tomcat shutdown issues

2009-12-18 Thread Konstantin Kolinko
2009/12/19 SRama su...@techie.com: before starting the server I am checking both port address if any other applicaion using the same port I am dynamicaly chaning the shutdown port and http port. You won't be able to shutdown Tomcat using the shutdown script, if the script does not know what

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread André Warnier
CBy wrote: O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the JVM when Tomcat shuts down. My web service, however, uses a thread pool that is created via

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread CBy
Thanks for pointing me in the right direction André. A ServletContextListener fixed my problem. André Warnier wrote: CBy wrote: O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread André Warnier
CBy wrote: Thanks for pointing me in the right direction André. A ServletContextListener fixed my problem. My own contribution was minimal, and due mainly to the fact that I am eavesdropping on the real Tomcat experts conversations here and remembering some things, even if I never used them

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On 6/17/2009 4:33 AM, CBy wrote: O'Reilly's Tomcat The Definitive Guide advises me to invoke the setDaemon(true) method on any Thread object a web application creates to keep them from hanging the JVM when Tomcat shuts down. My web

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread CBy
Thank you, Christopher. It appears that I now have to ways to solve my problem. Calling shutdown() stops the threads orderly, so I think I'll opt for the ContextListener, although I am not 100% sure. Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On

Re: Tomcat shutdown problem due to running threads.

2009-06-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Carsten, On 6/17/2009 2:04 PM, CBy wrote: Thank you, Christopher. It appears that I now have to ways to solve my problem. Calling shutdown() stops the threads orderly, so I think I'll opt for the ContextListener, although I am not 100% sure. I'd

Re: tomcat shutdown problem

2009-04-28 Thread S Arvind
Pid thanks very much. We found the thread from the thread dump. Problem we did is we didnt shutdown the quartz scheduler. Now as per ur guidelines in the context listener we did that. It currently in testing phase. Thanks.. Many of lifes failure are people who did not realize how close they

Re: tomcat shutdown problem

2009-04-28 Thread Pid
S Arvind wrote: Pid thanks very much. We found the thread from the thread dump. Problem we did is we didnt shutdown the quartz scheduler. Now as per ur guidelines in the context listener we did that. It currently in testing phase. Thanks.. Good news. And now you know 2 things: how to diagnose

Re: tomcat shutdown problem

2009-04-27 Thread S Arvind
Is the application completely unchanged for deployment on Tomcat 6? yes it is completely *unchanged*... is anything must be changed for quartz? --Arvind S * Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Sat, Apr 25,

Re: tomcat shutdown problem

2009-04-27 Thread Pid
S Arvind wrote: Is the application completely unchanged for deployment on Tomcat 6? yes it is completely *unchanged*... is anything must be changed for quartz? okay, then your best bet is to explore what the JVM is doing after shutdown and check which threads are still running. p --Arvind

Re: tomcat shutdown problem

2009-04-27 Thread Dan Armbrust
Did you write your application? there are team of 200 Engineers wrote that application so i dont know where the problem is One (or more) of them made a mistake, and has left a non-daemon thread running. You need to find out what thread is running. One way to do this is to get a thread dump.

Re: tomcat shutdown problem

2009-04-27 Thread S Arvind
Pid very thanks for guiding me .. one more help alone... can u please tell me how to check which thread it is runnin by quartz other then checking code ... i am centos, jvm 5, tomcat 5 and tomcat 6.. i think i am disturbin u lot, but ... -Arvind S * Many of lifes failure are people who did

Re: tomcat shutdown problem

2009-04-27 Thread Pid
S Arvind wrote: Pid very thanks for guiding me .. one more help alone... can u please tell me how to check which thread it is runnin by quartz other then checking code ... i am centos, jvm 5, tomcat 5 and tomcat 6.. i think i am disturbin u lot, but ... As Dan said, kill -QUIT pid, and as

Re: tomcat shutdown problem

2009-04-25 Thread Pid
S Arvind wrote: A wierd problem occur while shutdowning the tomcat 6 in the Fedora and Centos. Usually i use shell file to shutdown. After shutting down when see the postgre preocess by [code]*ps -ef | grep java*[/code] it is still showing the process as running. such as [code]

Re: tomcat shutdown problem

2009-04-25 Thread S Arvind
Thanks pid... Can u able to give me more idea to solve it if possible.. Thanks, Arvind S *Many of lifes failure are people who did not realize how close they were to success when they gave up. -Thomas Edison * On Sat, Apr 25, 2009 at 2:00 PM, Pid p...@pidster.com wrote: S Arvind wrote: A

Re: tomcat shutdown problem

2009-04-25 Thread Pid
S Arvind wrote: Thanks pid... Can u able to give me more idea to solve it if possible.. Did you write your application? Are you using Quartz in your application? Are you starting new Threads in your app? When you have started and stopped the application a few times are there still multiple

Re: tomcat shutdown problem

2009-04-25 Thread S Arvind
Did you write your application? there are team of 200 Engineers wrote that application so i dont know where the problem is Are you using Quartz in your application? yeah we have quartz scheduler in our application. But when we run in Tomcat 5 we dont have this kind of problem Are you starting

Re: tomcat shutdown problem

2009-04-25 Thread Pid
Please do not keep using reply to all. It is annoying and unnecessary. I will obviously receive a copy of the mail if you just send a reply to the list. Did you write your application? there are team of 200 Engineers wrote that application so i dont know where the problem is Are you using

RE: tomcat shutdown problem

2009-04-25 Thread Martin Gainty
responsabilité pour le contenu fourni. From: arvindw...@gmail.com Date: Sat, 25 Apr 2009 14:07:25 +0530 Subject: Re: tomcat shutdown problem To: users@tomcat.apache.org; p...@pidster.com Thanks pid... Can u able to give me more idea to solve it if possible.. Thanks, Arvind S

Re: Tomcat Shutdown

2009-03-10 Thread André Warnier
AlexElba wrote: Hello, Are they any static variables that tomcat will set when user will try to shutdown tomcat? And how do you think a user would try to do that ? And just assuming the user would succeed in such an attempt, and Tomcat would shutdown, what good would it do if it set a static

RE: Tomcat Shutdown

2009-03-10 Thread Caldarale, Charles R
From: André Warnier [mailto:a...@ice-sa.com] Subject: Re: Tomcat Shutdown (I also have this lingering doubt about the very wisdom of setting a static variable, but that may just be my lack of Java knowledge). No lingering needed; the very concept smacks of bad C programming... highly

RE: Tomcat Shutdown

2009-03-10 Thread Aleksandr Elbakyan
So how to ping to application so that tomcat is going to be shutdown? --- On Tue, 3/10/09, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: Caldarale, Charles R chuck.caldar...@unisys.com Subject: RE: Tomcat Shutdown To: Tomcat Users List users@tomcat.apache.org Date: Tuesday

RE: Tomcat Shutdown

2009-03-10 Thread Caldarale, Charles R
From: Aleksandr Elbakyan [mailto:ramal...@yahoo.com] Subject: RE: Tomcat Shutdown So how to ping to application so that tomcat is going to be shutdown? I'm not sure I understand your question. When Tomcat receives a shutdown request (message on the shutdown port, ctrl-c on Windows

Re: Tomcat Shutdown

2009-03-10 Thread Kees Jan Koster
Dear Aleksandr, So how to ping to application so that tomcat is going to be shutdown? http://java.sun.com/javaee/5/docs/api/javax/servlet/ServletContextListener.html Register it in web.xml -- Kees Jan http://java-monitor.com/forum/ kjkos...@kjkoster.org 06-51838192 The secret of success

Re: Tomcat shutdown script initiates Heap dump collection

2009-01-22 Thread Prakash Nathan1
Hi Andre I could not execute the following in my production server echo catalina.sh : JAVA_OPTS = $JAVA_OPTS /var/log/tomcat_debug_file.log Here is how I start the tomcat services /opt/app/tomcat/public1/bin/startup.sh I was checking all the file the startup.sh uses startup.sh includes

RE: Tomcat shutdown script initiates Heap dump collection

2009-01-14 Thread Prakash Nathan1
Hi Chuck In catalina.sh file, I could see that JAVA_OPTS and CATALINA_OPTS are being referenced as follows.. exec $_RUNJDB $JAVA_OPTS $CATALINA_OPTS \... However, the value for JAVA_OPTS is not defined in catalina.sh As I had already mentioned, ONLY CATALINA_OPTS are defined in setenv.sh

Re: Tomcat shutdown script initiates Heap dump collection

2009-01-14 Thread André Warnier
Prakash Nathan1 wrote: Hi Chuck In catalina.sh file, I could see that JAVA_OPTS and CATALINA_OPTS are being referenced as follows.. exec $_RUNJDB $JAVA_OPTS $CATALINA_OPTS \... However, the value for JAVA_OPTS is not defined in catalina.sh As I had already mentioned, ONLY CATALINA_OPTS are

RE: Tomcat shutdown script initiates Heap dump collection

2009-01-13 Thread Prakash Nathan1
Thanks Chuck Here are the environment details Apache Tomcat/4.1.27 JVM/JDK: 1.4.2_06 Platform: OS Red Hat Enterprise Linux AS release 3 (Taroon Update 5) Where Can I get the JVM setting configured for running Tomcat? Are you refering to setenv.sh ? CATALINA_OPTS='-Xms512M -Xmx1536M Please

RE: Tomcat shutdown script initiates Heap dump collection

2009-01-13 Thread Caldarale, Charles R
From: Prakash Nathan1 [mailto:mrap...@yahoo.com] Subject: RE: Tomcat shutdown script initiates Heap dump collection Where Can I get the JVM setting configured for running Tomcat? Are you refering to setenv.sh ? CATALINA_OPTS='-Xms512M -Xmx1536M That is one variable you can use; the other

RE: Tomcat shutdown script initiates Heap dump collection

2009-01-12 Thread Caldarale, Charles R
From: Prakash Nathan1 [mailto:mrap...@yahoo.com] Subject: Tomcat shutdown script initiates Heap dump collection Things you didn't bother to tell us: 1) Tomcat version you're using. 2) JRE/JDK version you're using. 3) Platform you're running on. Would you like us to guess? Heap Dumps are

Re: Tomcat ./shutdown

2009-01-07 Thread Kees Jan Koster
Dear Thinh, I use apache-tomcat-5.5.17 and sometimes when I call ./shutdown.sh, the java process which runs Tomcat still alive. Because this java process is still alive, the next call ./startup.sh does not work. Thus, I have to kill this Java process first. Could you please give me a

Re: Tomcat ./shutdown

2009-01-07 Thread Dennis Thrysøe
On 7Jan, 2009, at 16:11, l...@informatik.uni-hamburg.de wrote: Hello, I use apache-tomcat-5.5.17 and sometimes when I call ./shutdown.sh, the java process which runs Tomcat still alive. Because this java process is still alive, the next call ./startup.sh does not work. Thus, I have to

RE: Tomcat ./shutdown

2009-01-07 Thread Caldarale, Charles R
From: l...@informatik.uni-hamburg.de [mailto:l...@informatik.uni-hamburg.de] Subject: Tomcat ./shutdown I use apache-tomcat-5.5.17 and sometimes when I call ./shutdown.sh, the java process which runs Tomcat still alive. The usual cause of this is non-daemon threads improperly managed by a

Re: Tomcat ./shutdown

2009-01-07 Thread Gregor Schneider
Sometime there's an even more simple solution to it: Some applications just take ages when they're shut down. Very nice example for this is Apache Roller. Shutting down Tomcat without Roller goes instantly, shutting down Tomcat with Roller takes up to 5 minutes. So what happens if you shut down

Re: Tomcat Shutdown Port as Variable

2008-10-15 Thread Rainer Jung
[EMAIL PROTECTED] wrote: Hi All - I have quite a few installs of Tomcat on the same server (same CATALINA_HOME, different CATALINA_BASE), and I am interested in making my configs a little more portable. I'm trying to make certain unique items in my server.xml variable ( ${variablename} ),

RE: Tomcat Shutdown Port as Variable

2008-10-15 Thread Martin Gainty
a shame that you cant specify that attribute via %JAVA_OPTS% maybe look at writing a set_8005 script which writes that specific_port to %TOMCAT_HOME%/conf/server.xml should be fine as long as you execute the script before starting TC .. any other suggestions? Martin Gainty

RE: Tomcat Shutdown Port as Variable

2008-10-15 Thread Caldarale, Charles R
From: Martin Gainty [mailto:[EMAIL PROTECTED] Subject: RE: Tomcat Shutdown Port as Variable a shame that you cant specify that attribute via %JAVA_OPTS% As Rainer already pointed out, you can; the shutdown script does not use CATALINA_OPTS, but it does honor JAVA_OPTS. - Chuck

Re: Tomcat Shutdown Port as Variable

2008-10-15 Thread AFaller
I have quite a few installs of Tomcat on the same server (same CATALINA_HOME, different CATALINA_BASE), and I am interested in making my configs a little more portable. I'm trying to make certain unique items in my server.xml variable ( ${variablename} ), being pulled from my

Re: Tomcat shutdown event

2008-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 To whom it may concern, Tom Cat wrote: I have a servelet spawn a thread that should run until tomcat is shutdown. The problem is, when Tomcat is shut down, the thread keeps running. You need to define your thread as a daemon thread and it won't

Re: Tomcat shutdown event

2008-09-13 Thread Johnny Kewl
- Original Message - From: Tom Cat [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Saturday, September 13, 2008 1:13 AM Subject: Tomcat shutdown event Hello, I have a servelet spawn a thread that should run until tomcat is shutdown. The problem is, when Tomcat

Re: Tomcat shutdown event

2008-09-12 Thread Konstantin Kolinko
2008/9/13 Tom Cat [EMAIL PROTECTED]: I have a servlet spawn a thread that should run until tomcat is shutdown. The problem is, when Tomcat is shut down, the thread keeps running. Does Tomcat have a shutdown event that I could use to trigger the thread destruction? If not, is there any

RE: Tomcat Shutdown error transport error 202: bind failed

2008-01-16 Thread varunsuresh
I tired not giving $JPDA_OPTS to CATALINA_OPTS, but after that debugging wasnt hapenning at all. Caldarale, Charles R wrote: From: varunsuresh [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Shutdown error transport error 202: bind failed export CATALINA_OPTS=$CATALINA_OPTS

RE: Tomcat Shutdown error transport error 202: bind failed

2008-01-11 Thread Caldarale, Charles R
From: varunsuresh [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat Shutdown error transport error 202: bind failed export CATALINA_OPTS=$CATALINA_OPTS $JPDA_OPTS The above is wrong. By appending JPDA_OPTS to CATALINA_OPTS, you end up with the JPDA settings twice on the command line. Just

Re: Tomcat Shutdown error transport error 202: bind failed

2008-01-11 Thread varunsuresh
markt-2 wrote: varunsuresh wrote: These are my debug options -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n How are you setting these? Using JPDA_TRANSPORT etc works for me. Mark This is how i set them export

Re: Tomcat Shutdown error transport error 202: bind failed

2008-01-10 Thread Mark Thomas
varunsuresh wrote: These are my debug options -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=,server=y,suspend=n How are you setting these? Using JPDA_TRANSPORT etc works for me. Mark -

RE: Tomcat Shutdown Unexpectedly

2006-05-16 Thread Sean2006
Dan, Have you found a solution to this problem? Thanks, Sep. -- View this message in context: http://www.nabble.com/Tomcat-Shutdown-Unexpectedly-t1598450.html#a4416594 Sent from the Tomcat - User forum at Nabble.com. - To

  1   2   >