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
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
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",
#
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.
#
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
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
...@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
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
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
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
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
-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,
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
-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
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
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
-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
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
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
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
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
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
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
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
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
-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
>
"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
-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
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
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
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
-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
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
-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
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
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
-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
--
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
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
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
, 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
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
>
> 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
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
>
>
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
> 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
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
> 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
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
> 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
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
[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;
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
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
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
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
- 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
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
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.
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
> 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
14:36 cc
Subject
Please respond to Re: After stopping tomcat, the
"T
respond to Re: After stopping tomcat, the
"Tomcat Users tomcat process still appears to be
List" running
<[EMAIL PROTECTED]
> 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
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
Please respond to
"Tomcat Users Subject
List" Re: After stopping tomcat, the
<[EMAIL PROTECTED] tomcat process still appears t
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
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
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
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
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
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
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
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
>
>
"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
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
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
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
>
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,
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
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:
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
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
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
: 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,
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
--- 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
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
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
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
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
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
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
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
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
>
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
96 matches
Mail list logo