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
Howdy,
Can't reproduce this one -- I use destroy (for servlets, filters), and
contextDestroyed (for context listeners) all the time without any
issues.
What's your truss output supposed to show?
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: Oozy [mailto:[EMAIL
You should be able to see where Tomcat gets the shutdown signal, but then never
calls the destroy method for the servlet (the servlet is set to log this) - so
it appears that tomcat is not calling the destroy method properly?
Quoting Shapira, Yoav [EMAIL PROTECTED]:
Howdy,
Can't
-
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
open a command window as ntpriv or whoever the service is owned by :
set stop tomcat service name
To start :
net start tomcat service name
Mark
-Original Message-
From: Chris Daly [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 12, 2003 11:05 AM
To: mailto:@magic.lif.icnet.uk
Subject:
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
As far as I know, there are to different kinds of ports that need to be
changed to run two instances of Tomcat.
1. Connector Port : usually 8080 or 80 - Can be changed to 8080 (First
tomcat) and 8081 ( second Tomcat ).
2. Server Port: Usually 8005 - can be changed to 8005 (First Tomcat) and
8006
cheers
At 10:26 12.08.2003 -0500, you wrote:
As far as I know, there are to different kinds of ports that need to be
changed to run two instances of Tomcat.
1. Connector Port : usually 8080 or 80 - Can be changed to 8080 (First
tomcat) and 8081 ( second Tomcat ).
2. Server Port: Usually 8005 -
what about the temp directories - will it casuse in problems in relation to
the jvm ?
cheers
chris
At 10:26 12.08.2003 -0500, you wrote:
As far as I know, there are to different kinds of ports that need to be
changed to run two instances of Tomcat.
1. Connector Port : usually 8080 or 80 - Can
I guess I thought you were using separate CATALINA_BASE's. CATALINA_HOME
will be common between these, but you will specify separate CATALINA_BASE
values for each Tomcat instance. They will have separate server.xml's,
separate shared/lib directories, and yes, separate temp directories. The
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'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
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
-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
that is running Tomcat. Try it.
-Peter
-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
: 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
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
How quickly are you restarting Tomcat? I've noticed the same behaviour if I
rush and restart tomcat too quickly. Just waiting for solved the issue for
me.
Mike
- Original Message -
From: Jim Coble [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 30, 2002 10:18 AM
Subject:
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
Make sure you do not have any servlets or beans creating non-daemon
threads. A java process will run while there exists at least 1
non-daemon thread.
Perform a thread dump on your java process and see if this is the case.
See previous threads (or google) on how to perform a thread dump.
Jim
I saw similar problem when my DB process is locked due to lock on
resources. This is not a fancy way but we gave work around to make sure we
don't end up with two servers. This can be done easily by checking for
'javaoptions' process running for this user in the start/stop scripts
(and
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
The conf/ajp12.id file is written by the Ajp12Connector in your
server.xml. It stores the port, host, and optional password
to be used for shutdown. The shutdown process tries to read this
file to get this information to you don't have to supply it
on the command line. Thus, you can change the
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
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
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
- 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
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
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.
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
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
Possibilities I see:
1. You have disabled AJP12 in your server.xml file (needed to
shutdown)
2. Tomcat is only getting halfway shutdown - it stops accepting
AJP12 connections but still keeps the HTTP connection open. I've seen
reports of this happening on HP-UX (after
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
any input!
Alice
Xiaobu Alice Lian
Database Engineer
Agere Systems
[EMAIL PROTECTED]
(484)397-2583
-Original Message-
From: Randy Layman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 19, 2001 1:58 PM
To: [EMAIL PROTECTED]
Subject: RE: TOMCAT SHUTDOWN PROBLEM
Possibilities I see:
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
If you
are using apache, you can run a script(by making an http request) which stops
tomcat, if you can want you can
also
have password protection for running the script.
Shuklix
-Original Message-From: Luis M. Romero Jaldón
[mailto:[EMAIL PROTECTED]]Sent: Friday, March 02,
53 matches
Mail list logo