RE: DO NOT REPLY [Bug 12346] - Constant Refreshes crash Web Applications in TOMCAT

2002-09-05 Thread Robert Priest

I set the Priority on this bug. 
But If I was not supposed to do that, please forgive me.
I was not sure.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 05, 2002 5:11 PM
To: [EMAIL PROTECTED]
Subject: DO NOT REPLY [Bug 12346] - Constant Refreshes crash Web
Applications in TOMCAT


DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12346.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12346

Constant Refreshes crash Web Applications in TOMCAT

[EMAIL PROTECTED] changed:

   What|Removed |Added

   Priority|Other   |High

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




jk2 Configuration Problem

2002-06-18 Thread Robert Priest

Hello,


I am not able to hit my web application using jk2 isapi filter.

using:

iis 5.0
w2k server
tomcat 4.0.3


I suspect there is something wrong with my configuration. I have attached my
workers2.properties file.

 workers2.properties 
Also here is what I see in the jk2.log file, but I have a few questions.
-- I am assuming that the Initializing log file... message really should be
an (info) message and not an (error), true?
-- in urEnv.init() calls you will see host=(null). Should I define a
'host' (and possibly a 'ctx') for each webapp in my workers2.properties.
-- should the worker for my webapps say ajp13:jni or just ajp13? I am
not using jni stuff (i think :) ).
-- does anyone see anything else wrong with my properties file or have any
suggestions?
-- I can hit http://localhost/jkstatus; just fine.


[Tue Jun 18 15:02:40 2002] (error ) [jk_logger_file.c (171)]  Initializing
log file
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\/logs/j
k2.log
[Tue Jun 18 15:02:40 2002] (error ) [jk_logger_file.c (171)]  Initializing
log file
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\/logs/j
k2.log
[Tue Jun 18 15:02:40 2002] ( info ) [jk_worker_lb.c (456)]
lb_worker.setAttribute(): Adding to lb: ajp13:localhost:8009
[Tue Jun 18 15:02:40 2002] ( info ) [jk_worker_lb.c (487)]  lb.init() lb:lb
1 workers
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (147)]  uriMap.addUriEnv()
(null) (null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (339)]  uriMap.init() set
default host
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (353)]  uriMap.init()
loaded host (null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (147)]  uriMap.addUriEnv()
/ (null) /
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (404)]  uriMap.init()
Create default context / ( for default host )
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (427)]  uriMap.init()
loaded context (null) / c724c0 c14628 c12768
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (445)]  uriMap.init()
processing mappings
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (339)]  uriEnv.init()
prefix mapping /WEL=ajp13:jni
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (358)]  uriEnv.init()
uri:/WEL/*  host=(null)  uri=/WEL/* type=1 ctx=(null) prefix=/WEL
suffix=(null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (339)]  uriEnv.init()
prefix mapping /slide=ajp13:jni
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (358)]  uriEnv.init()
uri:/slide/*  host=(null)  uri=/slide/* type=1 ctx=(null) prefix=/slide
suffix=(null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_workerEnv.c (403)]  workerEnv.init()
ok
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\/conf/w
orkers2.properties
[Tue Jun 18 15:02:40 2002] ( info ) [jk_isapi_plugin.c (581)]  Set
serverRoot
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (583)]  Using ini
file d:\pw\Development\output\program
files\bentley\projectwise\websrv\bin\isapi_redirector2.properties.
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (587)]  Using
extension uri /jakarta/isapi_redirector2.dll.
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (588)]  Using server
root D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\.
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (589)]  Using worker
file .
[Tue Jun 18 15:02:40 2002] ( info ) [jk_isapi_plugin.c (209)]  Detected IIS
= 5.0
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (258)]
HttpFilterProc started
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (308)]  In
HttpFilterProc Virtual Host redirection of localhost
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (565)]  uriMap.mapUri()
localhost /WEL
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (577)]  uriMap.mapUri()
found host (null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (602)]  uriMap.mapUri()
found ctx /
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (623)]  uriMap.mapUri()
prefix match /WEL ajp13:jni
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (325)]
HttpFilterProc [/WEL] is a servlet url - should redirect to ajp13:jni
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (392)]
HttpFilterProc check if [/WEL] is pointing to the web-inf directory
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (461)]
HttpExtensionProc started
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (467)]
HttpExtensionProc got a worker for name ajp13:jni
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (482)]
HttpExtensionProc: new rpool
[Tue Jun 18 15:02:40 2002] (error ) [jk_worker_ajp13.c (570)]
ajp13.getEndpoint() No pool
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (503)]
HttpExtensionProc service() Failed



workers2.properties
Description: Binary data

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


RE: jk2 Configuration Problem

2002-06-18 Thread Robert Priest

BTW - the error that I get in the browser (ie 5.5 ) is 
Page cannot be displayed

-Original Message-
From: Robert Priest [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 18, 2002 3:14 PM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: jk2 Configuration Problem


Hello,


I am not able to hit my web application using jk2 isapi filter.

using:

iis 5.0
w2k server
tomcat 4.0.3


I suspect there is something wrong with my configuration. I have attached my
workers2.properties file.

 workers2.properties 
Also here is what I see in the jk2.log file, but I have a few questions.
-- I am assuming that the Initializing log file... message really should be
an (info) message and not an (error), true?
-- in urEnv.init() calls you will see host=(null). Should I define a
'host' (and possibly a 'ctx') for each webapp in my workers2.properties.
-- should the worker for my webapps say ajp13:jni or just ajp13? I am
not using jni stuff (i think :) ).
-- does anyone see anything else wrong with my properties file or have any
suggestions?
-- I can hit http://localhost/jkstatus; just fine.


[Tue Jun 18 15:02:40 2002] (error ) [jk_logger_file.c (171)]  Initializing
log file
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\/logs/j
k2.log
[Tue Jun 18 15:02:40 2002] (error ) [jk_logger_file.c (171)]  Initializing
log file
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\/logs/j
k2.log
[Tue Jun 18 15:02:40 2002] ( info ) [jk_worker_lb.c (456)]
lb_worker.setAttribute(): Adding to lb: ajp13:localhost:8009
[Tue Jun 18 15:02:40 2002] ( info ) [jk_worker_lb.c (487)]  lb.init() lb:lb
1 workers
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (147)]  uriMap.addUriEnv()
(null) (null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (339)]  uriMap.init() set
default host
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (353)]  uriMap.init()
loaded host (null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (147)]  uriMap.addUriEnv()
/ (null) /
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (404)]  uriMap.init()
Create default context / ( for default host )
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (427)]  uriMap.init()
loaded context (null) / c724c0 c14628 c12768
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (445)]  uriMap.init()
processing mappings
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (339)]  uriEnv.init()
prefix mapping /WEL=ajp13:jni
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (358)]  uriEnv.init()
uri:/WEL/*  host=(null)  uri=/WEL/* type=1 ctx=(null) prefix=/WEL
suffix=(null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (339)]  uriEnv.init()
prefix mapping /slide=ajp13:jni
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriEnv.c (358)]  uriEnv.init()
uri:/slide/*  host=(null)  uri=/slide/* type=1 ctx=(null) prefix=/slide
suffix=(null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_workerEnv.c (403)]  workerEnv.init()
ok
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\/conf/w
orkers2.properties
[Tue Jun 18 15:02:40 2002] ( info ) [jk_isapi_plugin.c (581)]  Set
serverRoot
D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (583)]  Using ini
file d:\pw\Development\output\program
files\bentley\projectwise\websrv\bin\isapi_redirector2.properties.
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (587)]  Using
extension uri /jakarta/isapi_redirector2.dll.
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (588)]  Using server
root D:\\pw\\development\\output\\Progra~1\\Bentley\\ProjectWise\\WebSrv\\.
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (589)]  Using worker
file .
[Tue Jun 18 15:02:40 2002] ( info ) [jk_isapi_plugin.c (209)]  Detected IIS
= 5.0
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (258)]
HttpFilterProc started
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (308)]  In
HttpFilterProc Virtual Host redirection of localhost
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (565)]  uriMap.mapUri()
localhost /WEL
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (577)]  uriMap.mapUri()
found host (null)
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (602)]  uriMap.mapUri()
found ctx /
[Tue Jun 18 15:02:40 2002] ( info ) [jk_uriMap.c (623)]  uriMap.mapUri()
prefix match /WEL ajp13:jni
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (325)]
HttpFilterProc [/WEL] is a servlet url - should redirect to ajp13:jni
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (392)]
HttpFilterProc check if [/WEL] is pointing to the web-inf directory
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (461)]
HttpExtensionProc started
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (467)]
HttpExtensionProc got a worker for name ajp13:jni
[Tue Jun 18 15:02:40 2002] (debug ) [jk_isapi_plugin.c (482)]
HttpExtensionProc: new rpool
[Tue Jun 18 15:02:40 2002] (error ) [jk_worker_ajp13.c (570)]
ajp13.getEndpoint() No pool
[Tue Jun 18 15:02

ISAPI Filter and the OPTIONS method

2002-04-26 Thread Robert Priest

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   ...htmlhead
000E0:  74 69 74 6C 65 3E 45 72 72 6F 72 3C 2F 74 69 74   titleError/tit
000F0:  6C 65 3E 3C 2F 68 65 61 64 3E 3C 62 6F 64 79 3E   le/headbody
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 6Fincorrect. /bo
00120:  64 79 3E 3C 2F 68 74 6D 6C 3E dy/html   




Thank you
Robert. 



-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]]
  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:[EMAIL PROTECTED]]
  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

RE: Tomcat 4+Slide1.0.16+ISAPI Filter

2002-04-24 Thread Robert Priest

Here is an excerpt of an email I sent Ignacio detailing some of the issues I
am finding:

Basically, it seems as though the entire issue is centered around
authentication through
the ISAPI Filter.

I am thinking that the filter is also having trouble with:

Webfolders - because it first sends a POST request.
and
Webdrive - because it first sends an OPTIONS request.

-Original Message-
From: Robert Priest 
Sent: Friday, April 19, 2002 4:12 PM
To: 'Ignacio J. Ortega'
Subject: Traces - Hitting ISAPI Filter from Remote Machine.

In all of them [the requests], the url i was attempting to use was:
http://priest10428/slide/test

The only one that works from a remote machine is IE.

USING IE


questions and observations:

Why does this one work while the others do not?
Now, looking at the trace, IE sends a GET Request, and iis/isapi_redirect
properly responds
with the correct Realm Challenge Request. After that we put in our
credentials and everything
shows up fine. We can browse our directories perfectly.

In WebDrive an OPTIONS request is first sent, which comes back with a 500
Server Error. In
MS WebFolders, a POST Request (if you see the request, it looks wrong too)
with an invalid url
which brings up the wrong Challenge Request popup ( looks like the IIS Auth
even though I have that turned off).



USING WEBFOLDERS

This one is strange. 

Althought the webfolders that I tried to set up was
http://priest10428/slide/test , from the logs (isapi_redirect.log), it looks
like somehow the filter is getting the wrong url from webfolders. Instead of
the url above you see the following in the log: 

[Fri Apr 19 15:19:58 2002]  [jk_isapi_plugin.c (708)]: HttpFilterProc
started
[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


and lastly, but MOST Importantly, WebDrive.


USING WEBDRIVE 5.1


observation:
Now webdrive is sending an OPTIONS Request, first. In the isapi_redirect.log
the url looks correct.
you see: 

[Fri Apr 19 16:07:00 2002]  [jk_isapi_plugin.c (708)]: HttpFilterProc
started
[Fri Apr 19 16:07:00 2002]  [jk_isapi_plugin.c (758)]: In HttpFilterProc
Virtual Host redirection of /priest10428/slide/test
[Fri Apr 19 16:07:00 2002]  [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Apr 19 16:07:00 2002]  [jk_uri_worker_map.c (464)]: Attempting to map
URI '/priest10428/slide/test'
[Fri Apr 19 16:07:00 2002]  [jk_uri_worker_map.c (570)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Fri Apr 19 16:07:00 2002]  [jk_isapi_plugin.c (764)]: In HttpFilterProc
test Default redirection of /slide/test
[Fri Apr 19 16:07:00 2002]  [jk_uri_worker_map.c (447)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Fri Apr 19 16:07:00 2002]  [jk_uri_worker_map.c (464)]: Attempting to map
URI '/slide/test'
[Fri Apr 19 16:07:00 2002]  [jk_uri_worker_map.c (489)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -
/slide/
[Fri Apr 19 16:07:00 2002]  [jk_isapi_plugin.c (774)]: HttpFilterProc
[/slide/test] is a servlet url - should redirect to ajp13
[Fri Apr 19 16:07:00 2002]  [jk_isapi_plugin.c (785)]: HttpFilterProc
fowarding original URI [/slide/test]
[Fri Apr 19 16:07:00 2002]  [jk_isapi_plugin.c (837)]: HttpFilterProc check
if [/slide/test] is points to the web-inf directory



which I believe is the correct chain of events, but the next line should
read:

HttpExtensionProc started

but everything just stops right there and the what is returned is a 500
Server Error.

It is as if IIS never calls the Extension (HttpExtensionProc() method).


Well, that is what I have noticed. Does any of this raise an eyebrow with
you? Please let me know if you would like me
to try something else,or you have any idea.


Thank you 

Robert. 


-Original Message-
From: Remy Maucherat [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 2:36 PM
To: Tomcat Users List
Subject: Re: Tomcat 4+Slide1.0.16+ISAPI Filter


 Has anyone else out there tried get the ISAPI filter
 working with slide 1.0.16 and Tomcat 4.0.x?


 I have been trying for a while with no success.


 It works in a browser, but I cannot get it
 to work with Win2k Webfolders or WebDrive 5.1.

 If anyone knows this to work or can offer any assistance I would
appreciate
 it.

WebDAV is extremely demending on sending data in the request, which is a
problem when using the native connectors as this is usually the last thing
which works. It has been reported that mod_jk works with Apache, but it is
unclear how well it works with the IIS JK.

Remy


--
To unsubscribe:   mailto:[EMAIL PROTECTED]
For additional commands: mailto:[EMAIL PROTECTED]
Troubles with the list: mailto:[EMAIL PROTECTED]

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




RE: AUTHORIZATION HEADER MISSING

2002-04-18 Thread Robert Priest

Trying to build the dll from jakart-tomcat-connectors

Using:

Windows 2000 SP2
Visual C++ 6.0

Any Ideas about the following error:

Deleting intermediate files and output files for project 'isapi - Win32
Debug'.
Configuration: isapi - Win32 Debug
Compiling...
jk_ajp12_worker.c
jk_ajp13.c
jk_ajp13_worker.c
jk_ajp14.c
jk_ajp14_worker.c
jk_ajp_common.c
jk_connect.c
jk_context.c
jk_isapi_plugin.c
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(618) : error
C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(664) : warning
C4018: '==' : signed/unsigned mismatch
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : error
C2065: 'PHTTP_FILTER_AUTH_COMPLETE_INFO' : undeclared identifier
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : error
C2146: syntax error : missing ')' before identifier 'pvNotification'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : warning
C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,void
*,unsigned long *)' differs in levels of indirection from 'int '
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(698) : error
C2059: syntax error : ')'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(699) : error
C2146: syntax error : missing ')' before identifier 'pvNotification'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(699) : warning
C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char
*)' differs in levels of indirection from 'int '
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(699) : error
C2059: syntax error : ')'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(700) : error
C2146: syntax error : missing ')' before identifier 'pvNotification'
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(700) : warning
C4047: '=' : 'int (__stdcall *)(struct _HTTP_FILTER_CONTEXT *,char *,char
*)' differs in levels of indirection from 'int '
c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(700) : error
C2059: syntax error : ')'
jk_jni_worker.c
jk_lb_worker.c
jk_map.c
jk_md5.c
jk_msg_buff.c
jk_nwmain.c
jk_pool.c
jk_sockbuf.c
jk_uri_worker_map.c
jk_util.c
c:\jakarta-tomcat-connectors\jk\native\common\jk_util.c(294) : warning
C4101: 'secret_file' : unreferenced local variable
jk_worker.c
Error executing cl.exe.

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:23 AM
To: 'Robert Priest'
Cc: 'tomcat-dev'
Subject: RE: AUTHORIZATION HEADER MISSING


 De: Robert Priest [mailto:[EMAIL PROTECTED]]
 Enviado el: jueves 18 de abril de 2002 17:09

It was private but should be public.. :)

 Thanks Ignacio,
 
 That is working! 
 
 There seems to be an issue when I first set up a webfolder of 
 continously
 being asked to log in (I was prompted about four times
 when I set up the webfolder), but eventually I was able to 
 get in and see my
 files and folders.


I have no idea what happens.. 

 What version was this fixed, in the 4.0.3 of jk_isapi_plugin.c? 
 Because I the version of the dll I was using, was build from 
 the tomcat 3.3
 tree.
 This is what was specified in the tomcat ajp configuration 
 document for
 configuring tomcat 4
 with IIS (I have attached the document). I built it from the
 jakarta-tomcat tree.
 

Well things are lttle confuse right now, i know, was confusing for me
also :) , jk from tomcat 3.3 is mostly freezed, so everything goes to
j-t-c/jk/native that should be more or less the same that j-t/native
has, from my test i know jni is not working on j-t-c, but that is really
minor, code is there, we need to have time to fix it.. :)

 If I build the one under jakarta-tomcat-connectors, I 
 should get these
 changes, correct?

Correct

 Which one under jakarta-tomcat-connectors do I want to build:
 jk/native/iis or jk/native/isapi?

iis 

(Below are some explanations of what we are talking about )

Saludos ,
Ignacio J. Ortega


 -Original Message-
 From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, April 18, 2002 9:31 AM
 To: 'Robert Priest'
 Subject: RE: AUTHORIZATION HEADER MISSING
 
 
 Hola Robert:
 
 Well the problem with auth in iis are actually 2:
 
 1) 2342 which implies that you can not use IIS native auth 
 wiht tomcat,
 and to have any auth eworking in this env your need to put
 tomcatAuthentication=true, this is the one i've think i've solved..
 that is you will be capable of use native auth in IIs by changing the
 above ajp13 attribute to false, binarie attached.. change the name of
 the dll to fit your configs.
 
 
 2) 5647 related to above, and caused by not implementing
 tomcatAuthentication, tomcatAuthentication=true was working from the
 time the bug was fixed..
 
 Saludos ,
 Ignacio J. Ortega
 
 
  -Mensaje original-
  De: Robert Priest [mailto:[EMAIL PROTECTED]]
  Enviado el: jueves 18

RE: AUTHORIZATION HEADER MISSING

2002-04-18 Thread Robert Priest

Ignacio,

Everthing works on my box locally, but I cannot access my site (with
authentication) from a remote machine.
Neither Webfolders, nor IE, nor WebDrive will work remotely.

Any Ideas.

Is there any updated iis/tomcat configuration info I should have. Could that
be the culprit?

-Original Message-
From: Ignacio J. Ortega [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 11:55 AM
To: 'Robert Priest'
Cc: 'tomcat-dev'
Subject: RE: AUTHORIZATION HEADER MISSING


 c:\jakarta-tomcat-connectors\jk\native\iis\jk_isapi_plugin.c(6
 18) : error
 C2065: 'SF_NOTIFY_AUTH_COMPLETE' : undeclared identifier

You need to download and install the latest Microsoft Platform SDK

Saludos ,
Ignacio J. Ortega

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




ISAPI Filter not working with Webfolders win2k and Webdrive 5.1

2002-03-18 Thread Robert Priest

Can anyone help here:

I am using Tomcat 4.0.3. and the filter from  Tomcat version 3.3. (as is
specified in the AJP instruction page).
I am also running slide 1.0.16

The isapi filter (isapi_redirect.dll) works fine when accessing my
Tomcat/slide server through a browser.

But I am having the following problems when I Try to access Slide with the
following clients:

using WebFolders:

I get The folder you entered does not appear to be valid in a popup.

In  iis_redirect.log, it appears that the url I request to map to  is
disappearing.
For example, If I try to map to http://localhost/slide/test;, the url that
HttpFilterProc sees is:
http://localhost/_vti_inf.html;. Everything goes down hill from there.


using WebDrive:

If i use the same url: http://localhost/slide/test;, the isapi filter
interprets the url just fine.
However, it appears as though IIS never calls  GetExtensionVersion or
HttpExtensionProc. Processing just
stops after HttpFilterProc does its job. The last few lines I see are:

[Fri Mar 15 11:46:48 2002]  [jk_uri_worker_map.c (391)]:
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 -
/slide/
[Fri Mar 15 11:46:54 2002]  [jk_isapi_plugin.c (695)]: HttpFilterProc
[/slide/test] is a servlet url - should redirect to ajp13
[Fri Mar 15 11:46:56 2002]  [jk_isapi_plugin.c (706)]: HttpFilterProc
fowarding original URI [/slide/test]
[Fri Mar 15 11:47:10 2002]  [jk_isapi_plugin.c (744)]: HttpFilterProc check
if [/slide/test] is points to the web-inf directory

I believe the next line shoule be HttpExtensionProc started.

Can anyone offer any help here? It would be greatly appreciated.

Robert Priest.



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