You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jason Jonas - ATTBI <je...@attbi.com> on 2003/01/27 02:07:29 UTC

TC HTTP Connector

Does the HTTP connector for Tomcat 4.1.x support server-side includes?
If so, where can I find the documentation regarding configuration?
Thanks a bunch.

Jason



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: using ajp without tomcat

Posted by James Chang <jc...@hotmail.com>.
I have downloaded apache binary dist and the ajp connector source, and
builded the IIS redirector (It was rather strange that apr.h is in apache
binary dist but not in the apache source release).

What I found with debug messages is,  HttpFilterProc() is called with I
request http://localhost/examples/xxxxx, which means the dll is installed
correctly and the configuration files are correct (mappings and etc).
However there is no line of code in HttpFilterProc() that actually calls
anything to open the socket and send data.  I checked several possible
functions to see if they are the ones who send data, but all turn out to be
some string manipulation functions.

Could someone tell me which function call in HttpFilterProc actaully result
in open socket to 8009 port?

Thanks

----- Original Message -----
From: "James Chang" <jc...@hotmail.com>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Cc: <jc...@hotmail.com>
Sent: Sunday, January 26, 2003 8:53 PM
Subject: using ajp without tomcat


> Hi:
>
>     I am trying to get ajp to work for other jsp/servlet engines other
then
> tomcat.   Right now I am working on IIS with isapi_redirector2.dll and
> listening on port 8009 with my own ajp listener.
>
>     I downloaded isapi_redirector2.dll from:
>
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
> 2/bin/win32/
>
>     set up the registry settings and use the simple works2.properties file
> below.  IIS shows the dll is loaded correctly, but when I try to request
to
> http://localhost/examples/xxxxx , the isapi_redirector2.dll doesn't send
any
> request to port 8009.
>
>     Could anyone tell me what is wrong with my configuration file?  Or is
> the dll somehow need tomcat to work (I have set it to use socket, but
maybe
> the dll needs some configuration file or shared library from tomcat)??
>
>     Any pointer will be usefull.
>     Thanks!
>
>
>     the registry I used is:
> REGEDIT4
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
> Redirector\2.0]
> "serverRoot"="d:\\tm"
> "extensionUri"="/jakarta/isapi_redirector2.dll"
> "workersFile"="D:\\shared\\iisredir\\workers2.properties"
> "authComplete"="0"
> "threadPool"="5"
>
>     All strings are properly installed.
>
>
> My workers2.properties file contains:
>
> # Define the communication channel
> [channel.socket:localhost:8009]
> info=Ajp13 forwarding over socket
> tomcatId=localhost:8009
>
> # Map the Tomcat examples webapp to the Web server uri space
> [uri:/examples/*]
> info=Map the whole webapp
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


using ajp without tomcat

Posted by James Chang <jc...@hotmail.com>.
Hi:

    I am trying to get ajp to work for other jsp/servlet engines other then
tomcat.   Right now I am working on IIS with isapi_redirector2.dll and
listening on port 8009 with my own ajp listener.

    I downloaded isapi_redirector2.dll from:
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/v2.0.
2/bin/win32/

    set up the registry settings and use the simple works2.properties file
below.  IIS shows the dll is loaded correctly, but when I try to request to
http://localhost/examples/xxxxx , the isapi_redirector2.dll doesn't send any
request to port 8009.

    Could anyone tell me what is wrong with my configuration file?  Or is
the dll somehow need tomcat to work (I have set it to use socket, but maybe
the dll needs some configuration file or shared library from tomcat)??

    Any pointer will be usefull.
    Thanks!


    the registry I used is:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi
Redirector\2.0]
"serverRoot"="d:\\tm"
"extensionUri"="/jakarta/isapi_redirector2.dll"
"workersFile"="D:\\shared\\iisredir\\workers2.properties"
"authComplete"="0"
"threadPool"="5"

    All strings are properly installed.


My workers2.properties file contains:

# Define the communication channel
[channel.socket:localhost:8009]
info=Ajp13 forwarding over socket
tomcatId=localhost:8009

# Map the Tomcat examples webapp to the Web server uri space
[uri:/examples/*]
info=Map the whole webapp



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: TC HTTP Connector

Posted by Jacob Kjome <ho...@visi.com>.
You really need to check the Tomcat docs before posting questions like 
this.  It is pretty well spelled out there.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssi-howto.html

Jake

At 07:07 PM 1/26/2003 -0600, you wrote:
>Does the HTTP connector for Tomcat 4.1.x support server-side includes?
>If so, where can I find the documentation regarding configuration?
>Thanks a bunch.
>
>Jason
>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>