You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Richard G Curry <rg...@jcpenney.com> on 2010/11/01 22:48:45 UTC

ISAPI Redirector Work-Flow

I am trying to understand how the ISAPI Redirector functions at an
overview level but deeper than this: The request comes into IIS where
the ISAPI Redirector filter sends the servlet and JSP requests to the
Tomcat server. I know the redirector works with AJP13 to redirect
requests to the Tomcat container. What I want to know is HOW that is
done. Is it a redirected HTTP request, a 301 redirect or is it a
port-to-port connection between the AJP13 processor and the defined
instance in the workers.properties file? As this properties file defines
the host name of the server holding the Tomcat instance, this can be on
a different server than the IIS server, correct? Then does AJP13
'connect' directly to the defined server ("localhost" in all the
examples I have seen) and the defined port ("8009" in the same
examples)?
 
If you know of a diagram that shows how this works, please share the
link to that resouce.
 
</pre><font face="monospace"size="-3"><br>The information transmitted is intended only for the person or entity to which it is addressed and <br>may contain confidential and/or privileged material.  If the reader of this message is not the intended<br>recipient, you are hereby notified that your access is unauthorized, and any review, dissemination,<br>distribution or copying of this message including any attachments is strictly prohibited.   If you are not<br>the intended recipient, please contact the sender and delete the material from any computer.<br><pre>

RE: ISAPI Redirector Work-Flow

Posted by Richard G Curry <rg...@jcpenney.com>.
That is what I thought and I thank you for your confirmation of this. I appreciate your time and support.

_______________________________________________________________________________________
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»
_______________________________________________________________________________________
Rick Curry
Common Services -  Software Development
E2 - 066, MS 5210
972-431-9178 (Voice)
972-585-7585 (Pager)
To send a (short) Text Message to my Pager:
9725857585@page.metrocall.com

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Tuesday, November 02, 2010 8:47 AM
To: Tomcat Users List
Subject: RE: ISAPI Redirector Work-Flow

> From: Richard G Curry [mailto:rgcurry@jcpenney.com]
> Subject: RE: ISAPI Redirector Work-Flow

> How is the request data passed? It is a Remore Procedure Call, an IP 
> port connection, or something else?

AJP is analogous to HTTP, in that it passes requests and responses over a TCP/IP connection, but in a much more compact form than HTTP.  That's why the <Connector> element for an AJP connection has address and port attributes.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged 
material.  If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any 
attachments is strictly prohibited.  If you are not the intended
recipient, please contact the sender and delete the material from any
computer.


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


RE: ISAPI Redirector Work-Flow

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Richard G Curry [mailto:rgcurry@jcpenney.com] 
> Subject: RE: ISAPI Redirector Work-Flow

> How is the request data passed? It is a Remore Procedure Call, 
> an IP port connection, or something else?

AJP is analogous to HTTP, in that it passes requests and responses over a TCP/IP connection, but in a much more compact form than HTTP.  That's why the <Connector> element for an AJP connection has address and port attributes.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.


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


RE: ISAPI Redirector Work-Flow

Posted by Richard G Curry <rg...@jcpenney.com>.
Another question, in particular about this:

"It's not a redirect.
The request data is converted to the AJP13 binary protocol which is received by an AJP connector in Tomcat."

How is the request data passed? It is a Remore Procedure Call, an IP port connection, or something else?

_______________________________________________________________________________________
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»
_______________________________________________________________________________________
Rick Curry
Common Services -  Software Development
E2 - 066, MS 5210
972-431-9178 (Voice)
972-585-7585 (Pager)
To send a (short) Text Message to my Pager:
9725857585@page.metrocall.com

-----Original Message-----
From: Pid [mailto:pid@pidster.com] 
Sent: Monday, November 01, 2010 5:40 PM
To: Tomcat Users List
Subject: Re: ISAPI Redirector Work-Flow

On 01/11/2010 21:48, Richard G Curry wrote:
> I am trying to understand how the ISAPI Redirector functions at an 
> overview level but deeper than this: The request comes into IIS where 
> the ISAPI Redirector filter sends the servlet and JSP requests to the 
> Tomcat server. I know the redirector works with AJP13 to redirect 
> requests to the Tomcat container. What I want to know is HOW that is 
> done. Is it a redirected HTTP request, a 301 redirect or is it a 
> port-to-port connection between the AJP13 processor and the defined 
> instance in the workers.properties file?

It's not a redirect.
The request data is converted to the AJP13 binary protocol which is received by an AJP connector in Tomcat.

> As this properties file defines
> the host name of the server holding the Tomcat instance, this can be 
> on a different server than the IIS server, correct?

Yes.

> Then does AJP13
> 'connect' directly to the defined server ("localhost" in all the 
> examples I have seen) and the defined port ("8009" in the same 
> examples)?

The connector opens multiple connections to the Tomcat server.

> If you know of a diagram that shows how this works, please share the 
> link to that resouce.

I don't sorry.


p
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged 
material.  If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any 
attachments is strictly prohibited.  If you are not the intended
recipient, please contact the sender and delete the material from any
computer.


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


RE: ISAPI Redirector Work-Flow

Posted by Richard G Curry <rg...@jcpenney.com>.
Thank you for this, I appreciate your time.

_______________________________________________________________________________________
«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»§«¤»¥«¤»
_______________________________________________________________________________________
Rick Curry
Common Services -  Software Development
E2 - 066, MS 5210
972-431-9178 (Voice)
972-585-7585 (Pager)
To send a (short) Text Message to my Pager:
9725857585@page.metrocall.com

-----Original Message-----
From: Pid [mailto:pid@pidster.com] 
Sent: Monday, November 01, 2010 5:40 PM
To: Tomcat Users List
Subject: Re: ISAPI Redirector Work-Flow

On 01/11/2010 21:48, Richard G Curry wrote:
> I am trying to understand how the ISAPI Redirector functions at an 
> overview level but deeper than this: The request comes into IIS where 
> the ISAPI Redirector filter sends the servlet and JSP requests to the 
> Tomcat server. I know the redirector works with AJP13 to redirect 
> requests to the Tomcat container. What I want to know is HOW that is 
> done. Is it a redirected HTTP request, a 301 redirect or is it a 
> port-to-port connection between the AJP13 processor and the defined 
> instance in the workers.properties file?

It's not a redirect.
The request data is converted to the AJP13 binary protocol which is received by an AJP connector in Tomcat.

> As this properties file defines
> the host name of the server holding the Tomcat instance, this can be 
> on a different server than the IIS server, correct?

Yes.

> Then does AJP13
> 'connect' directly to the defined server ("localhost" in all the 
> examples I have seen) and the defined port ("8009" in the same 
> examples)?

The connector opens multiple connections to the Tomcat server.

> If you know of a diagram that shows how this works, please share the 
> link to that resouce.

I don't sorry.


p
The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged 
material.  If the reader of this message is not the intended recipient,
you are hereby notified that your access is unauthorized, and any review,
dissemination, distribution or copying of this message including any 
attachments is strictly prohibited.  If you are not the intended
recipient, please contact the sender and delete the material from any
computer.


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


Re: ISAPI Redirector Work-Flow

Posted by Pid <pi...@pidster.com>.
On 01/11/2010 21:48, Richard G Curry wrote:
> I am trying to understand how the ISAPI Redirector functions at an
> overview level but deeper than this: The request comes into IIS where
> the ISAPI Redirector filter sends the servlet and JSP requests to the
> Tomcat server. I know the redirector works with AJP13 to redirect
> requests to the Tomcat container. What I want to know is HOW that is
> done. Is it a redirected HTTP request, a 301 redirect or is it a
> port-to-port connection between the AJP13 processor and the defined
> instance in the workers.properties file? 

It's not a redirect.
The request data is converted to the AJP13 binary protocol which is
received by an AJP connector in Tomcat.

> As this properties file defines
> the host name of the server holding the Tomcat instance, this can be on
> a different server than the IIS server, correct?

Yes.

> Then does AJP13
> 'connect' directly to the defined server ("localhost" in all the
> examples I have seen) and the defined port ("8009" in the same
> examples)?

The connector opens multiple connections to the Tomcat server.

> If you know of a diagram that shows how this works, please share the
> link to that resouce.

I don't sorry.


p