-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 by
вс, 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 XM
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 bang
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 you
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 g
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
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 using quartz that a
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
> connec
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 wrote:
>
>> On
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 exactly how
> > tomcat o
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 wait
-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
-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 t
> 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 t
> > 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, th
> 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
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 informatio
> 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
> # g
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: OpenJD
2012/1/7 Kamal Sheikh :
> 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 harddrive?
Ma
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()
>> a
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
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: users-unsubscr...@to
> 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(Interna
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
> thre
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 :
>> 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 n
2011/2/1 János Löbb :
> 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 sta
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
Pratchett
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
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
nt: 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 might tell someth
-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
> circumstance
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
> Hi folks,
>
> we are facing a serious problem
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
>
> 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
-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
2010/3/8 Aggarwal, Ajay :
> 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 visible in 6.0.24,
becaus
---
From: Christopher Schultz [mailto:ch...@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:
>
On Mon, Mar 8, 2010 at 9:53 AM, Aggarwal, Ajay
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 tall structure might "
-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 prod
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
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:
>> Tom
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 WARNI
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 on w
I think it happens when another process else uses port 8443 :
java.net.BindException: Address already in use:8443
Regards,
Zacheusz
On Tue, Dec 22, 2009 at 7:18 AM, Tomcat1 wrote:
>
> hi,
> i have Tomcat 6.0.20. i config server.xml to work with SS
2009/12/19 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.
You won't be able to shutdown Tomcat using the shutdown script, if the
script does not know what Shutdown port
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?
>
>
>
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 P
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?
2009/12/18 SRama :
>
> 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
> Dec 18, 20
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 wrote:
>
> Hi
> I have some issues with tomcat, after starting the tomcat
-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'
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 6/17/20
-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 serv
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 m
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
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
java.util.concurrent.Execut
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 diagno
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 we
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 ", and
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 n
> 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 du
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
> --A
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
ulation, nous ne pouvons accepter aucune 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
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 yo
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
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 multip
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 wrote:
> S Arvind wrote:
> > A wierd proble
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
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 li
> 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
So how to ping to application so that tomcat is going to be shutdown?
--- On Tue, 3/10/09, Caldarale, Charles R wrote:
From: Caldarale, Charles R
Subject: RE: Tomcat Shutdown
To: "Tomcat Users List"
Date: Tuesday, March 10, 2009, 6:05 PM
> From: André Warnier [mailto:a.
> 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 sm
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
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 c
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
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.s
> 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 i
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
> 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 c
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 To
> 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 b
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 kill
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 hint
> 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.
-
a shame that you cant specify that attribute via %JAVA_OPTS%
maybe look at writing a set_8005 script which writes that to
%TOMCAT_HOME%/conf/server.xml
should be fine as long as you execute the script before starting TC ..
any other suggestions?
Martin Gainty
__
> > 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
[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} ), be
-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
- Original Message -
From: "Tom Cat" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
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 is shut down, the
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 a
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
>>
>&
> 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 twi
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
exp
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
-
To
Jørgen--
I know with 5.5 you can control Threading by implementing custom APR
ThreadPooling..
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/tomcat/util/net/AprEndpoint.html#acceptorThreadCount
Tak,
Martin --
***
1 - 100 of 106 matches
Mail list logo