tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <Robert.Pri...@bentley.com>
Subject RE: ISAPI Filter and OPTIONS Dav Method.
Date Wed, 01 May 2002 18:45:52 GMT
Okay. It was a bad dns entry. 

-----Original Message-----
From: Robert Priest [mailto:Robert.Priest@bentley.com]
Sent: Wednesday, May 01, 2002 2:38 PM
To: 'Tomcat Users List'
Subject: RE: ISAPI Filter and OPTIONS Dav Method.


debugging question:

>One way to debug the connection between IIS and tc, is to use a external
>iis server ( or external tomcat ) and reconfigure the configs to use
>that host for ajp13 instead of localhost

To do this, do I do the following:

1. Run IIS on Box A with the filter.
2. Run Tomcat on Box B.
3. Go into Box A's worker.properties and set:
	worker.ajp13.host=Box B


is that all. Am I missing any configuration files that I need to update to
do this?


-----Original Message-----
From: Ignacio J. Ortega [mailto:nacho@siapi.es]
Sent: Wednesday, May 01, 2002 12:26 PM
To: 'Tomcat Users List'
Subject: RE: ISAPI Filter and OPTIONS Dav Method.


> De: Robert Priest [mailto:Robert.Priest@bentley.com]
> Enviado el: miƩrcoles 1 de mayo de 2002 16:03


BTW: this is starting to be an excellent bug report !! so please post it
to bugzilla ( if it's no there already ) so we can follow it better ..
thanks..
 
> 
> Using: 
> Tomcat 4.0.3.
> Slide 1.0.16.
> ISAPI Filter from J-T-C
> WebDrive 5.1 (Client)
> IIS 5.0
> 

Excelent, thanks..

> I have been having an issue where the ISAPI Filter dies 
> whenever receiving
> an OPTIONS request.

Dies? you are saying that it hangs in any way? or the filter continues
behaving after that OPTIONS request ?

> It looks like HttpFilterProc gets called and does it work, 
> but somewhere
> between IIS doing something and the
> call to HttpExtensionProc, the server sends back a "500 
> Internal Server
> Error"
> 

One way to be completely sure of who is generating that error 500 is to
try to add a debug="9999" attribute to the ajp13 connector in
server.xml, in tomcat 3.3 we got a nice logs about whats sending and
receiving tomcat from IIS..

One way to debug the connection between IIS and tc, is to use a external
iis server ( or external tomcat ) and reconfigure the configs to use
that host for ajp13 instead of localhost, this way you will be able to
see commns in port 8009 over the wire, and you could see if the options
request is saw by tc in any way..

> Does anyone have any idea what may be going on.
> 

No, but with your work and some more time, we will catch it.. sure :),
btw.. excellent work in this message..


> 
> Just to test what would happen, I hacked the HttpFilterProc 
> method to to
> catch when an OPTIONS request is received and return 
> a OPTIONS response.  I made the HttpFilterProc method, at 
> that point, return
> with a "SF_STATUS_REQ_FINISHED". With that, I can connect to 
> the server and
> get a list of folders and files through the client. I can 
> even copy out from
> the client to my desktop. However, I do encounter another 
> "500 Internal
> Server Error" when I attempt a "PUT" (to add a file). 
> 

> I say that to say this: there is obviously a problem in the 
> filter with it
> not passing headers (the method in particular) back to IIS or 
> from IIS to
> the
> HttpExtensionProc method. As I am not that proficient is IIS 
> dev soI have
> not  a clue what is happening. Is an IIS  header missing or something?
> 

> 
> Is this the correct "chain"  for the request:
> 
> IIS -> filter ->IIS -> extension -> AJP13 Connector -> Tomcat -> Web
> Application (in this case: slide 1.0.16)


Yes it is, my guess now is that your having problems in the extension
part, i gues that because the Filter processing is very thin, a matter
of getting the correct worker and forward the entire thing to the
correct extension, some heraders adde and cganged otheres.. that's all,
i doubt the problems lies in the filter, you could try to move your fake
response code to the extension instead the filter, this way we can
surpass the filter as the your problems source..

Saludos ,
Ignacio J. Ortega


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message