What happens to in-flight requests when Tomcat is shut down via the
standard shutdown.sh?
I'd like to be able to have Tomcat stop accepting new requests, finish
with the ones in-flight, and exit. The requests I'm dealing with take
from a few milliseconds to 6 seconds to complete.
Thanks-
Hi all,
Maybe someone has experienced this issue I'm having - I am running
Apache/Tomcat4 on Debian using JDK1.4. I have done this install on a number
of different machines - however this is the first install I've done on the
2.6 kernel.
Everything seems to be working fine - tomcat and apache
With any luck, there should be root cause buried in the stack trace too.
Otherwise - you should probably ask the Axis-user list.
-Tim
MKW wrote:
I'm using Tomcat 5.5 (installed as a manually started service) with the
latest Axis release as a webapp and have defined a MySQL data source (as
a
I'm using Tomcat 5.5 (installed as a manually started service) with the
latest Axis release as a webapp and have defined a MySQL data source (as
a context in server.xml and a resource-ref in the Axis web.xml) with to
which an Axis web service (and an ordinary jsp page) can both connect
Hey folks:
How do we know that tomcat has shutdown completly? Would the return of
bin/shutdown.sh give some indication? The scenario I am seeing here,
is : I define a PID file in CATALINA_PID env variable.
And, on calling CATALINA_HOME/bin/shutdown.sh, I delete this PID file.
However, tomcat
1:19 PM
To: Tomcat Users List
Subject: Interaction with tomcat shutdown and CATALINA_PID
Hey folks:
How do we know that tomcat has shutdown completly? Would the return of
bin/shutdown.sh give some indication? The scenario I am seeing here,
is : I define a PID file in CATALINA_PID env variable
I have experienced the same since upgrading from 5.0.18 to 5.0.19 --
although i did see some weirdness and reported it as a bug
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27251
i still have to kill the pid after i try the shutdown. it being not clean
also means that the sessions aren't
As I remember, tomcat (including this specific version) will often leave
some sort of background thread running even when the shutdown script has
been successfully executed. I don't know enough about tomcat to say what
it is or why it is running. You could use the kill -TERM command to kill
it off
Hi,
As I remember, tomcat (including this specific version) will often
leave
some sort of background thread running even when the shutdown script
has
been successfully executed.
What are you talking about? You remember this from where?
Tomcat doesn't leave any of its threads running when the
Le ven 05/03/2004 à 08:47, Shapira, Yoav a écrit :
As I remember, tomcat (including this specific version) will often
leave
some sort of background thread running even when the shutdown script
has
been successfully executed.
What are you talking about? You remember this from where?
Hi!
I'm having a problem with a Tomcat 4.1.27 install on a SunOS 5.8
platform. When I run the shutdown.sh script, the script executes
without throwing any errors. It looks like Tomcat does shutdown,
however, the process does not die (which I can see by doing a ps -ef
|grep tomcat). Does
Hi,
I'm having a problem with a Tomcat 4.1.27 install on a SunOS 5.8
platform. When I run the shutdown.sh script, the script executes
without throwing any errors. It looks like Tomcat does shutdown,
however, the process does not die (which I can see by doing a ps -ef
|grep tomcat). Does
Nottrott [mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 9:50 PM
To: [EMAIL PROTECTED]
Subject: information on tomcat shutdown port / mechanism
Hello,
Can somebody out there point me to a place with explanations of the
Tomcat
shutdown mechanism and how it relates to the shutdown port
(default
Hello,
Can somebody out there point me to a place with explanations of the Tomcat
shutdown mechanism and how it relates to the shutdown port
(default
Server port=8005 shutdown=SHUTDOWN debug=0
)
I'm having some trouble shutting down tomcat normally after changing that
port, and I'm looking
-
From: Mark.he [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 28, 2003 9:01 PM
To: Tomcat Users List
Subject: Why Tomcat shutdown unprovokedly?
Hi All,
I have encountered a problem when using Tomcat4.1.29.
I changed the appbase to my appliaction's directory (not in
$TOMCAT_HOME/webapps) and add
Hi All,
I have encountered a problem when using Tomcat4.1.29.
I changed the appbase to my appliaction's directory (not in $TOMCAT_HOME/webapps) and
add a context like this:
Context path=
docBase=/usr/local/myapplication
crossContext=true
debug=0
Having a problem shutting down Tomcat - the servlet does not seem to be
receiving the destroy call when tomcat shuts down - version 4.1.24 and 4.1.27
of tomcat, sun 1.4.1_02 jdk on solaris 2.8 and redhat 8.0 - below is a truss
from solaris as it's shutting down. Is this a bug w/ tomcat?
PROTECTED]
Sent: Wednesday, September 10, 2003 2:03 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Shutdown Issues - servlet destroy
Having a problem shutting down Tomcat - the servlet does not seem to be
receiving the destroy call when tomcat shuts down - version 4.1.24 and
4.1.27
of tomcat, sun 1.4.1_02 jdk
: Wednesday, September 10, 2003 2:03 PM
To: [EMAIL PROTECTED]
Subject: Tomcat Shutdown Issues - servlet destroy
Having a problem shutting down Tomcat - the servlet does not seem to be
receiving the destroy call when tomcat shuts down - version 4.1.24 and
4.1.27
of tomcat, sun 1.4.1_02 jdk
-
From: Oozy [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 10, 2003 2:36 PM
To: Tomcat Users List; Shapira, Yoav
Cc: Tomcat Users List
Subject: RE: Tomcat Shutdown Issues - servlet destroy
You should be able to see where Tomcat gets the shutdown signal, but
then
never
calls the destroy
Call Arnold Schwarzneger the terminator
--- Chris Daly [EMAIL PROTECTED] wrote:
hi
i have two instances of tomcat runnign as a stand
olone but on different
ports - i can neither stop nor start either tomcat
as all that i'm getting is
Catalina.stop: java.net.ConnectException:
how do i idnetify the 8006 port to be used with port 8082 in the server.xml
file ?
!-- Define a non-SSL HTTP/1.1 Connector on port 8081 --
Connector className=org.apache.catalina.connector.http.HttpConnector
port=8081 minProcessors=5 maxProcessors=75
Did you change the default shutdown ports for both instances?
If you did, did you also make the appropriate changes in the shutdown
scripts?
John
Chris Daly wrote:
hi
i have two instances of tomcat runnign as a stand olone but on different
ports - i can neither stop nor start either tomcat
: tomcat shutdown
hi
i have two instances of tomcat runnign as a stand olone but on different
ports - i can neither stop nor start either tomcat as all that i'm getting is
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
It doesn't matter what the actual port numbers are, just make sure that
nothing else is listening to the ports your specify in each case. So, if
one Tomat is using port 8005, make the next one use port 8006, and so on.
Jake
At 04:24 PM 8/12/2003 +0100, you wrote:
no.
do i have to change the
(Second Tomcat).
And, I think you will have to manually stop the processes that are
currently running.
Hope this helps.
Kal
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi
i
:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi
i have two instances of tomcat runnign as a stand olone but on different
ports - i can neither stop nor start either tomcat as all that i'm
getting is
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi
i have two instances of tomcat runnign as a stand olone but on different
ports - i can neither stop nor start either tomcat as all that i'm
getting is
Catalina.stop
will have to manually stop the processes that are
currently running.
Hope this helps.
Kal
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 10:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi
i have two instances of tomcat runnign
Running tomcat on different ports is not enough. You have to specify
different ports for startup and shutdown in server.xml
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 11:05 AM
To: mailto:@magic.lif.icnet.uk
Subject: tomcat shutdown
hi
Did you make sure the other ports such as the shutdown port that each
Tomcat instance is listening to are different? You can't just change the
main port that listens for requests and expect things to work properly.
Jake
At 04:04 PM 8/12/2003 +0100, you wrote:
hi
i have two instances of
Howdy,
The reason was that when starting up Tomcat needs to parse several
XML-files. These may have references to DTDs in them. By default the
web.xml file needs to retrieve the DTD from the Sun website. When this
By default for its built-in DTDs (e.g. the ones for web.xml) tomcat uses
a local
hi
i have two instances of tomcat runnign as a stand olone but on different
ports - i can neither stop nor start either tomcat as all that i'm getting is
Catalina.stop: java.net.ConnectException: Connection refused
java.net.ConnectException: Connection refused
at
Hi,
I've had this a couple of times. Took me quite a while to figure out
what was wrong.
With me it turned out that Tomcat hadn;t fully started yet when I was
issuing the shutdown command.
The reason was that when starting up Tomcat needs to parse several
XML-files. These may have references
no.
do i have to change the port number in server.xml so that its differenet
from the following
Server port=8005 shutdown=SHUTDOWN debug=0
what do i change in the shutdown.sh or shutdown.bat if anything ?
cheers
chris
At 11:11 12.08.2003 -0400, you wrote:
Did you change the default
You can't have two Tomcats with the same shutdown port.
You'll have to change the shutdown scripts to use the new port number
(look for 8005 and replace with whatever port you choose).
John
Chris Daly wrote:
no.
do i have to change the port number in server.xml so that its differenet
from
Hi,
I'm using RH9 and have installed tomcat 4.1 on my system. It starts up ok,
i think (at least I don't get any warning messages). But when I try to
shutdown the server, I get the following:
log4j:WARN No appenders could be found for logger
(org.apache.commons.digester.Digester.sax).
On Thu, 29 May 2003 03:21, Steven Garrett wrote:
I'm no java or tomcat guru, but I do have a log4j.properties file in my
CLASSPATH so it should pick-up the properties file, right?
Have a look at this previous thread for pointers:
http://marc.theaimsgroup.com/?l=tomcat-userm=102856462327338w=2
I'm programmer. I use JasperReports on jsp. when JasperReports occur any
Exception. tomcat will shutdown. i'd to know why tomcat shutdown and how to
fix it.
dori.jasper.engine.JRException: Could not load font from location :
CORDIAU.TIF
at
dori.jasper.engine.export.JRPdfExporter.exportText
Dear Friends,
I am having Tomcat 4.0 on windows 2000 server Operating System running Java
Servlets, JSP and Oracle9i database.
When I try to access web pages hosted on Tomcat, then after a few quick clicks
Tomcat stops automatically without any information in logs (or may be i could
not find it
could you post the tail of your stderr and stdout logs?
can you reproduce this problem consistantly?
On Sat, 18 Jan 2003, Mr. King wrote:
Dear Friends,
I am having Tomcat 4.0 on windows 2000 server Operating System running Java
Servlets, JSP and Oracle9i database.
When I try to access web
The problem is being reproduced when i access pages 4-5 times, doing database
queries.
I will be able to mail the trail of stderr and stdout logs tomorrow as i go to
my work place.
I have been reading previous archives of Tomcat mailing lists and I found
similar problem earlier discussed in this
Hi Everyone,
I'm sure this problem is shared by many projects that need to regularly shut
down their tomcat servers for patches. What is the best way to do this with
minimum impact for web users?
Going into more detail, let me dust off my ASCII skills. I have 2 x apache
servers that talk to 2
-Original Message-
From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 1:22 PM
To: Tomcat Users List
Subject: RE: Tomcat shutdown security
On Fri, 2002-09-06 at 21:04, Turner, John wrote:
Very interesting. I hadn't investigated this scenario until now
: Tomcat shutdown security
FYI,
Yes tomcat does use a port to shutdown but it is a
requirement that the port
be written to from the local host. That is if you try to
open a socket and
write the shutdown command to it, Tomcat will only shutdown
if this is done
from the same system
: HAVENS,PETER (HP-Cupertino,ex3) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 11, 2002 2:12 PM
To: 'Tomcat Users List'
Subject: RE: Tomcat shutdown security
FYI,
Yes tomcat does use a port to shutdown but it is a
requirement that the port
be written to from the local host
PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Subject: RE: Tomcat shutdown security
FYI,
Yes tomcat does use a port to shutdown but it is a requirement that the port
be written to from the local host. That is if you try to open a socket and
write the shutdown command to it, Tomcat
Hi,
How about not letting any regular user execute bin/shutdown.sh? ;) ;) ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 6:53 PM
To: [EMAIL PROTECTED]
Subject: Tomcat shutdown
The shutdown.sh is a file and its access can be protected. What were your
expectations?
- Original Message -
From: Shapira, Yoav [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, September 06, 2002 2:40 PM
Subject: RE: Tomcat shutdown security
Hi,
How about
On Fri, 2002-09-06 at 14:40, Shapira, Yoav wrote:
Hi,
How about not letting any regular user execute bin/shutdown.sh? ;) ;) ;)
Nope, it's not the solution.
Anyone can download tomcat, extract shutdown.sh and execute.
Shutdown connects to Tomcat through a socket, so it's even possible
across
Very interesting. I hadn't investigated this scenario until now. I like
your suggestion.
John
-Original Message-
From: Przemyslaw Wegrzyn [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 06, 2002 2:20 PM
To: Tomcat Users List
Subject: RE: Tomcat shutdown security
On Fri
On Fri, 2002-09-06 at 21:04, Turner, John wrote:
Very interesting. I hadn't investigated this scenario until now. I like
your suggestion.
Even more, I've checked what exactly goes there, and you can stop
default Tomcat installation by simply telneting localhost 8005 and
typing SHUTDOW from
Hello !
I've just installed Tomcat, and discovered, that any regular user can stop
Tomcat with bin/shutdown.sh. How can I protect Tomcat from this ?
P.Wegrzyn
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
I am using Tomcat 4.0.4 with JDK 1.3 on Debian Linux 2.2.6.
Tomcat starts OK with startup.sh and I can see the home page.
On shutdown with shutdown.sh, there are no error messages on the xterm.
Subsequent startup does not succeed and I cannot see the home page.
There is no conflict with the
I notice that when I do bin/shutdown.sh, the script returns fairly
quickly, but it takes a few seconds longer for the catalina processes to
actually go away. Ie, if I do shutdown.sh and then ps auxw| grep
catalina, I still see a bunch of threads.
Is there a way to get the shutdown.sh script to
I had the same concern a while back, so I wrote a little script that does the
following:
1) Execute shutdown.sh.
2) Poll netstat once per second waiting for the listening socket (e.g. port
8080) to close.
3) Execute startup.sh.
4) Poll netstat once per second waiting for the listening socket
:
AM Subject: Tomcat shutdown does not kill
java process
: Tomcat shutdown does not kill java process
- Forwarded by Jim Coble/Libraries/Provost/Academic/Univ/Duke on
08/30/2002 10:18 AM -
Jim Coble
To:
[EMAIL PROTECTED]
08/30/2002 08:17 cc
-Ursprungliche Nachricht-
Von: Jim Coble [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 30. August 2002 16:18
An: [EMAIL PROTECTED]
Betreff: Tomcat shutdown does not kill java process
I'm running Tomcat 4.0.3 stand-alone on a Solaris 8 server. When
I execute
bin
in the java command. I do not know if there is a similar option for
solaris. java -X should tell you
Jeff
-Original Message-
From: Michael Nicholson [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 30, 2002 8:23 AM
To: Tomcat Users List
Subject: Re: Tomcat shutdown does not kill java process
:
AM Subject: Tomcat shutdown does not
kill java process
]
08/30/2002
08:17 cc:
AM Subject: Tomcat shutdown
does not kill java process
I'm running Tomcat 4.0.3 stand-alone on a Solaris 8 server. When I execute
bin/shutdown.sh, the java process that has been running Tomcat does
- Original Message -
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: 2002. jlius 15. 22:38
Subject: RE: What can cause a clean Tomcat shutdown?
I am not aware of any way to have a spontaneous clean shutdown in
Tomcat 3.3.1 (besides sending
Guys, I'm asking this question again in hope someone notices this time:
Except for the stop command sent to the Ajp12 connector, is there another
event that will cause a Tomcat 3.3.1 to shut down cleanly?
We experience sporadic spontaneous clean shutdowns of Tomcat 3.3.1 and
have no idea what
What about System.exit() in a servlet?
RS
Attila Szegedi [EMAIL PROTECTED] on 07/15/2002 08:51:20 AM
Please respond to Tomcat Users List [EMAIL PROTECTED]
To:Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:What can cause a clean Tomcat shutdown?
Guys, I'm asking this question
I think I spoke a little too quicky earlier. Sorry. I believe System.exit()
doesn't unload the web applications. Presently I can't think of any other
way for a clean Tomcat shutdown.
RS
[EMAIL PROTECTED] on 07/15/2002 09:38:54 AM
Please respond to Tomcat Users List [EMAIL PROTECTED
: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Monday, July 15, 2002 5:32 PM
Subject: Re: What can cause a clean Tomcat shutdown?
I think I spoke a little too quicky earlier. Sorry. I believe
System.exit()
doesn't unload the web applications. Presently I can't think of any
15, 2002 9:51 AM
To: Tomcat Users List
Subject: What can cause a clean Tomcat shutdown?
Guys, I'm asking this question again in hope someone notices
this time:
Except for the stop command sent to the Ajp12 connector, is
there another
event that will cause a Tomcat 3.3.1 to shut down
Tomcat shutdown?
Well yes, that's what puzzles us as well - it performs a clean shutdown
without anyone running tomcat.sh stop. Also, the 8007 port is blocked by
a
firewall so it can't receive it from afar (and wouldn't react to a
non-localhost stop command anyway...).
Attila.
- Original
Well hope you don't have some kind of cron job that periodically shuts
Tomcat down.
RS
You mean, like a root kit?
--
Joel Rees [EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Gigs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 9:34 PM
To: Tomcat Users List
Subject: Re: Tomcat shutdown
thanks alot Larry, i cook my problem b4 read ur email by
restarting the Solaris box. Another thing is i dun c any
Tomcat 3.3.1 at Jakarta-Tomcat website. Another
or
bin\shutdown.bat port=8007
Cheers,
Larry
-Original Message-
From: Neo Gigs [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 13, 2002 1:29 AM
To: Tomcat Users List
Subject: Tomcat shutdown
Hi there,
I had a problem in shutdown tomcat when it says cannot locate
ajp12
version of Tomcatwhat a annoying stuff...
- Original Message -
From: Larry Isaacs [EMAIL PROTECTED]
To: 'Tomcat Users List' [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 9:24 PM
Subject: RE: Tomcat shutdown
The conf/ajp12.id file is written by the Ajp12Connector in your
Hi there,
I had a problem in shutdown tomcat when it says cannot locate ajp12.id in
TOMCAT_HOME\conf directory. Is there any possible way to shutdown?
Neo
In Lunux kill Tomcat by PID.
kill PID
Neo Gigs wrote:
Hi there,
I had a problem in shutdown tomcat when it says cannot locate ajp12.id in
TOMCAT_HOME\conf directory. Is there any possible way to shutdown?
Neo
--
To unsubscribe: mailto:[EMAIL PROTECTED]
For additional commands:
how do find out what is PID 4 tomcat?
- Original Message -
From: Moi [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Wednesday, March 13, 2002 2:32 PM
Subject: Re: Tomcat shutdown
In Lunux kill Tomcat by PID.
kill PID
Neo Gigs wrote:
Hi there,
I had
how do find out what is PID 4 tomcat?
$ps ax
will give you a list of processes and their ids. if you want more info
$ps axwww
I quite often use
$kill -9 `ps ax | grep tomcat | grep j2 | awk '{print $1}'`
you will obviously have to alter this for your setup
Try with this
goto jakarta directory, then just saybin\shutdown
C:\jakarta-tomcat-3.3abin\shutdown
-Original Message-
From: Neo Gigs [mailto:[EMAIL PROTECTED]]
Sent: 13 March 2002 15:29
To: Tomcat Users List
Subject: Tomcat shutdown
Hi there,
I had a problem in shutdown tomcat
Hi
I have the following setup
1) Apache 1.3
2) Tomcat 3.2
3) Java SDK 1.3.1_01
Running on a Solaris box with SunOS Release 5.6. I have made sure that i
have all the patches for Java are present on the Sun Box. But my Tomcat
is shutdown frequently, and i have notices that it is creating a log
Mav,
I had a similar error upon startup. I switched from java 1.2.1 to java
1.3.1 and it healed.
-Mark
-Original Message-
From: Mav Rck [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 30, 2001 7:32 PM
To: [EMAIL PROTECTED]
Subject: Tomcat shutdown problems
When I try to shutdown
When I try to shutdown Tomcat I get the following error
./catalina.sh: line 234: 18818 Segmentation fault $JAVA_HOME/bin/java
$CATALINA_OPTS -classpath $CP -Dcatalina.base=$CATALINA_BASE
-Dcatalina.home=$CATALINA_HOME org.apache.catalina.startup.Bootstrap $@
stop
Can anyone help me figure
Hello,
I've recently installed Tomcat-4.0.1 and am running it on RH 7.2 with apache
1.3.22. Occasionally, when I shut down tomcat using
bin/catalina.sh stop,
I get the following exception and stack trace dump:
Catalina.stop: java.net.ConnectException: Connection refused
- Original Message -
From: John Valerie Dobbs [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, November 20, 2001 9:37 PM
Subject: Re: Tomcat shutdown error
I'm sorry I can't help you with your shutdown problem, I'm just trying to
get Tomcat running on my RH
Try using ./startup.sh.. You may have a environment variables problem
-Original Message-
From: Matt Sales [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 21 November 2001 9:15 AM
To: Tomcat Users List
Subject: Tomcat shutdown error
Hello,
I've recently installed Tomcat-4.0.1 and am running
With small or medium load destroy is called at shutdown.
With heavy load destroy is not called at shutdown.
I have also tried ContextListeners and with heavy load
contextDestroyed is not called either.
What can I do to ensure that either destroy or contextDestroyed
is called before tomcat is
Dear all,
Tomcat was installed as an NT service but it will stop automatically. Below
are some of the errors found in the logs consistently and not only on the
day it shuts down. Can someone advise on the errors and how to prevent
tomcat from shutting down?
Please help. I really am at my
Lim Dara at [EMAIL PROTECTED] wrote:
Tomcat.log
---
2001-08-06 01:14:18 - Ctx( ): Exception in: R( + /servlet/myques + null) -
java.lang.NullPointerException
at myques.service(myques.java:1144)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
Title: tomcat shutdown
Hi
I have problems with tomcat shutdown. The tomcat version used is 3.2.2 and different
port numbers are used for the http ajp.
After executing shutdown.sh, it shows the classpath and the message tomcat stop.
No error messages appeared.
However, the tomcat process
I believe you require to keep the ajp12 on port 8007 even if you use
ajp13 on port 8009 for shutdowns.
--
BillWorker 2i Development Team,
Infocom Solutions Pvt. Ltd.
I am interested in what Tomcat does when it receives a shutdown signal.
Specifically, does it wait for requests being serviced to finish before
terminating. I have traced the code to Context.shutdownContext. Nothing so
far gives me the indication that Tomcat will wait until all HTTP requests
Title: RE: Tomcat Shutdown capabilities
Yes, it is possible to shutdown Tomcat remotely. Using JMX, you could shutdown the Tomcat service. Check out the JBoss/Tomcat mix. If you run Tomcat as a service within JBoss, JMX allows you to shut the server down.
-Vijay Prabhakar
-Original
*** In Linux:
I run experimentally Tomcat my pc, under redHat7. I start Tomcat in rc5.d
(only) with the
script command:
start() {
daemon `cat /opt/tomcat/bin/start.txt`
where start.txt contains the line:
java -cp /opt/tomcat/lib/ -Dtomcat.home=/opt/tomcat/
tomcat.sh you can add a line to kill all tomcat process to insure that no
more tomcat process are running.
-Original Message-
From: Jurrius, Mark [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 1:44 AM
To: [EMAIL PROTECTED]
Subject: RE: TOMCAT SHUTDOWN PROBLEM
We have the same
When i try to shutdown Tomcat, it throws me the following exception:
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)
at
this with netstat (Unix or Windows) in combination with
ps/TaskManager.
Randy
-Original Message-
From: Matas Salvador [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 2:19 PM
To: [EMAIL PROTECTED]
Subject: TOMCAT SHUTDOWN PROBLEM
Importance: High
When i try to shutdown Tomcat
19, 2001 2:58
PM
Subject: RE: TOMCAT SHUTDOWN
PROBLEM
Possibilities I see:1. You have disabled AJP12 in
your server.xml file (needed toshutdown)2. Tomcat is only
getting halfway shutdown - it stops acceptingAJP12 connections but still
keeps the HTTP connection open. I've
I have tomcat shutdown problem on HP-UX. At first I had to kill it. Then
I found that it would be shutdown after running "tomcat.sh stop" three
times.
I have not spent time to figure out why. Anybody has some ideas about it?
Should I change the tomcat.sh scripts? Thanks for
To: '[EMAIL PROTECTED]'
Subject:RE: TOMCAT SHUTDOWN PROBLEM
I have tomcat shutdown problem on HP-UX. At first I had to kill it. Then
I found that it would be shutdown after running "tomcat.sh stop" three
times.
I have not spent time to figure out why. Anybody has some i
Can anyone tell me why the following error appear almost everytime I shut
down tomcat 3.3-m1?
[tomcat@earth tomcat]$ bin/shutdown.sh
Using classpath: /opt/tomcat/lib/tomcat.jar
Using JAVA_HOME: /opt/jdk1.3
Using TOMCAT_HOME: /opt/tomcat
Stopping Tomcat.
Stoping tomcat on null:8007 null
Log:
, 2001 1:10
AMTo: [EMAIL PROTECTED]Subject: tomcat
shutdown
Hello, can I stop the Tomcat process
remotely?
Thanks.
100 matches
Mail list logo