tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Priest <Robert.Pri...@bentley.com>
Subject ISAPI Filter and the OPTIONS method
Date Fri, 26 Apr 2002 18:48:43 GMT
Hola Ignacio,

 
> > About the OPTIONS method, i'm not truly sure that isapi_redirect are
> > correctly passing down this method, this should be a good 
> > point to start
> > to see why webfolders doesnt work.. putting a breakpoint inside the
> > ajp13 read methods insside tomcat could help a bunch, 
> > 
> > Saludos ,
> > Ignacio J. Ortega

Can you tell me where in the code to look for this?

In other words, where is the decision made which Methods shall be "Accepted"
and passed on by the filter to Tomcat, or rejected and a "500 internal
server error" returned.


BTW - I think you are absolutely right. It looks like when an "OPTIONS"
request is sent, the isapi filter never passes that request to tomcat, it
simply returns a 500 error. I did a network trace and the error says:

C..4..HTTP/1.1 5
00040:  30 30 20 53 65 72 76 65 72 20 45 72 72 6F 72 0D   00 Server Error.
00050:  0A 53 65 72 76 65 72 3A 20 4D 69 63 72 6F 73 6F   .Server: Microso
00060:  66 74 2D 49 49 53 2F 35 2E 30 0D 0A 44 61 74 65   ft-IIS/5.0..Date
00070:  3A 20 54 68 75 2C 20 32 35 20 41 70 72 20 32 30   : Thu, 25 Apr 20
00080:  30 32 20 31 33 3A 35 34 3A 31 30 20 47 4D 54 0D   02 13:54:10 GMT.
00090:  0A 43 6F 6E 6E 65 63 74 69 6F 6E 3A 20 63 6C 6F   .Connection: clo
000A0:  73 65 0D 0A 43 6F 6E 74 65 6E 74 2D 54 79 70 65   se..Content-Type
000B0:  3A 20 74 65 78 74 2F 68 74 6D 6C 0D 0A 43 6F 6E   : text/html..Con
000C0:  74 65 6E 74 2D 4C 65 6E 67 74 68 3A 20 38 37 0D   tent-Length: 87.
000D0:  0A 0D 0A 3C 68 74 6D 6C 3E 3C 68 65 61 64 3E 3C   ...<html><head><
000E0:  74 69 74 6C 65 3E 45 72 72 6F 72 3C 2F 74 69 74   title>Error</tit
000F0:  6C 65 3E 3C 2F 68 65 61 64 3E 3C 62 6F 64 79 3E   le></head><body>
00100:  54 68 65 20 70 61 72 61 6D 65 74 65 72 20 69 73   The parameter is
00110:  20 69 6E 63 6F 72 72 65 63 74 2E 20 3C 2F 62 6F    incorrect. </bo
00120:  64 79 3E 3C 2F 68 74 6D 6C 3E                     dy></html>   




Thank you
Robert. 



-----Original Message-----
From: Ignacio J. Ortega [mailto:nacho@siapi.es]
Sent: Wednesday, April 24, 2002 3:32 PM
To: 'Robert Priest'
Subject: RE: Traces - Hitting ISAPI Filter from Remote Machine.


I'm saying that a PSOT wolud work ( it works for me at least ) , but the
url in the post it's not serverd in anyway by tomcat..IMHO, that dll is
no tied to tomcat url in anyway, or is slide more magical than i could
think of :)

Saludos ,
Ignacio J. Ortega


> -----Mensaje original-----
> De: Robert Priest [mailto:Robert.Priest@bentley.com]
> Enviado el: miércoles 24 de abril de 2002 21:29
> Para: Ignacio J. Ortega
> Asunto: RE: Traces - Hitting ISAPI Filter from Remote Machine.
> 
> 
> >From MICROSOFTWEBFOLDERS.txt
> 
> >POST /_vti_bin/shtml.dll/_vti_rpc HTTP/1.1
> 
> >I doubt MSWebFolders are really trying to reach DAV by other 
> means than
> >the microsoft own, i'm sure the POST above couldnt be served 
> by tomcat
> 
> I'm sorry Ignacio, I don't really follow what you are saying here.
> 
> Are you saying that MSWebFolders didn't send a post?
> 
> If that is so, I can run it again and send you the log again.
> 
> 
> Just need clarification.
> 
> Thanks,
> 
> Robert Priest.
> 
> -----Original Message-----
> From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> Sent: Wednesday, April 24, 2002 3:24 PM
> To: 'Robert Priest'
> Subject: RE: Traces - Hitting ISAPI Filter from Remote Machine.
> 
> 
> From MICROSOFTWEBFOLDERS.txt
> 
> POST /_vti_bin/shtml.dll/_vti_rpc HTTP/1.1
> 
> I doubt MSWebFolders are really trying to reach DAV by other 
> means than
> the microsoft own, i'm sure the POST above couldnt be served by tomcat
> 
> 
> Saludos ,
> Ignacio J. Ortega
> 
> 
> > -----Mensaje original-----
> > De: Robert Priest [mailto:Robert.Priest@bentley.com]
> > Enviado el: lunes 22 de abril de 2002 15:35
> > Para: Ignacio J. Ortega
> > Asunto: RE: Traces - Hitting ISAPI Filter from Remote Machine.
> > 
> > 
> > 
> > >> Typo!! Ignacio please!!! Ingacio sounds really bad in 
> spanish :)))
> > 
> > sorry about that.
> > 
> > 
> > >> ?¿?¿? Where can i found that?
> > 
> > attached are the text files.
> > 
> > 
> > >What you are seeing is only the logtrace of the 2 forms
> > 
> > >About the OPTIONS method, i'm not truly sure that 
> isapi_redirect are
> > >correctly passing down this method, this should be a good 
> > point to start
> > >to see why webfolders doesnt work.. putting a breakpoint inside the
> > >ajp13 read methods insside tomcat could help a bunch, 
> > 
> > I will work on this monday.
> > 
> > 
> > thanks.
> > 
> > robert.
> > 
> > -----Original Message-----
> > From: Ignacio J. Ortega [mailto:nacho@siapi.es]
> > Sent: Friday, April 19, 2002 4:29 PM
> > To: 'Robert Priest'
> > Subject: RE: Traces - Hitting ISAPI Filter from Remote Machine.
> > 
> > 
> > Hola Robert:
> > 
> > > Hello Ingacio,
> > 
> > Typo!! Ignacio please!!! Ingacio sounds really bad in spanish :)))
> > 
> > > I have attached Network Traces for the clients that I am 
> using (IE,
> > > WebFolders, WebDrive 5.1).
> > > They were all captured with "Network Monitor" (NetMon).
> > > 
> > 
> > ?¿?¿? Where can i found that?
> > 
> > > If you cannot read them I can send them to you as text files.
> > 
> > Please do it
> > 
> > 
> > > [Fri Apr 19 15:19:58 2002]  [jk_isapi_plugin.c (758)]: In 
> > > HttpFilterProc
> > > Virtual
> > >  Host redirection of /priest10428/_vti_bin/shtml.dll/_vti_rpc
> > > 
> > > *This may be an important clue as to what is going wrong, at 
> > > least,with
> > > WebFolders. If you need more. I can send you the entire log 
> > > entry of what
> > > happened during this request. 
> > 
> > 
> > This completely normal, isapi_redirect can use 2 formats in 
> > uwm.p file:
> > 
> > /server/uri/=worker
> > 
> > /uri/=worker
> > 
> > What you are seeing is only the logtrace of the 2 forms
> > 
> > About the OPTIONS method, i'm not truly sure that isapi_redirect are
> > correctly passing down this method, this should be a good 
> > point to start
> > to see why webfolders doesnt work.. putting a breakpoint inside the
> > ajp13 read methods insside tomcat could help a bunch, 
> > 
> > Saludos ,
> > Ignacio J. Ortega
> > 
> > 
> > 
> 


Mime
View raw message