Re: using ajp without tomcat

2003-01-27 Thread James Chang
Actually I am posting for a friend.  He is tracying the code to see what is
going on  I just thought since people already did a lot on this someone
proboly has the answer right away :-)

Anyway thanks for your help, I will go post on dev list instead

Thanks again

- Original Message -
From: "Turner, John" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, January 27, 2003 1:27 PM
Subject: RE: using ajp without tomcat


>
> Maybe posting to tomcat-dev would get you a quicker answer.
>
> John
>
>
> > -Original Message-
> > From: James Chang [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, January 27, 2003 1:14 PM
> > To: Tomcat Users List
> > Subject: Re: using ajp without tomcat
> >
> >
> > 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/x, 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" <[EMAIL PROTECTED]>
> > To: "Tomcat Users List" <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > 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/x , 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:
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

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




Re: using ajp without tomcat

2003-01-27 Thread James Chang
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/x, 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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
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/x , 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:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>

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




using ajp without tomcat

2003-01-26 Thread James Chang
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/x , 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:   
For additional commands, e-mail: