Re: Newbie: Apache Tomcat Configuration.

2003-06-13 Thread John Turner
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 
[EMAIL PROTECTED] 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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 
wrote:

Is there a connector called ajp14?

-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
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:[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 
wrote:

 Is there a connector called ajp14?

 -Original Message-
 From: Michele Neylon :: Blacknight Solutions
 [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Kevin Passey
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 
wrote:

 Is there a connector called ajp14?

 -Original Message-
 From: Michele Neylon :: Blacknight Solutions
 [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie: Apache Tomcat Configuration.

2003-06-12 Thread Sohail Muhammad
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
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 [EMAIL PROTECTED] 
wrote:

 Is there a connector called ajp14?

 -Original Message-
 From: Michele Neylon :: Blacknight Solutions
 [mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
 To: [EMAIL PROTECTED]
 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Sohail Muhammad
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?
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?
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?

Thanks for the time.

Regards,

Muhammad Sohail
UBL I.T  T Centre,
Pakistan




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Michele Neylon :: Blacknight Solutions

 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 :-)

-- 
Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.com/
Shell hosting now available



#
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance to it is prohibited. 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread John Turner
On Wed, 11 Jun 2003 14:13:46 +0500, Sohail Muhammad 
[EMAIL PROTECTED] wrote:

I believe these questions have been answered before but i have not been 
able to grasp the procedure.
They're answered daily.

1)  I want to use Tomcat 4.0 with Apache 2.0.43 . How do i integrate the 
two?
With a connector, either mod_jk.so or mod_jk2.so.  See 
http://tomcatfaq.sourceforge.net/apache.html

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?
Depends what connector you use, each has its own configuration directives.  
See http://tomcatfaq.sourceforge.net/apache.html

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?
Possible, yes.  Actually accomplished in production, not that I know of.  
Write a wrapper script to do it...this is easily done.

John

--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Jason Bainbridge
On Wed, 11 Jun 2003 20:27, John Turner wrote:
  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?

 Possible, yes.  Actually accomplished in production, not that I know of.
 Write a wrapper script to do it...this is easily done.

If an intranet counts as production I do it with mod_jk2 and JNI in process on 
Windows 2000. I have heard that JNI doesn't like to work on Linux though for 
some reason, I'm yet to try it.

Regards,
-- 
Jason Bainbridge
http://jblinux.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread Phillip Qin
Is there a connector called ajp14?

-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED] 
Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
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 :-)

-- 
Mr. Michele Neylon
Blacknight Solutions
http://www.blacknightsolutions.com/
Shell hosting now available



#
This message (and any attachment) is intended only for the 
recipient and may contain confidential and/or privileged 
material.  If you have received this in error, please contact the 
sender and delete this message immediately.  Disclosure, copying 
or other action taken in respect of this email or in 
reliance to it is prohibited. 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Newbie: Apache Tomcat Configuration.

2003-06-11 Thread John Turner
No, AJP is a protocol.

John

On Wed, 11 Jun 2003 10:32:53 -0400, Phillip Qin [EMAIL PROTECTED] 
wrote:

Is there a connector called ajp14?

-Original Message-
From: Michele Neylon :: Blacknight Solutions
[mailto:[EMAIL PROTECTED] Sent: June 11, 2003 5:24 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]