You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Simon Hardingham <si...@netxtra.net> on 2001/08/13 19:27:32 UTC

Restarting Tomcat/Apache

Hi,

I am having problems restarting Tomcat.  It can be a real problem to get
Tomcat to shutdown (often requiring a killall java).  Even then starting up
can be intermittent.  Has anyone else had any problems with starting and
stopping Tomcat.  System details are:

RedHat Linux 7.1 on Intel
Tomcat 3.2.3
mod_jk (from 3.2.3)
Apache 1.3.19
servlets with JDBC to PostgresSQL 7.1.2

Any thoughts? Development is difficult when restarting is such an effort!

Many thanks

Simon

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/         Simon Hardingham - netXtra Ltd - UK          _/
_/          Direct Dial: +44 (0) 1787 314890            _/
_/ Tel: +44 (0) 1787 319393    Fax: +44 (0) 1787 319394 _/
_/ http://www.netxtra.co.uk         simon@netxtra.co.uk _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


Re: Restarting Tomcat/Apache

Posted by Vladimir Grishchenko <vl...@hotmail.com>.
Had the same problem, never figured out how to get rid of it.
I used it stand alone.

-V.


----- Original Message -----
From: "Simon Hardingham" <si...@netxtra.net>
To: <to...@jakarta.apache.org>
Sent: Monday, August 13, 2001 10:27 AM
Subject: Restarting Tomcat/Apache


> Hi,
>
> I am having problems restarting Tomcat.  It can be a real problem to get
> Tomcat to shutdown (often requiring a killall java).  Even then starting
up
> can be intermittent.  Has anyone else had any problems with starting and
> stopping Tomcat.  System details are:
>
> RedHat Linux 7.1 on Intel
> Tomcat 3.2.3
> mod_jk (from 3.2.3)
> Apache 1.3.19
> servlets with JDBC to PostgresSQL 7.1.2
>
> Any thoughts? Development is difficult when restarting is such an effort!
>
> Many thanks
>
> Simon
>
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/         Simon Hardingham - netXtra Ltd - UK          _/
> _/          Direct Dial: +44 (0) 1787 314890            _/
> _/ Tel: +44 (0) 1787 319393    Fax: +44 (0) 1787 319394 _/
> _/ http://www.netxtra.co.uk         simon@netxtra.co.uk _/
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
>
>

apache and tomcat

Posted by matt <ma...@paycom.net>.
   I constantly have about 30 TIME-WAIT connections between the apache and
tomcat ports on my localhost. I am wandering if this is normal and if not how
to get around it. I also notice that my mod_jk.log file fills up with this
error;

    [jk_ajp12_worker.c (596)]: ajpv12_handle_response, error writing back to
server

could these be connected? perhaps sockets used up in TIME-WAIT and then the
error? any advice is much appreciated. Thanks!!

Matt


RE: Integrating Tomcat with Other Servers

Posted by Brandon Cruz <bc...@norvax.com>.
Well, whatever version can most easily integrate with other servers would be
the one I would use.  We have a Java application that is used by many
different companies.  In many cases, they already have the capability of
running the application, but if not, I am looking for a good servlet
container to plug into their existing web server.  I would like to recommend
Tomcat whenever possible, but I need to know where it can work, and where
I'll need something else.

As far as I know, it works with Apache, IIS, Netscape, and maybe Domino.

Brandon


-----Original Message-----
From: Pier P. Fumagalli [mailto:pier@betaversion.org]
Sent: Tuesday, August 14, 2001 9:46 AM
To: tomcat-user@jakarta.apache.org
Subject: Re: Integrating Tomcat with Other Servers


Brandon Cruz at bcruz@norvax.com wrote:
>
>> Is there a list anywhere of Web Servers that Tomcat can integrate with?
I
>> know it can link to Apache, IIS, and Netscape.  What about things like
>> Novell, Domino, etc.?  A link to any page would be appreciated!
>
> Does no answer mean that a list of this type is not available?

Correct... What version of Tomcat?

    Pier






Re: Integrating Tomcat with Other Servers

Posted by "Pier P. Fumagalli" <pi...@betaversion.org>.
Brandon Cruz at bcruz@norvax.com wrote:
>
>> Is there a list anywhere of Web Servers that Tomcat can integrate with?  I
>> know it can link to Apache, IIS, and Netscape.  What about things like
>> Novell, Domino, etc.?  A link to any page would be appreciated!
>
> Does no answer mean that a list of this type is not available?

Correct... What version of Tomcat?

    Pier




RE: Integrating Tomcat with Other Servers

Posted by Brandon Cruz <bc...@norvax.com>.
Does no answer mean that a list of this type is not available?


Brandon

-----Original Message-----
From: Brandon Cruz [mailto:bcruz@norvax.com]
Sent: Monday, August 13, 2001 3:51 PM
To: tomcat-user@jakarta.apache.org
Subject: Integrating Tomcat with Other Servers



Is there a list anywhere of Web Servers that Tomcat can integrate with?  I
know it can link to Apache, IIS, and Netscape.  What about things like
Novell, Domino, etc.?  A link to any page would be appreciated!

Thanks!

Brandon




Integrating Tomcat with Other Servers

Posted by Brandon Cruz <bc...@norvax.com>.
Is there a list anywhere of Web Servers that Tomcat can integrate with?  I
know it can link to Apache, IIS, and Netscape.  What about things like
Novell, Domino, etc.?  A link to any page would be appreciated!

Thanks!

Brandon


Re: Restarting Tomcat/Apache

Posted by Mike McGuinness <ep...@yahoo.com>.
I use jave just about the exact same configuration and I don't have the
problems you state. I have noticed that if I restart tomcat *without*
restarting apache, there are problems.

To restart I use the following script:

#!/bin/bash
/usr/apache/bin/apachectl stop
sleep 2
/usr/jakarta/dist/tomcat/bin/shutdown.sh
sleep 2
/usr/jakarta/dist/tomcat/bin/startup.sh
sleep 2
/usr/apache/bin/apachectl start


Mike


1. stop .
2. 
--- Simon Hardingham <si...@netxtra.net> wrote:
> Hi,
> 
> I am having problems restarting Tomcat.  It can be a real problem to get
> Tomcat to shutdown (often requiring a killall java).  Even then starting
> up
> can be intermittent.  Has anyone else had any problems with starting and
> stopping Tomcat.  System details are:
> 
> RedHat Linux 7.1 on Intel
> Tomcat 3.2.3
> mod_jk (from 3.2.3)
> Apache 1.3.19
> servlets with JDBC to PostgresSQL 7.1.2
> 
> Any thoughts? Development is difficult when restarting is such an
> effort!
> 
> Many thanks
> 
> Simon
> 
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/         Simon Hardingham - netXtra Ltd - UK          _/
> _/          Direct Dial: +44 (0) 1787 314890            _/
> _/ Tel: +44 (0) 1787 319393    Fax: +44 (0) 1787 319394 _/
> _/ http://www.netxtra.co.uk         simon@netxtra.co.uk _/
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> 
> 


__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Re: Restarting Tomcat/Apache

Posted by Jan Labanowski <jk...@osc.edu>.
You have to have the ajp12 instantiated in server.xml file just for
shutdown, even if you do not use it in workers.properties
Just copy the ajp13 connector stuff and change ajp12 -> ajp13
It usually helps...


On Mon, 13 Aug 2001, Simon Hardingham wrote:

> Hi,
> 
> I am having problems restarting Tomcat.  It can be a real problem to get
> Tomcat to shutdown (often requiring a killall java).  Even then starting up
> can be intermittent.  Has anyone else had any problems with starting and
> stopping Tomcat.  System details are:
> 
> RedHat Linux 7.1 on Intel
> Tomcat 3.2.3
> mod_jk (from 3.2.3)
> Apache 1.3.19
> servlets with JDBC to PostgresSQL 7.1.2
> 
> Any thoughts? Development is difficult when restarting is such an effort!
> 
> Many thanks
> 
> Simon
> 
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> _/         Simon Hardingham - netXtra Ltd - UK          _/
> _/          Direct Dial: +44 (0) 1787 314890            _/
> _/ Tel: +44 (0) 1787 319393    Fax: +44 (0) 1787 319394 _/
> _/ http://www.netxtra.co.uk         simon@netxtra.co.uk _/
> _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> 

Jan K. Labanowski            |    phone: 614-292-9279,  FAX: 614-292-7168
Ohio Supercomputer Center    |    Internet: jkl@osc.edu 
1224 Kinnear Rd,             |    http://www.ccl.net/chemistry.html
Columbus, OH 43212-1163      |    http://www.osc.edu/