Re: Problem with stopping Tomcat

2001-07-06 Thread Gary Dale

I thought 3.2.2 could use AJP13 instead? Am I wrong on that?


Randy Layman wrote:

   Tomcat uses AJP12 to shutdown.

-Original Message-
From: Richard Richter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 03, 2001 1:15 PM
To: [EMAIL PROTECTED]
Subject: Problem with stopping Tomcat


Hi all...

When I tried to minimize my configuration I reach a state 
when tomcat.sh stop 
ends with this message. Only Classpath information was before it.

Stop tomcat
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.doConnect(Compiled Code)
at java.net.PlainSocketImpl.connectToAddress(Compiled Code)
at java.net.PlainSocketImpl.connect(Compiled Code)
at java.net.Socket.init(Compiled Code)
at java.net.Socket.init(Compiled Code)
at org.apache.tomcat.task.StopTomcat.execute(Compiled Code)
at org.apache.tomcat.startup.Tomcat.stopTomcat(Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
at org.apache.tomcat.startup.Tomcat.main(Compiled Code)

I've got only one worker defined in server.xml on port 8444. 
What can I miss in 
my config-files? I really don't know when this started to 
occure, so I can't say 
which file is siner. But httpd.conf is not. I tried older 
version and it 
doesn't help me. I changed tomcat-configs without backin them 
up... so. :-)))

What connection is tried when tomcat goes down?

Thanks

Virgo

Richard Richter ([EMAIL PROTECTED])
Application Programmer, Business Global Systems a. s.








RE: Problem with stopping Tomcat

2001-07-06 Thread Randy Layman



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 06, 2001 3:10 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Problem with stopping Tomcat
 
 
 I thought 3.2.2 could use AJP13 instead? Am I wrong on that?
 
My understanding is Tomcat 3.1-3 could only use AJP12 to shutdown,
maybe you should post to the tomcat-dev list and let us know what you find
out.

Randy



Re[2]: Problem with stopping Tomcat

2001-07-06 Thread wire



Friday, July 06, 2001, 2:47:01 PM, [EMAIL PROTECTED] wrote:



 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]
 Sent: Friday, July 06, 2001 3:10 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Problem with stopping Tomcat
 
 
 I thought 3.2.2 could use AJP13 instead? Am I wrong on that?
 
RL My understanding is Tomcat 3.1-3 could only use AJP12 to shutdown,
RL maybe you should post to the tomcat-dev list and let us know what you find
RL out.

The doc agrees with you:

  http://jakarta.apache.org/tomcat/tomcat-3.2-doc/mod_jk-howto.html

  The servlet.xml file already has a block similar to this for Ajp12 connections on 
port 8007 (as
   delivered by mod_jserv). Even if you think you're only using Ajp13, you probably 
don't want to
   delete this connector - it's required to shut down Tomcat.





Problem with stopping Tomcat

2001-07-03 Thread Richard Richter

Hi all...

When I tried to minimize my configuration I reach a state when tomcat.sh stop 
ends with this message. Only Classpath information was before it.

Stop tomcat
java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.doConnect(Compiled Code)
at java.net.PlainSocketImpl.connectToAddress(Compiled Code)
at java.net.PlainSocketImpl.connect(Compiled Code)
at java.net.Socket.init(Compiled Code)
at java.net.Socket.init(Compiled Code)
at org.apache.tomcat.task.StopTomcat.execute(Compiled Code)
at org.apache.tomcat.startup.Tomcat.stopTomcat(Compiled Code)
at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
at org.apache.tomcat.startup.Tomcat.main(Compiled Code)

I've got only one worker defined in server.xml on port 8444. What can I miss in 
my config-files? I really don't know when this started to occure, so I can't say 
which file is siner. But httpd.conf is not. I tried older version and it 
doesn't help me. I changed tomcat-configs without backin them up... so. :-)))

What connection is tried when tomcat goes down?

Thanks

Virgo

Richard Richter ([EMAIL PROTECTED])
Application Programmer, Business Global Systems a. s.




RE: Problem with stopping Tomcat

2001-07-03 Thread Randy Layman


Tomcat uses AJP12 to shutdown.

 -Original Message-
 From: Richard Richter [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, July 03, 2001 1:15 PM
 To: [EMAIL PROTECTED]
 Subject: Problem with stopping Tomcat
 
 
 Hi all...
 
 When I tried to minimize my configuration I reach a state 
 when tomcat.sh stop 
 ends with this message. Only Classpath information was before it.
 
 Stop tomcat
 java.net.ConnectException: Connection refused
 at java.net.PlainSocketImpl.doConnect(Compiled Code)
 at java.net.PlainSocketImpl.connectToAddress(Compiled Code)
 at java.net.PlainSocketImpl.connect(Compiled Code)
 at java.net.Socket.init(Compiled Code)
 at java.net.Socket.init(Compiled Code)
 at org.apache.tomcat.task.StopTomcat.execute(Compiled Code)
 at org.apache.tomcat.startup.Tomcat.stopTomcat(Compiled Code)
 at org.apache.tomcat.startup.Tomcat.execute(Compiled Code)
 at org.apache.tomcat.startup.Tomcat.main(Compiled Code)
 
 I've got only one worker defined in server.xml on port 8444. 
 What can I miss in 
 my config-files? I really don't know when this started to 
 occure, so I can't say 
 which file is siner. But httpd.conf is not. I tried older 
 version and it 
 doesn't help me. I changed tomcat-configs without backin them 
 up... so. :-)))
 
 What connection is tried when tomcat goes down?
 
 Thanks
 
 Virgo
 
 Richard Richter ([EMAIL PROTECTED])
 Application Programmer, Business Global Systems a. s.