.
When I rolling update pods with new image in k8s, there are must be newly
created pods and terminating pods.
And in terminating pods, Spring Boot are in graceful shutdown phase, so new
connection to these will got RST packet by tomcat embed I guess.
In additional, after graceful shutdown phase
Fantastic. Thanks! :)
On Tue, Jun 28, 2016 at 2:43 PM, Mark Thomas wrote:
> On 28/06/2016 19:39, Coty Sutherland wrote:
>> Hello all,
>>
>> I've been poking around with the Fedora distribution of tomcat and
>> noticed that systemd isn't allowing tomcat to gracefully shutdown
On 28/06/2016 19:39, Coty Sutherland wrote:
> Hello all,
>
> I've been poking around with the Fedora distribution of tomcat and
> noticed that systemd isn't allowing tomcat to gracefully shutdown (it
> sends an immediate SIGKILL after the Boostrap stop is called). That
> isn't your issue, but in
Hello all,
I've been poking around with the Fedora distribution of tomcat and
noticed that systemd isn't allowing tomcat to gracefully shutdown (it
sends an immediate SIGKILL after the Boostrap stop is called). That
isn't your issue, but in trying to mediate the issue so that session
persistence
Hi Chris,
I did some more troubleshooting by enabling Tomcat debug logs. It turns out
that the class loading is failing due to FileNotFoundException for
antlr-runtime.jar file. I am not sure why is that the case since I can see
that jar file at the location mentioned.
Feb 10, 2016 10:00:24 AM
Hi Chris,
Thanks for the response.
>>This looks like a different issue than you originally reported. Has
that other issue gone away? Or is this the root cause of the
originally-reported issue?
I think it is the root cause for the original issue. As per my
understanding, the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hdishikesh,
On 2/10/16 2:12 PM, Hrishikesh Gadre wrote:
> Hi Chris,
>
> I did some more troubleshooting by enabling Tomcat debug logs. It
> turns out that the class loading is failing due to
> FileNotFoundException for antlr-runtime.jar file. I am
Hi Chris,
I added a check to see if this jar file exists (and is readable) both
inside the ServletFilter init(...) and destroy(...) methods. Most of the
times the check passes. But when I get NoClassDefFoundError, I see that
check is passing during invocation of init(...) method but not during
Oh BTW the jar file still exits on the filesystem (i.e. its not being
touched during the execution of Tomcat).
On Wed, Feb 10, 2016 at 6:31 PM, Hrishikesh Gadre
wrote:
> Hi Chris,
>
> I added a check to see if this jar file exists (and is readable) both
> inside the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hrishikesh,
On 2/8/16 9:50 AM, Christopher Schultz wrote:
> Hrishikesh,
>
> On 2/6/16 1:17 PM, Hrishikesh Gadre wrote:
>> Thanks for the reply. Let me try this out. But do you think its a
>> bug in Tomcat ?
>
> No. There's nothing Tomcat can do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hrishikesh,
On 2/8/16 9:50 AM, Christopher Schultz wrote:
> Hrishikesh,
>
> On 2/6/16 1:17 PM, Hrishikesh Gadre wrote:
>> Thanks for the reply. Let me try this out. But do you think its
>> a bug in Tomcat ?
>
> No. There's nothing Tomcat can do
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hrishikesh,
On 2/6/16 1:17 PM, Hrishikesh Gadre wrote:
> Thanks for the reply. Let me try this out. But do you think its a
> bug in Tomcat ?
No. There's nothing Tomcat can do about this, aside from allowing your
application to load /more/ classes on
ch...@christopherschultz.net> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hrishikesh,
>
> On 2/5/16 6:57 PM, Hrishikesh Gadre wrote:
> > We are getting NoClassDefFoundErrors during Tomcat graceful
> > shutdown process (i.e. using "catalina.sh stop" command
Hi,
We are getting NoClassDefFoundErrors during Tomcat graceful shutdown
process (i.e. using "catalina.sh stop" command). We are using Tomcat with
version 6.0.44. Note that this error can not be reproduced consistently. I
found following article on the stackoverflow.com which sugg
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hrishikesh,
On 2/5/16 6:57 PM, Hrishikesh Gadre wrote:
> We are getting NoClassDefFoundErrors during Tomcat graceful
> shutdown process (i.e. using "catalina.sh stop" command). We are
> using Tomcat with version 6.0.44. Note
Hi,
Does Tomcat server support Graceful Shutdown (like all other App Servers:
Weblogic, Websphere), where new requests are rejected, and the server finishes
in-flight work on existing requests?
Something like the apachectl -k graceful, but instead to restart to stop the
server.
Tomcat 8.0.9
On 30/07/2014 12:24, Ron Holckener wrote:
Hi,
Does Tomcat server support Graceful Shutdown (like all other App Servers:
Weblogic, Websphere), where new requests are rejected, and the server
finishes in-flight work on existing requests?
Something like the apachectl -k graceful, but instead
This behavior exists using the regular shutdown.sh script?
Is the timeout (10s) configurable?
Thanks,
Ron Holckener
-Original Message-
From: Mark Thomas [mailto:ma...@apache.org]
Sent: Wednesday, July 30, 2014 3:50 PM
To: Tomcat Users List
Subject: Re: Graceful Shutdown
On 30/07/2014
PM
To: Tomcat Users List
Subject: Re: Graceful Shutdown
On 30/07/2014 12:24, Ron Holckener wrote:
Hi,
Does Tomcat server support Graceful Shutdown (like all other App Servers:
Weblogic, Websphere), where new requests are rejected, and the server
finishes in-flight work on existing
30.07.2014 16:19, Ron Holckener пишет:
This behavior exists using the regular shutdown.sh script?
Is the timeout (10s) configurable?
Thanks,
Ron Holckener
./$CATALINA_HOME/bin/catalina.sh stop 30
(30 sec. wait)
Don't remember same option inside shutdown.sh, but anyway - it call
30
(30 sec. wait)
Don't remember same option inside shutdown.sh, but anyway - it
call catalina.sh with stop option.
catalina.sh stop 30 will only wait 30 seconds to check to see if the
process stopped: it will not force a shutdown.
Under default setup, Tomcat will only perform a graceful
to check to see if the
process stopped: it will not force a shutdown.
Under default setup, Tomcat will only perform a graceful shutdown.
That is, no explicit process termination will occur. A SHUTDOWN
command is sent to the server which will pause the connectors (so they
will not accept new connections
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Igal,
On 7/30/14, 11:22 PM, Igal @ getRailo.org wrote:
will -force work even if the JVM has a running non-daemon thread?
In my experience, kill -9 is fairly effective.
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1
Comment: GPGTools -
31.07.2014 6:19, Christopher Schultz пишет:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Arseny,
On 7/30/14, 4:13 PM, Arseny wrote:
30.07.2014 16:19, Ron Holckener пишет:
This behavior exists using the regular shutdown.sh script? Is the
timeout (10s) configurable?
Thanks, Ron Holckener
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Arseny,
On 7/31/14, 12:29 AM, Arseny wrote:
31.07.2014 6:19, Christopher Schultz пишет:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Arseny,
On 7/30/14, 4:13 PM, Arseny wrote:
30.07.2014 16:19, Ron Holckener пишет:
This behavior exists
W
hen I stop the tomcat by calling the shutdown.sh script or sending SIGTERM
signal to the java process it's throwing the following exception and the
shutdown get hung.
INFO: Destroying ProtocolHandler [http-bio-80]
Jul 11, 2013 10:01:58 AM org.apache.catalina.util.LifecycleMBeanBase
unregister
From: Prakash P [mailto:prakash@gmail.com]
Subject: Tomcat 7.0.27 graceful shutdown fails
When I stop the tomcat by calling the shutdown.sh script or sending SIGTERM
signal to the java process it's throwing the following exception and the
shutdown get hung.
And a thread dump shows
Prakash P wrote:
W
hen I stop the tomcat by calling the shutdown.sh script or sending SIGTERM
signal to the java process it's throwing the following exception and the
shutdown get hung.
INFO: Destroying ProtocolHandler [http-bio-80]
Jul 11, 2013 10:01:58 AM
Caldarale, Charles R wrote:
From: Prakash P [mailto:prakash@gmail.com]
Subject: Tomcat 7.0.27 graceful shutdown fails
Ooops.
When I stop the tomcat by calling the shutdown.sh script or sending SIGTERM
signal to the java process it's throwing the following exception and the
shutdown get
On 21/03/2011 02:15, Igor Cicimov wrote:
Hi,
I'm running Tomcat 6.0.26 on Solaris 10 and have a question about what
exactly happens during Tomcat graceful shutdown? I guess first thing it does
is stop accepting new sessions on the listening ports.
Sessions aren't received on ports, requests
of course)
Igor
On Mon, Mar 21, 2011 at 8:07 PM, Mark Thomas ma...@apache.org wrote:
On 21/03/2011 02:15, Igor Cicimov wrote:
Hi,
I'm running Tomcat 6.0.26 on Solaris 10 and have a question about what
exactly happens during Tomcat graceful shutdown? I guess first thing it
does
is stop
From: Igor Cicimov [mailto:icici...@gmail.com]
Subject: Re: Tomcat 6 graceful shutdown
What can I do to trouble shoot this and find exactly where
the problem is? (except taking stack trace on the hanged
process of course)
Taking a thread dump is pretty much the only way. Other than
Hi,
I'm running Tomcat 6.0.26 on Solaris 10 and have a question about what
exactly happens during Tomcat graceful shutdown? I guess first thing it does
is stop accepting new sessions on the listening ports. Sessions only or it
stops accepting new requests from the already established sessions
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Marcoi,
On 10/5/2009 8:07 AM, Marcoi wrote:
I have a servlet with the following code:
for (int i = 0; i 50; i++) {
System.out.println(waiting + i);
Thread.currentThread().sleep(500); } PrintWriter writer
--
View this message in context:
http://www.nabble.com/shutdown.sh-and-graceful-shutdown-tp25749596p25771598.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
see it only waited for 3 seconds before taking down the server
instead to let the request end is there a way to configure how long to
wait?
Thanks
Marco
--
View this message in context:
http://www.nabble.com/shutdown.sh-and-graceful-shutdown-tp25749596p25749596.html
Sent from the Tomcat
On Mon, 2008-07-07 at 00:10 -0700, Antonio Parolini wrote:
Hi, Ben
1) Define a status worker [1] and one (or more) workers.
Interresting. Will this status worker thing work -without- a webserver as
Frontend (like Apache) ?
Hi Antonio,
No, to the best of my knowledge, you need to be
/ before shuting down the
server.
-antonio
--
View this message in context:
http://www.nabble.com/Graceful-shutdown-tp18274673p18311209.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To start a new topic
@tomcat.apache.org Subject:
Graceful shutdown Hello, We use Tomcat 5.5.23 Using the command
catalina.sh stop interrupts abruptly any working servlet threads and stop
Tomcat. Is there a way of shutting tomcat gracefully? For me, an example
of graceful shutdown would be: 1) The HTTP connector stop
Hello,
We use Tomcat 5.5.23
Using the command catalina.sh stop interrupts abruptly any working servlet
threads and stop Tomcat.
Is there a way of shutting tomcat gracefully?
For me, an example of graceful shutdown would be:
1) The HTTP connector stop accepting new requests
2) Tomcat wait
On Fri, 2008-07-04 at 00:54 -0700, Antonio Parolini wrote:
Hello,
We use Tomcat 5.5.23
Using the command catalina.sh stop interrupts abruptly any working servlet
threads and stop Tomcat.
Is there a way of shutting tomcat gracefully?
For me, an example of graceful shutdown would
Try using shutdown.sh and startup.sh to start and stop Tomcat.
Walter
-Original Message-
From: Antonio Parolini [mailto:[EMAIL PROTECTED]
Sent: Friday, July 04, 2008 2:54 AM
To: users@tomcat.apache.org
Subject: Graceful shutdown
Hello,
We use Tomcat 5.5.23
Using the command
42 matches
Mail list logo