tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Turner <tomcat-u...@johnturner.com>
Subject Re: Newbie: Apache & Tomcat Configuration.
Date Fri, 13 Jun 2003 13:30:20 GMT

You shouldn't have to add anything to server.xml to get Apache working with 
Tomcat.  There is a JK/JK2-compatible connector configured for port 8009 by 
default in server.xml, no changes are necessary.

Complete HOWTO, step by step, for Win 2K Pro and XP Pro:

http://www.johnturner.com/howto

John

On Thu, 12 Jun 2003 18:21:10 +0500, Sohail Muhammad 
<sohail.muhammad@ubl.com.pk> wrote:

> u see that's the problem. this is what i have in tomcat\conf
>
> web_22.dtd
> tld_11.dtd
> web_23.dtd
> tld_12.dtd
> catalina.policy
> tomcat-users.xml
> web.xml
> server.xml
>
> and this is whats in  tomcat\server\lib
>
> warp.jar
> catalina.jar
> jaxp.jar
> jakarta-regexp-1.2.jar
> crimson.jar
>
> i think i forgot to mention that im on win2k platform.
>
> Regards,
>
> Muhammad Sohail
> Assistant Programmer Analyst
> SSD, UBL I.T & T Division, Karachi
> Voice: 90332418,90332415-6
>
>
> -----Original Message-----
> From: Kevin Passey [mailto:kpassey@kdpsoftware.co.uk]
> Sent: Thursday, June 12, 2003 5:10 PM
> To: 'Tomcat Users List'
> Subject: RE: Newbie: Apache & Tomcat Configuration.
>
>
> Muhammad
>
> You actually configure apache to call tomcat when ever it needs it - i.e
> tomcat runs in-process
>
> This configuration is done in your jk2 config file in the tomcat/conf
> directory and in your apache2/conf workers2.properties file.
>
> If you search on Google you will find lots of info on the subject - I 
> have
> just configured the latest versions of apache,tomcat and mod_jk2.dll to 
> run
> on a win2k machine - my next job is to get it running on rh7.2.
>
> Good luck.
>
> Regards
>
> Kevin
>
> -----Original Message-----
> From: Sohail Muhammad [mailto:sohail.muhammad@ubl.com.pk]
> Sent: 12 June 2003 10:33
> To: Tomcat Users List
> Subject: RE: Newbie: Apache & Tomcat Configuration.
>
>
> Hello,
>
> i have added the following lines in my conf/server.xml file:
>
> <Connector className="org.apache.ajp.tomcat4.Ajp13Connector" port="8009" 
> minProcessors="5" maxProcessors="75" acceptCount="10" debug="0"/>
>
> when i start the tomcat server i get the ClassNotFoundException for
> org.apache.ajp.tomcat4.Ajp13Connector
>
> is there some file missing in my tomcat. i'm using tomcat 4.0
>
> Regards,
>
> Muhammad Sohail
> Assistant Programmer Analyst
> SSD, UBL I.T & T Division, Karachi
> Voice: 90332418,90332415-6
>
>
> -----Original Message-----
> From: John Turner [mailto:tomcat-user@johnturner.com]
> Sent: Wednesday, June 11, 2003 8:37 PM
> To: Tomcat Users List
> Subject: Re: Newbie: Apache & Tomcat Configuration.
>
>
>
> No, AJP is a protocol.
>
> John
>
> On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin <pqin@shareowner.com> 
> wrote:
>
>> Is there a connector called ajp14?
>>
>> -----Original Message-----
>> From: Michele Neylon :: Blacknight Solutions
>> [mailto:michele@blacknightsolutions.com] Sent: June 11, 2003 5:24 AM
>> To: tomcat-user@jakarta.apache.org
>> Subject: Re: Newbie: Apache & Tomcat Configuration.
>>
>>
>>> Hello All,
>>>
>>> Newbie Question:
>>>
>>> I believe these questions have been answered before but i have not been
>>> able to grasp the procedure.
>>>
>>> 1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate 
>>> the
>>> two?
>>
>> If you look in the archive some links to tutorials were posted 
>> yesterday.
>> General consensus is to use mod_jk either v1 or v2
>>
>>> 2)  After these are integrated what should i do to make the Apache
>>> webserver transfer requests for servlet and jsp execution to   Tomcat
>>> and the other way around i.e. transfer http requests from Tomcat to
>>> Apache?
>>
>> See the links mentioned. Basically you would be  using an ajp13 or ajp14
>> handler to pass the requests from one to the other.
>>
>>> 3)  Is it possible to adjust both Apache and Tomcat in such a
>>> way that whenever Apache is started Tomcat starts automatically and
>>> whenever Apache stops Tomcat also shutsdown?
>>
>> That would be nice. If anybody has a simple way of doing it please 
>> please
>> share :-)
>>
>
>
>



-- 
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message