RE: Simple server.xml config question... AJP13 Connector vs. CoyoteConnector

2004-09-21 Thread Shapira, Yoav

Hi,
No, these two connectors are not mutually exclusive.  Whether they're
redundant depends on your requirements.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Montz, James C. (James Tower) [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 6:43 PM
To: [EMAIL PROTECTED]
Subject: Simple server.xml config question... AJP13 Connector vs.
CoyoteConnector

Are these 2 Connector's mutually exclusive and/or redundant in the same
server.xml?
...
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8101 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=100
   debug=0 connectionTimeout=2
useURIValidationHack=false disableUploadTimeout=true /

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8201 minProcessors=5 maxProcessors=256
enableLookups=true connectionTimeout=2
   acceptCount=10 debug=0/
...




I have also seen variations of these documented in books  online;

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8201 address=127.0.0.1
   minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

And

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8201 address=127.0.0.1
   minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/


What should the proper configuration of connector's be for Apache 2.0
Front Ending Tomcat 4.1 using mod_jk2?
Could someone explain what the differences between the different
classes
are (org.apache.coyote.tomcat4.CoyoteConnector,
org.apache.ajp.tomcat4.Ajp13Connector)?

My original understanding was that Coyote is basically a stand alone
HTTP Server for Tomcat, and Ajp13Connector handled the inter process
communication for Apache to Tomcat.


Thanks,

James


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




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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



RE: Simple server.xml config question... AJP13 Connector vs. CoyoteConnector

2004-09-21 Thread Montz, James C. (James Tower)
Can the CoyoteConnector handle regular HTTP and AJP13 requests?

Our current deployment uses stand alone Tomcat HTTP Server to serve
servlets.  We are migrating towards using mod_jk2 with apache front end.
Unfortunately, I need to offer both the mod_jk2 connect, and the stand
alone HTTP server (for backwards compatibility and ease of
troubleshooting). 

-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 21, 2004 8:14 AM
To: Tomcat Users List
Subject: RE: Simple server.xml config question... AJP13 Connector vs.
CoyoteConnector


Hi,
No, these two connectors are not mutually exclusive.  Whether they're
redundant depends on your requirements.

Yoav Shapira
Millennium Research Informatics


-Original Message-
From: Montz, James C. (James Tower) [mailto:[EMAIL PROTECTED]
Sent: Monday, September 20, 2004 6:43 PM
To: [EMAIL PROTECTED]
Subject: Simple server.xml config question... AJP13 Connector vs.
CoyoteConnector

Are these 2 Connector's mutually exclusive and/or redundant in the same
server.xml?
...
Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8101 minProcessors=5 maxProcessors=75
enableLookups=true acceptCount=100
   debug=0 connectionTimeout=2
useURIValidationHack=false disableUploadTimeout=true /

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8201 minProcessors=5 maxProcessors=256
enableLookups=true connectionTimeout=2
   acceptCount=10 debug=0/
...




I have also seen variations of these documented in books  online;

Connector className=org.apache.coyote.tomcat4.CoyoteConnector
   port=8201 address=127.0.0.1
   minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/

And

Connector className=org.apache.ajp.tomcat4.Ajp13Connector
   port=8201 address=127.0.0.1
   minProcessors=5 maxProcessors=75
   enableLookups=true redirectPort=8443
   acceptCount=10 debug=0 connectionTimeout=0
   useURIValidationHack=false

protocolHandlerClassName=org.apache.jk.server.JkCoyoteHandler/


What should the proper configuration of connector's be for Apache 2.0
Front Ending Tomcat 4.1 using mod_jk2?
Could someone explain what the differences between the different
classes
are (org.apache.coyote.tomcat4.CoyoteConnector,
org.apache.ajp.tomcat4.Ajp13Connector)?

My original understanding was that Coyote is basically a stand alone
HTTP Server for Tomcat, and Ajp13Connector handled the inter process
communication for Apache to Tomcat.


Thanks,

James


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




This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential,
proprietary and/or privileged.  This e-mail is intended only for the
individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an)
intended recipient, please immediately delete this e-mail from your
computer system and notify the sender.  Thank you.


-
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: Simple server.xml config question... AJP13 Connector vs. CoyoteConnector

2004-09-21 Thread Shapira, Yoav

Hi,

Can the CoyoteConnector handle regular HTTP and AJP13 requests?

Yeah, but only one at a time.  So if you want both, you need two
instances of the connector, like you had in your original post.

Yoav



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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