Hello Peter,
> -Ursprüngliche Nachricht-
> Von: l...@kreuser.name
> Gesendet: Donnerstag, 11. Mai 2023 16:16
> An: Tomcat Users List
> Betreff: Re: Java Agent and Tomcat shutdown
>
> Hi Thomas
>
> > Am 11.05.2023 um 16:05 schrieb Thomas Hoffmann (Speed
Hi Thomas
> Am 11.05.2023 um 16:05 schrieb Thomas Hoffmann (Speed4Trade GmbH)
> :
>
> Hello,
>
> we are using a java agent to start a listening process (JMX proxy).
>
> The systemd file for tomcat looks like (snippet):
> JAVA_OPTS=... -javaagent:/opt/runtime/jmxagent/jmxagent.jar
>
Hello,
we are using a java agent to start a listening process (JMX proxy).
The systemd file for tomcat looks like (snippet):
JAVA_OPTS=... -javaagent:/opt/runtime/jmxagent/jmxagent.jar
-Dorg.goktay.rmiregistry.port=15000 -Dorg.goktay.rmiserver.port=15001
Fernández
Sent: Monday, June 8, 2020 3:42 AM
To: Tomcat Users List
Subject: [EXTERNAL] Re: Ensuring clean Tomcat shutdown
Hello Amit,
Well, your approach will work. Personally, I do not like very much to parse
logs. We, for instance, in our tomcat instances we provide an application tha
rencesThreads The
> web application [AAA] appears to have started a thread named [BBB] but has
> failed to stop it. This is very likely to create a memory leak. Stack trace
> of thread:"
>
> I wanted to ensure a clean Tomcat shutdown and thinking of an automated
> test:
>
ailed
to stop it. This is very likely to create a memory leak. Stack trace of thread:"
I wanted to ensure a clean Tomcat shutdown and thinking of an automated test:
1. Stop Tomcat
2. Parse/grep Catalina logs for warnings like above
3. If found, fail the test, if not pass
Is ther
-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
вс, 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
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
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
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
-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
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
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
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?
Thanks,
Bob
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
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
>
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
connection pool before the cxf services or the quartz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Amit,
On 9/17/16 9:41 AM, Amit Pande wrote:
> This might not be the right forum to ask this question. Yet wanted
> to if anyone faced this issue.
>
> Our application uses Jacorb library to talk to legacy daemons over
> CORBA.
>
> However while
This might not be the right forum to ask this question. Yet wanted to if
anyone faced this issue.
Our application uses Jacorb library to talk to legacy daemons over CORBA.
However while stopping the Tomcat, observing following errors. They are from
the jacrob.jar ..but not sure how to prevent
I'm receiving the following errors when shutting down tomcat7 and it may be a
clue to my software that runs on tomcat. Any suggestions? Thanks in advance,
Aug 24, 2016 12:34:12 PM org.apache.catalina.startup.Catalina stopServer
SEVERE: Could not contact localhost:8005. Tomcat may not be
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
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
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
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 waiting on
an external resource such as a jdbc connection),
Hello,
I am having an issue with Tomcat shutdown. Requests arriving while the
servlet container is shutting down seem to be held up by the connector
until container shutdown finishes. The shutdown sequence appears to be: (1)
pause connectors, (2) stop containers, (3) stop connectors. I have
-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
Hi,
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 ?
--
Thanks and Regards,
Vimal Jain
2013/5/19 Nick Williams nicho...@nicholaswilliams.net:
On May 19, 2013, at 10:01 AM, Caldarale, Charles R wrote:
From: Nick Williams [mailto:nicho...@nicholaswilliams.net]
Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat
shutdown (memory leak, it looks like)
Log4j 1
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/19/13 11:25 AM, Nick Williams wrote:
Unfortunately, requiring users to call System.gc() before shutdown
for logging to work properly is no better than requiring users to
register a listener in a web application for logging to work
On May 20, 2013, at 10:56 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/19/13 11:25 AM, Nick Williams wrote:
Unfortunately, requiring users to call System.gc() before shutdown
for logging to work properly is no better than requiring users to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/20/13 12:48 PM, Nick Williams wrote:
On May 20, 2013, at 10:56 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Nick,
On 5/19/13 11:25 AM, Nick Williams wrote:
Unfortunately, requiring users to
On May 20, 2013, at 2:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/20/13 12:48 PM, Nick Williams wrote:
On May 20, 2013, at 10:56 AM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Nick,
On 5/19/13
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/20/13 4:10 PM, Nick Williams wrote:
On May 20, 2013, at 2:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Nick,
On 5/20/13 12:48 PM, Nick Williams wrote:
On May 20, 2013, at 10:56 AM,
On May 20, 2013, at 4:39 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nick,
On 5/20/13 4:10 PM, Nick Williams wrote:
On May 20, 2013, at 2:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Nick,
On 5/20/13
On 5/20/2013 2:45 PM, Nick Williams wrote:
On May 20, 2013, at 4:39 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256
Nick,
On 5/20/13 4:10 PM, Nick Williams wrote:
On May 20, 2013, at 2:59 PM, Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
On 19/05/2013 05:57, Nick Williams wrote:
Can one of the very knowledgeable developers that have been
discussing memory leaks in the last few days (re: Possible
false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC
Pool and OracleTimeoutPollingThread) chime in on this Log4j 2
On May 19, 2013, at 3:33 AM, Mark Thomas wrote:
On 19/05/2013 05:57, Nick Williams wrote:
Can one of the very knowledgeable developers that have been
discussing memory leaks in the last few days (re: Possible
false-postive with JreMemoryLeakPreventionListener and Tomcat's JDBC
Pool and
From: Nick Williams [mailto:nicho...@nicholaswilliams.net]
Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown
(memory leak, it looks like)
Log4j 1 never required a listener to be configured to be shut down
properly when an application is undeployed.
What bearing
On May 19, 2013, at 10:01 AM, Caldarale, Charles R wrote:
From: Nick Williams [mailto:nicho...@nicholaswilliams.net]
Subject: Re: LOG4J2-223: IllegalStateException thrown during Tomcat shutdown
(memory leak, it looks like)
Log4j 1 never required a listener to be configured to be shut
Can one of the very knowledgeable developers that have been discussing memory
leaks in the last few days (re: Possible false-postive with
JreMemoryLeakPreventionListener and Tomcat's JDBC Pool and
OracleTimeoutPollingThread) chime in on this Log4j 2 bug [1]?
Log4j 2 appears to be registering a
When I use the shutdown.sh script to stop tomcat, what happens?
My understanding is as follows, please correct where wrong.
Each of the Servlet Context's, aka web apps, will have their stop lifecycle
methods invoked. Tomcat itself will stop it's own mechanisms, such as port
listeners, etc.
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
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
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
-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
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.
Is there anything going on with OpenJDK and Tomcat?
Here's our configuration:
Java:
java version
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
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:
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
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
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
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, but I'm still having trouble. Below is the
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,
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
org.eclipse.core.internal.jobs.InternalWorker.run
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:
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
On 2/28/2011 8:18 PM, Mark Thomas wrote:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/security/SecurityListener.java?view=annotate
This is brand new, isn't it? I can't find it in the 7.0.8 sources.
So it may throw a java.lang.Error at Lifecycle.BEFORE_INIT_EVENT
time but
On 01/03/2011 13:52, Olivier Lefevre wrote:
On 2/28/2011 8:18 PM, Mark Thomas wrote:
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/security/SecurityListener.java?view=annotate
This is brand new, isn't it? I can't find it in the 7.0.8 sources.
Yes.
So it may throw a
On 3/1/2011 2:57 PM, Mark Thomas wrote:
Providing you throw an Error, Tomcat is guaranteed not to start.
OK! Just to be 100% clear, this is a Tomcat thing, not a servlet
spec thing, right? Just wondering whether it's portable.
-- O.L.
On 01/03/2011 14:46, Olivier Lefevre wrote:
On 3/1/2011 2:57 PM, Mark Thomas wrote:
Providing you throw an Error, Tomcat is guaranteed not to start.
OK! Just to be 100% clear, this is a Tomcat thing, not a servlet
spec thing, right? Just wondering whether it's portable.
Yes, this is Tomcat
From: Olivier Lefevre [mailto:lefev...@yahoo.com]
Subject: Re: Getting the Tomcat shutdown port
Just to be 100% clear, this is a Tomcat thing, not a servlet
spec thing, right? Just wondering whether it's portable.
Anything using an org.apache class is Tomcat-specific, and therefore
On 3/1/2011 3:54 PM, Caldarale, Charles R wrote:
Anything using an org.apache class is Tomcat-specific, and
therefore not portable.
Oh, right. I had not picked up that LifecycleListener itself is
a Catalina class.
Still, the basic issue is not about the listener per se but how
the app server
Is there a programmatic way to retrieve it from within
a webapp, more exactly from within Servlet.init()? I
can't find one. Same question for the actual command.
As you may have guessed, I want to shut down Tomcat by
opening a socket and sending it a SHUTDOWN or whatever.
Maybe there is a less
On 28/02/2011 15:34, Olivier Lefevre wrote:
Is there a programmatic way to retrieve it from within
a webapp, more exactly from within Servlet.init()? I
can't find one. Same question for the actual command.
As you may have guessed, I want to shut down Tomcat by
opening a socket and sending
Doing this from a servlet begs the question how you are going
to restart it.
Not an issue: I want to shut it down at startup if some needed
resources cannot be found. No pint restarting it then.
I'm also curious why you want tot do this but System.exit() will
have exactly the same result as
On 28/02/2011 16:12, Olivier Lefevre wrote:
Doing this from a servlet begs the question how you are going
to restart it.
Not an issue: I want to shut it down at startup if some needed
resources cannot be found. No pint restarting it then.
Fair enough. I wouldn't do it in a Servlet.init()
Your application may be on a shared Tomcat instance someday
and System.exit is really bad in that case.
True. So let's kill the servlet instead. But it's still unclear
how you'd do that because from the ServletConfig you can get the
ServletContext but from the ServletContext you can no longer
On 28/02/2011 16:59, Olivier Lefevre wrote:
Your application may be on a shared Tomcat instance someday
and System.exit is really bad in that case.
True. So let's kill the servlet instead.
If you want to stop a single Servlet then Servlet.init() is the place to
it. See section 2.3.2 of the
From: Olivier Lefevre [mailto:lefev...@yahoo.com]
Subject: Re: Getting the Tomcat shutdown port
Your application may be on a shared Tomcat instance someday
and System.exit is really bad in that case.
So let's kill the servlet instead.
The servlet, or the webapp?
But it's still unclear
On 2/28/2011 6:06 PM, Mark Thomas wrote:
If you want to stop a single Servlet then Servlet.init() is the
place to it. See section 2.3.2 of the Servlet 3.0 spec.
I.e., the exception throwing approach suggested by C. Caldarale in
the next answer. Yes, it's neat. So I was overcomplicating it.
On 28/02/2011 19:13, Olivier Lefevre wrote:
I know it's an interface I have to implement but without some
concrete class close to my problem to look at for guidance
LifecycleListener in and of itself does not help me much.
Ah, OK. Try this:
On 2/28/2011 6:09 PM, Caldarale, Charles R wrote:
The servlet, or the webapp?
The webapp in this case: the servlet that might fail is the
worker servlet, the others more in a supporting role (e.g.,
UI). So if it fails the whole webapp should shut down.
Why don't you simply throw a
Hi,
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 down Tomcat and start it up, all AWT
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
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
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
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
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
versions).
the old server was a 32 bit red hat
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
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
-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 ?
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
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
Sometimes on a busy system I have seen that catalina.sh stop does take
a long time to shutdown tomcat. We are running another monitoring
service on the system that monitors tomcat and few other system
services. After issuing catalina.sh and waiting for some time (up to
25 seconds) it loses
-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
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
...@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
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
-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
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
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
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
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
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..
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
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.
in server.xml i config:
!--Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443
server.xml to work with SSL. the problem is
that Tomcat shutdown after randomaly period of time and doesnt restart
again.
in server.xml i config:
!--Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 /--
!-- A Connector using the shared
PM org.apache.catalina.core.StandardServer await
WARNING: StandardServer.await: Invalid command '' received
I am not able to shutdown the server please let me know if you have any idea
about this issue..
--
View this message in context:
http://old.nabble.com/Tomcat-shutdown-issues
org.apache.catalina.core.StandardServer await
WARNING: StandardServer.await: Invalid command '' received
I am not able to shutdown the server please let me know if you have any
idea
about this issue..
--
View this message in context:
http://old.nabble.com/Tomcat-shutdown-issues-tp26849025p26849025.html
Sent from
1 - 100 of 216 matches
Mail list logo