Re: AW: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Christopher Schultz
Henning, On 5/5/22 09:27, Boesch, Henning (G-GPPD) wrote: Hello Torsten, hello Chris You need to put "-Dport.shutdown=12345" to the JAVA_OPTS because the stop process needs that port. Thanks for the answer, this worked for me. Henning, the reason you get the error message and Tomcat /still

AW: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Boesch, Henning (G-GPPD)
Hello Torsten, hello Chris > You need to put "-Dport.shutdown=12345" to the JAVA_OPTS because the > stop process needs that port. Thanks for the answer, this worked for me. > Henning, the reason you get the error message and Tomcat /still/ stops is > because the shutdown process uses an OS sig

Re: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Christopher Schultz
Torsten, On 5/5/22 04:14, Torsten Krah wrote: Am Donnerstag, dem 05.05.2022 um 06:42 + schrieb Boesch, Henning (G-GPPD): export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" The docs have this: # CATALINA_OPTS (Optional) Java runtime options used when the "start", #

Re: Variables in server.xml leads to error when stopping Tomcat

2022-05-05 Thread Torsten Krah
Am Donnerstag, dem 05.05.2022 um 06:42 + schrieb Boesch, Henning (G-GPPD): > export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" The docs have this: # CATALINA_OPTS (Optional) Java runtime options used when the "start", # "run" or "debug" command is executed. #

Variables in server.xml leads to error when stopping Tomcat

2022-05-04 Thread Boesch, Henning (G-GPPD)
Hello, we are running Tomcat 9.0.62 on AIX 7.2. In our server.xml we use variables for ports and other values: ... The variables are set in setenv.sh (the port is an example): export CATALINA_OPTS="-Dport.shutdown=12345 $CATALINA_OPTS" Tomcat is starting with this configuration and working c

Re: Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day

2018-12-19 Thread Mark Thomas
Exactly. Then look for the thread that is still processing a JSP and figure out why it is taking so long. Mark > > > -Original Message- > From: Mark Thomas [mailto:ma...@apache.org] > Sent: Wednesday, December 19, 2018 2:55 PM > To: users@tomcat.apache.org > Subje

RE: Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day

2018-12-19 Thread Louis Zipes
...@apache.org] Sent: Wednesday, December 19, 2018 2:55 PM To: users@tomcat.apache.org Subject: Re: Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day - - - external message, proceed with caution - - - On 19/12/2018 19:44, Louis Zipes wrote: > > First

Re: Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day

2018-12-19 Thread Mark Thomas
On 19/12/2018 19:44, Louis Zipes wrote: > > First of all, congratulations to Woonsan on his achievement! > > My issue is that I'm running Tomcat 8.5.35/JDK 1.7 on Windows 2012 and I'm > stopping and starting it using Windows Service. I have no problems starting > the Tomcat service and I also

Windows Service not stopping Tomcat 8.5.35 but only if it has been active for more than a day

2018-12-19 Thread Louis Zipes
First of all, congratulations to Woonsan on his achievement! My issue is that I'm running Tomcat 8.5.35/JDK 1.7 on Windows 2012 and I'm stopping and starting it using Windows Service. I have no problems starting the Tomcat service and I also have no problems stopping the Tomcat service IF I s

Re: Warnings when stopping Tomcat

2018-09-11 Thread Mark Thomas
On 11/09/18 18:32, Asire, Scott wrote: > I’m sure this has been asked/answered before so just point me to where I can > read up on it. https://svn.apache.org/viewvc/tomcat/trunk/bin/catalina.sh?annotate=1835115#l302 > I have tried this on Tomcat 8.5.31, 8.5.34, 9.0.12 and the same results > occ

Warnings when stopping Tomcat

2018-09-11 Thread Asire, Scott
I’m sure this has been asked/answered before so just point me to where I can read up on it. I have tried this on Tomcat 8.5.31, 8.5.34, 9.0.12 and the same results occur: When shutting down Tomcat the following warnings are generated on JDK 10 and JDK 11 EA: I see these written to the console

Re: SQLExceptions after stopping Tomcat

2016-09-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yuval, On 9/19/16 2:55 AM, Yuval Schwartz wrote: > Hello Chris, > > On Sat, Sep 17, 2016 at 7:40 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > > Yuval, > > On 9/16/16 2:33 PM, Yuval Schwartz wrote: Hey Chris,

Re: SQLExceptions after stopping Tomcat

2016-09-18 Thread Yuval Schwartz
Hello Chris, On Sat, Sep 17, 2016 at 7:40 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Yuval, > > On 9/16/16 2:33 PM, Yuval Schwartz wrote: > > Hey Chris, > > > > You have a line in your link that reads: > > > > // if you w

Re: SQLExceptions after stopping Tomcat

2016-09-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yuval, On 9/16/16 2:33 PM, Yuval Schwartz wrote: > Hey Chris, > > You have a line in your link that reads: > > // if you want to issue multiple queries and/or // work with > multiple result sets, either declare more Statement // and > ResultSet lo

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Yuval Schwartz
Hey Chris, You have a line in your link that reads: // if you want to issue multiple queries and/or // work with multiple result sets, either declare more Statement // and ResultSet locals above and duplicate all cleanup logic for them, // or make sure you close each object along

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Yuval Schwartz
Thanks Chris, I'll have a look. On Fri, Sep 16, 2016 at 6:41 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Yuval, > > On 9/16/16 3:32 AM, Yuval Schwartz wrote: > > A few more words/questions on my issue: > > > > My Resource

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yuval, On 9/16/16 3:32 AM, Yuval Schwartz wrote: > A few more words/questions on my issue: > > My Resource element used the attribute "removeAbandoned" rather > than "removeAbandonedOnBorrow". I have now corrected this. Does > this affect what gets

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Mark Thomas
On 16/09/2016 08:32, Yuval Schwartz wrote: > A few more words/questions on my issue: > > My Resource element used the attribute "removeAbandoned" rather than > "removeAbandonedOnBorrow". I have now corrected this. Does this affect what > gets logged (ie: I've had "logAbandoned" on this whole time

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Mark Thomas
On 15/09/2016 09:30, Yuval Schwartz wrote: > Questions: > 1) What order does a thread dump print in? That is, I'd like to know what > the first thread was in my thread dump (temporally) so that I might know > which thread caused the actual issue. Is this the beginning of the thread > dump or the

Re: SQLExceptions after stopping Tomcat

2016-09-16 Thread Yuval Schwartz
A few more words/questions on my issue: My Resource element used the attribute "removeAbandoned" rather than "removeAbandonedOnBorrow". I have now corrected this. Does this affect what gets logged (ie: I've had "logAbandoned" on this whole time but have not seen anything in the logs about abandone

Re: SQLExceptions after stopping Tomcat

2016-09-15 Thread Yuval Schwartz
Hello, I'd rather narrow down the problem a bit more before upgrading (to make sure that that's the issue). It happened again, this time I took a thread dump of the instance that went down (actually, it's only the DB connection pool that becomes unresponsive but I remove the instance from my load

Re: SQLExceptions after stopping Tomcat

2016-09-12 Thread Mark Thomas
On 12/09/2016 19:02, Yuval Schwartz wrote: > Hey Mark, thanks a lot. > > On Mon, Sep 12, 2016 at 4:42 PM, Mark Thomas wrote: > >> On 12/09/2016 11:54, Yuval Schwartz wrote: >> It might also be a bug in the connection pool that has been fixed. >> Upgrading to the latest 8.0.x (or better still

Re: SQLExceptions after stopping Tomcat

2016-09-12 Thread Yuval Schwartz
Hey Mark, thanks a lot. On Mon, Sep 12, 2016 at 4:42 PM, Mark Thomas wrote: > On 12/09/2016 11:54, Yuval Schwartz wrote: > > Hello, > > > > Tomcat: 8.0.22 > > Java: jdk1.8.0_05 > > Server: Amazon Linux > > > > My web application looses access to the database after about 24hrs of > > running (pro

Re: SQLExceptions after stopping Tomcat

2016-09-12 Thread Mark Thomas
On 12/09/2016 11:54, Yuval Schwartz wrote: > Hello, > > Tomcat: 8.0.22 > Java: jdk1.8.0_05 > Server: Amazon Linux > > My web application looses access to the database after about 24hrs of > running (probably dependent on amount of users, not time). > > No messages/exceptions are printed to the c

SQLExceptions after stopping Tomcat

2016-09-12 Thread Yuval Schwartz
Hello, Tomcat: 8.0.22 Java: jdk1.8.0_05 Server: Amazon Linux My web application looses access to the database after about 24hrs of running (probably dependent on amount of users, not time). No messages/exceptions are printed to the console or log files. When I stop tomcat, then I get a few "INF

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Felix, On 5/4/2011 1:07 AM, Felix Schumacher wrote: > It could've been the garbage collector itself. Just yesterday I had > an oom on permgen, which lead to a major-gc loop. I could see the > loop nicely as I had enabled logging of gc activity with >

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Felix Schumacher
"Christopher Schultz" schrieb: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >Mark, > >On 5/3/2011 10:52 AM, Mark Thomas wrote: >> On 03/05/2011 15:46, André Warnier wrote: >>> Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: > All, > > Moments ago in our

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 5/3/2011 10:52 AM, Mark Thomas wrote: > On 03/05/2011 15:46, André Warnier wrote: >> Mark Thomas wrote: >>> On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our development environment, our webapp suffered an

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Mark Thomas
On 03/05/2011 15:46, André Warnier wrote: > Mark Thomas wrote: >> On 03/05/2011 15:22, Christopher Schultz wrote: >>> All, >>> >>> Moments ago in our development environment, our webapp suffered an OOME >>> after many re-reployments (we know we have an undeploy-related leak). >>> When attempting to

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread André Warnier
Mark Thomas wrote: On 03/05/2011 15:22, Christopher Schultz wrote: All, Moments ago in our development environment, our webapp suffered an OOME after many re-reployments (we know we have an undeploy-related leak). When attempting to bounce Tomcat, the shutdown failed and I took a thread dump wh

Re: 100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Mark Thomas
On 03/05/2011 15:22, Christopher Schultz wrote: > All, > > Moments ago in our development environment, our webapp suffered an OOME > after many re-reployments (we know we have an undeploy-related leak). > When attempting to bounce Tomcat, the shutdown failed and I took a > thread dump which includ

100% CPU Usage when stopping Tomcat after OOM condition

2011-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, Moments ago in our development environment, our webapp suffered an OOME after many re-reployments (we know we have an undeploy-related leak). When attempting to bounce Tomcat, the shutdown failed and I took a thread dump which included the one no

Re: On stopping tomcat getting error

2011-03-14 Thread laxmipathi raju
Thanks Thomas . Thank you very much for your quick response. laxmipathi raju wrote: > > Hi, > While i am stopping tomcat i am getting the following error > Mar 14, 2011 3:45:43 PM org.apache.catalina.startup.Catalina stopServer > SEVERE: Catalina.stop: > java.net.ConnectExc

Re: On stopping tomcat getting error

2011-03-14 Thread Thomas Freitag
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Raju, On 14.03.11 um 03:16, laxmipathi raju wrote: > While i am stopping tomcat i am getting the following error > Mar 14, 2011 3:45:43 PM org.apache.catalina.startup.Catalina stopServer > SEVERE: Catalina.stop: > java.net.Conn

On stopping tomcat getting error

2011-03-14 Thread laxmipathi raju
Hi, While i am stopping tomcat i am getting the following error Mar 14, 2011 3:45:43 PM org.apache.catalina.startup.Catalina stopServer SEVERE: Catalina.stop: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at

RE: Starting/Stopping Tomcat from Java program

2010-10-15 Thread dB .
rnier [mailto:a...@ice-sa.com] Sent: Monday, October 11, 2010 9:34 AM To: Tomcat Users List Subject: Re: Starting/Stopping Tomcat from Java program Hi. I do not really understand the issue here. If you are under Windows, with Tomcat running as a Service, then you can just run the commands &qu

Re: Starting/Stopping Tomcat from Java program

2010-10-13 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob, On 10/11/2010 8:43 AM, Rob Gregory wrote: > I call the scripts via code to both stop and start Tomcat. There is a > problem with even calling these scripts via Unix unless you change (cd) > into the bin directory before running startup.sh as the

Re: Starting/Stopping Tomcat from Java program

2010-10-11 Thread Michael Knümann
-- From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] Sent: 11 October 2010 13:26 To: Tomcat Users List Subject: RE: Starting/Stopping Tomcat from Java program Hi Probably u may need to use Embedded version of TOMCAT to do this activity... With regards karthik -Original Me

Re: Starting/Stopping Tomcat from Java program

2010-10-11 Thread André Warnier
tring[] { "cmd.exe", "/C", "start", strCatalinaBin + "catalina.bat", "start" }, null, objDir); p.waitFor(); p.destroy(); Hope this helps. Rob -Original Message- From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.co

Re: Starting/Stopping Tomcat from Java program

2010-10-11 Thread kshitij chandrasen
uot;, "start", > strCatalinaBin + "catalina.bat", "start" }, null, objDir); > >p.waitFor(); >p.destroy(); > > Hope this helps. > Rob > > > > -Original Message- > > From: Karthik Nanjangude [mailto:karthik.nanjang...@x

RE: Starting/Stopping Tomcat from Java program

2010-10-11 Thread Rob Gregory
, objDir); p.waitFor(); p.destroy(); Hope this helps. Rob > -Original Message- > From: Karthik Nanjangude [mailto:karthik.nanjang...@xius-bcgi.com] > Sent: 11 October 2010 13:26 > To: Tomcat Users List > Subject: RE: Starting/Stopping Tomcat from Java

RE: Starting/Stopping Tomcat from Java program

2010-10-11 Thread Karthik Nanjangude
Hi Probably u may need to use Embedded version of TOMCAT to do this activity... With regards karthik -Original Message- From: kshitij chandrasen [mailto:kshtjchnd...@gmail.com] Sent: Monday, October 11, 2010 2:49 PM To: users@tomcat.apache.org Subject: Starting/Stopping Tomcat from

Starting/Stopping Tomcat from Java program

2010-10-11 Thread kshitij chandrasen
> > Hi, > I've to write methods on calling which i'd be able to start and stop the > tomcat app server. I tried this - > I'm using Tomcat 6.0.26. > String[] command = new String[4]; > > command[0] = "cmd"; > command[1] = "/C"; > command[2] = "startup.bat"; > command[3] = "C:\\"; > String x[] = {"P

Re: Issue while stopping Tomcat 6.0.24 using java 1.6.0_18

2010-03-08 Thread Mark Thomas
On 08/03/2010 14:08, Chinmoy Chakraborty wrote: > Hi All, > > In our web app we use JSF1.1 (Sun's RI) . Now when our app is deployed in > tomcat 6.0.24 using java version "1.6.0_18" and we start tomcat and then > subsequently stop tomcat we are getting the following errors in catalina.log > >

Issue while stopping Tomcat 6.0.24 using java 1.6.0_18

2010-03-08 Thread Chinmoy Chakraborty
Hi All, In our web app we use JSF1.1 (Sun's RI) . Now when our app is deployed in tomcat 6.0.24 using java version "1.6.0_18" and we start tomcat and then subsequently stop tomcat we are getting the following errors in catalina.log INFO: Stopping service Catalina Mar 8, 2010 7:02:04 PM org.a

RE: Timeout while stopping tomcat

2008-10-18 Thread Caldarale, Charles R
> From: Thomas Manson [mailto:[EMAIL PROTECTED] > Subject: Re: Timeout while stopping tomcat > > I want a Apache 2 server to use PHP app's too with tomcat > apps using port 80. > > I think that's the only way of doing, isn't it ? Strictly speaking, it's

Re: Timeout while stopping tomcat

2008-10-18 Thread Thomas Manson
MAIL PROTECTED] > > Subject: Re: Timeout while stopping tomcat > > > > If I want to build an link between my Apache2 and Tomcat 6, > > will I need the AJP connector ? > > Yes. > > > Also, which [ModJK/JK/JK2 or else] project is the correct to > > use with

RE: Timeout while stopping tomcat

2008-10-18 Thread Caldarale, Charles R
> From: Thomas Manson [mailto:[EMAIL PROTECTED] > Subject: Re: Timeout while stopping tomcat > > If I want to build an link between my Apache2 and Tomcat 6, > will I need the AJP connector ? Yes. > Also, which [ModJK/JK/JK2 or else] project is the correct to > use with To

Re: Timeout while stopping tomcat

2008-10-18 Thread Thomas Manson
at, Oct 18, 2008 at 19:33, Caldarale, Charles R < [EMAIL PROTECTED]> wrote: > > From: Thomas Manson [mailto:[EMAIL PROTECTED] > > Subject: Timeout while stopping tomcat > > > > Tomcat starts correctly, but a timeout occurs when stopping > > Any idea of what's

RE: Timeout while stopping tomcat

2008-10-18 Thread Caldarale, Charles R
> From: Thomas Manson [mailto:[EMAIL PROTECTED] > Subject: Timeout while stopping tomcat > > Tomcat starts correctly, but a timeout occurs when stopping > Any idea of what's wrong ? Nothing's really wrong, but you can get rid of the error message by commenting out the

Timeout while stopping tomcat

2008-10-18 Thread Thomas Manson
Hi, I've installed tomcat 6.0.18 on my ubuntu box (hardy heron server). I've set the CATALINA_BASE in another place that the tomcat install. I didn't modify any configuration files. Tomcat starts correctly, but a timeout occurs when stopping (see logs at the end of the mail). I'm using th

RE: BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Martin Gainty
[EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: BLACK ZONE alert on Stopping Tomcat Server > > Hi Ghulam, > Virtuozzo, is an OS level based VPS. Which means available system > resources are shared between the VPS. > During Shutdown, a Java process is created;

Re: BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Gabe Wong
Hi Ghulam, Virtuozzo, is an OS level based VPS. Which means available system resources are shared between the VPS. During Shutdown, a Java process is created; this in turn utilizes a burst of RAM. So at that moment you have 3 JVMs running - TomcatA, TomcatB, and ShutdownA. That 3rd JVM may be s

BLACK ZONE alert on Stopping Tomcat Server

2008-06-02 Thread Ghulam_Hussain
resources while being shutdown. Any help will be appreciated -- View this message in context: http://www.nabble.com/BLACK-ZONE-alert-on-Stopping-Tomcat-Server-tp17597316p17597316.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: java.rmi.server.ExportException thrown when stopping Tomcat

2007-02-27 Thread chuanjiang lo
On 2/27/07, chuanjiang lo <[EMAIL PROTECTED]> wrote: Hi there, I have edited the catalina.bat to enable jmx connections to tomcat server. set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Dcom.sun.management.jmxremote - Dcom.sun.management.jmxremot

java.rmi.server.ExportException thrown when stopping Tomcat

2007-02-27 Thread chuanjiang lo
Hi there, I have edited the catalina.bat to enable jmx connections to tomcat server. set JAVA_OPTS=%JAVA_OPTS% - Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager - Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9004 - Dcom.sun.management.jmxremote.authenticat

Re: Stopping Tomcat

2006-10-19 Thread Parsons Technical Services
- Original Message - From: "Miguel Correia Ricardo" <[EMAIL PROTECTED]> To: Sent: Thursday, October 19, 2006 12:56 PM Subject: Stopping Tomcat Hello, I'm having problems in stopping Tomcat. More precisely stopping Tomcat, while is starting. I want to be able to

Stopping Tomcat

2006-10-19 Thread Miguel Correia Ricardo
Hello, I'm having problems in stopping Tomcat. More precisely stopping Tomcat, while is starting. I want to be able to check the status of a running instance of Tomcat, and be able to wait, before sending the shutdown command (all this in a Java application), otherwise Tomcat throws an exce

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Christopher Schultz
Tomas, To be fair, you did say JVM shutdown, not Tomcat shutdown. > AFAIK Tomcat does not call System.exit() - at least did not in version > 4.1.*, when we solved the very same problem. Here: >> At JVM shutdown, the JVM is terminated only if all remaining running >> threads are daemon threads.

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Jon Wingfield
You've also got other candidates such as database connections, JMS connections etc which could spawn threads (For example, for keep-alive functionality). The easiest thing to do is a thread dump (send the process a SIGQUIT signal) after stopping tomcat to see which thread(s) are keepin

RE: After stopping tomcat, the tomcat process still appearsto be running

2006-10-18 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Re: After stopping tomcat, the tomcat process still > appearsto be running > > To the best of my knowlege, System.exit() is never called from within > tomcat. Well ... that's not quite true. There are several ca

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Tomas Hulek
14:36 cc Subject Please respond to Re: After stopping tomcat, the "T

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread David Smith
respond to Re: After stopping tomcat, the "Tomcat Users tomcat process still appears to be List" running <[EMAIL PROTECTED]

RE: After stopping tomcat, the tomcat process still appears to berunning

2006-10-18 Thread Caldarale, Charles R
> From: Tomas Hulek [mailto:[EMAIL PROTECTED] > Subject: Re: After stopping tomcat, the tomcat process still > appears to berunning > > 1) either all these threads are destroyed before JVM shutdown > by calling the stop() method for each of the threads, A really, really bad

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Christopher Schultz
Tomas, > At JVM shutdown, the JVM is terminated only if all remaining running > threads are daemon threads. Not true. System.exit() kills the VM regardless of the presence of non-daemon threads. -chris signature.asc Description: OpenPGP digital signature

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Tomas Hulek
Please respond to "Tomcat Users Subject List" Re: After stopping tomcat, the <[EMAIL PROTECTED] tomcat process still appears t

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-18 Thread Jørgen Nørgaard
Hello, If your servlet(s) start new threads that run independently of request this may happen. Could this be the case? On Wed, October 18, 2006 01:42, Elaine TING wrote: > Hi, > > This is what I have done: > > 1) use shutdown.sh to shut down tomcat > 2) Now the website appears to be down > 3) U

Re: After stopping tomcat, the tomcat process still appears to be running

2006-10-17 Thread Christopher Schultz
Elaine, > 1) use shutdown.sh to shut down tomcat > 2) Now the website appears to be down > 3) Use ps -ef | grep tomcat to check the processes, tomcat still appears > to be running: I suspect that you are seeing another Tomcat process that is either left over from a previous configuration (say, yo

After stopping tomcat, the tomcat process still appears to be running

2006-10-17 Thread Elaine TING
Hi, This is what I have done: 1) use shutdown.sh to shut down tomcat 2) Now the website appears to be down 3) Use ps -ef | grep tomcat to check the processes, tomcat still appears to be running: > ps -ef | grep tomcat root 21892 1 1 14:30 pts/21 00:00:17 /local/Java/bin/java -Djava.e

Re: Re: problem with stopping Tomcat

2005-12-20 Thread Warren Pace
Marju, Glad to hear that. Warren > > From: marju jalloh <[EMAIL PROTECTED]> > Date: 2005/12/20 Tue PM 01:49:31 EST > To: Tomcat Users List > Subject: Re: Re: problem with stopping Tomcat > > Warren I have solved it. The server.xml and web.xml were currupt

Re: Re: problem with stopping Tomcat

2005-12-20 Thread marju jalloh
ort of removing the app and re-installing with apt. > > From: marju jalloh > Date: 2005/12/19 Mon PM 02:18:22 EST > To: Tomcat Users List > Subject: Re: Re: problem with stopping Tomcat > > no I did not use apt. It was working but now on rebooting I got the following > er

Re: Re: problem with stopping Tomcat

2005-12-20 Thread Warren Pace
12/19 Mon PM 02:18:22 EST > To: Tomcat Users List > Subject: Re: Re: problem with stopping Tomcat > > no I did not use apt. It was working but now on rebooting I got the following > error > INFO: Initializing Coyote HTTP/1.1 on http-8080 > ServerLifecycleListener: crea

Re: Re: problem with stopping Tomcat

2005-12-19 Thread marju jalloh
ate: 2005/12/18 Sun PM 04:52:50 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > > Sorry that I did`nt include these information > I`m using Tomcat 1.4.27 on linux Debian(serge). Tomcat start authomatic at > startup.But during development I use

Re: Re: problem with stopping Tomcat

2005-12-19 Thread Warren Pace
Did you originally install Tomcat using apt? The Debian package configures Tomcat to listen on port 8180. > > From: marju jalloh <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:52:50 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > >

Re: problem with stopping Tomcat

2005-12-18 Thread Bill Barker
"marju jalloh" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Now when I reboot my pc this is the error I get > Sep 9, 2005 1:07:23 AM org.apache.coyote.http11.Http11Protocol init > INFO: Initializing Coyote HTTP/1.1 on http-8080 > ServerLifecycleListener: createMBeans: MBeanExcept

Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Now when I reboot my pc this is the error I get Sep 9, 2005 1:07:23 AM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with Ajp13Connector at org.apac

Re: problem with stopping Tomcat

2005-12-18 Thread Steve Dodge
Well, if 8080 is not accepting connections and there is no process on the machine, tomat is probably starting then immediatly stopping. Do you have a catalina.out, and or a catalina.log, I'd check in both of those to see what's failing. marju jalloh wrote: Sorry that I did`nt include these

Re: Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
other question - is any other app listening in on port 8080? I seem to remember the Debian distributions using that port for another app . . . > > From: Steve Dodge > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat >

Re: problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Sorry that I did`nt include these information I`m using Tomcat 1.4.27 on linux Debian(serge). Tomcat start authomatic at startup.But during development I use shutdown.sh and startup.sh in the TOMECAT_HOME/bin directory eg shutdown.shto stop tomcat startup.sh to start tomcat Thanks,

Re: Re: problem with stopping Tomcat

2005-12-18 Thread Warren Pace
And one other question - is any other app listening in on port 8080? > From: Steve Dodge <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re: problem with stopping Tomcat > > What's you environment? What version of

Re: Re: problem with stopping Tomcat

2005-12-18 Thread Warren Pace
And one other question - is any other app listening in on port 8080? I seem to remember the Debian distributions using that port for another app . . . > > From: Steve Dodge <[EMAIL PROTECTED]> > Date: 2005/12/18 Sun PM 04:39:00 EST > To: Tomcat Users List > Subject: Re:

Re: problem with stopping Tomcat

2005-12-18 Thread Steve Dodge
What's you environment? What version of Tomcat? What command are you using to start it? marju jalloh wrote: Hi everyone I havae problem with stopping tomcat.When I start it it show no sign of error but I can`t get to my http:localhost:8080/ page if I tried to restart Tomcat by sotpping and

problem with stopping Tomcat

2005-12-18 Thread marju jalloh
Hi everyone I havae problem with stopping tomcat.When I start it it show no sign of error but I can`t get to my http:localhost:8080/ page if I tried to restart Tomcat by sotpping and the starting I got thefollowing error during stopping Catalina.stop: java.net.ConnectException: Connection refus

RE: Re: starting and stopping Tomcat from Java code

2005-12-15 Thread Oleg Lebedev
Subject: RE: Re: starting and stopping Tomcat from Java code Oleg, Have you looked into managing the tomcat instance with MBeans. All you need to do is establish a connection to the other JVM with an MBeanServerConnection instance. This does require a port to be exposed from Tomcat for remote

RE: Re: starting and stopping Tomcat from Java code

2005-12-15 Thread andy gordon
: Wed 12/14/2005 8:14 PM To: users@tomcat.apache.org Subject: Re: starting and stopping Tomcat from Java code Urm, something like: tomcat.stop(); where 'tomcat' is your Embedded instance? "Oleg Lebedev" wrote in message news:[EMAIL PROTECTED] Hello, I am trying to configure,

RE: Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
e the whole tomcat directory on disk. -Original Message- From: news on behalf of Bill Barker Sent: Wed 12/14/2005 8:14 PM To: users@tomcat.apache.org Subject: Re: starting and stopping Tomcat from Java code Urm, something like: tomcat.stop(); where 'tomcat' is your Em

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wade Chandler
--- Bill Barker <[EMAIL PROTECTED]> wrote: > Urm, something like: >tomcat.stop(); > > where 'tomcat' is your Embedded instance? > > "Oleg Lebedev" <[EMAIL PROTECTED]> wrote in > message > news:[EMAIL PROTECTED] > Hello, > > I am trying to configure, start and then shutdown > Tomcat from my

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Bill Barker
Urm, something like: tomcat.stop(); where 'tomcat' is your Embedded instance? "Oleg Lebedev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I am planning to have all the jars required by Tomcat o

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread andy gordon
From: Iannis Hanen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 5:35 PM To: Tomcat Users List Cc: Iannis Hanen Subject: RE: starting and stopping Tomcat from Java code Hi Oleg, The piece of code you just mentioned is what lies behind the tag in the server.xml file. You can se

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
er 14, 2005 5:35 PM To: Tomcat Users List Cc: Iannis Hanen Subject: RE: starting and stopping Tomcat from Java code Hi Oleg, The piece of code you just mentioned is what lies behind the tag in the server.xml file. You can set the tag this way: If you connect to port 1234 on the tomcat machine a

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Iannis Hanen
TED] Sent: Wednesday, December 14, 2005 4:27 PM To: Tomcat Users List Subject: RE: starting and stopping Tomcat from Java code Thanks, Wendy. I looked at cargo and it seems that it requires the container to be installed on the local machine in order to be able to start or stop it. In my case I h

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Any ideas on whether this is the right way to shut down a stand-alone Tomcat instance? Thanks. Oleg -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 4:44 PM To: Tomcat Users List Subject: Re: starting and stopping Tomcat from Java code On 1

RE: starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
List Subject: Re: starting and stopping Tomcat from Java code Maybe this can help (Embed with Tomcat) ? http://www.vsj.co.uk/articles/display.asp?id=319 On 12/15/05, Oleg Lebedev <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to configure, start and then shutdown Tomcat from my J

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Wendy Smoak
On 12/14/05, Oleg Lebedev <[EMAIL PROTECTED]> wrote: > I am trying to configure, start and then shutdown Tomcat from my Java > class. No idea if it will do what you want, but that requirement made me think of Cargo: http://cargo.codehaus.org/ -- Wendy

Re: starting and stopping Tomcat from Java code

2005-12-14 Thread Stas Ostapenko
Maybe this can help (Embed with Tomcat) ? http://www.vsj.co.uk/articles/display.asp?id=319 On 12/15/05, Oleg Lebedev <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to configure, start and then shutdown Tomcat from my Java > class. I am planning to have all the jars required by Tomcat on the >

starting and stopping Tomcat from Java code

2005-12-14 Thread Oleg Lebedev
Hello, I am trying to configure, start and then shutdown Tomcat from my Java class. I am planning to have all the jars required by Tomcat on the classpath and I would like to be able to specify the port number and host using method calls. I would prefer not to ship Tomcat configuration files, suc