RE: IIS and Tomcat

2003-10-23 Thread Dionne, Patrice
Yes, you can.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html

-Original Message-
From: Matt Raible [mailto:[EMAIL PROTECTED]
Sent: 22 octobre, 2003 14:50
To: [EMAIL PROTECTED]
Subject: IIS and Tomcat


I've integrated Apache with Tomcat on numerous occasions, but never on 
IIS.  We have the following scenario:

1.  We want to have a domain name - i.e. www.myresort.com - that is 
serviced by IIS.
2. We want to map any requests to www.myresort.com to Tomcat's 
/myresort application.

Is this possible? I know it is with Apache, but I'm not sure about IIS. 
 From what I've seen from the documentation, IIS has to have some sort 
of indicator, i.e. /jk/*

Thanks,

Matt


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


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



RE: HTTP 403 - isapi_redirector

2003-10-22 Thread Dionne, Patrice
Ok, I fixed the problem.

I figured out that I was using Tomcat 4.1.16 in production and Tomcat 4.1.24 in 
preproduction. So I uninstalled tomcat 4.1.16 and installed tomcat 4.1.24 and 
everything was fine. 

But still, I don't know what was wrong with version 4.1.16... anyway it is fixed now.

So much wasted time


-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 17 octobre, 2003 14:02
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Sorry, out of my range of experience, if you figure it out, will you send
out the solution?


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 3:36 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


No, the login.jsp page is not under a restricted folder and is not spécified
as a restricted ressource. 

I can access it directly without any authentification.

The login form is well configured in the web.xml because if I bypass IIS and
access directly a restricted ressource on tomcat (on port 8080) the login
form is displayed.


-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:29
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Is your form inside the secured folder?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 3:25 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


This is the environement:

IIS 5 
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1 don't make any difference



-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:20
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


What version of IIS?

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Do you get the form if you go directly to it through IIS, I mean
http://host/site/form.jsp 


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 1:51 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


I'm not getting the form if I go via IIS on port 80 but if I try directly
via Tomcat on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp

RE: Using tomcat with IIS

2003-10-21 Thread Dionne, Patrice
Your dll and worker seem well configured from what I can see in the log.

Did you try to access a ressource into the /examples or /admin webapp?

Is this working http://Tomcat-host:Tomcat-port/ROOT/login.html ?

-Original Message-
From: Langenfeld, Jens [mailto:[EMAIL PROTECTED]
Sent: 21 octobre, 2003 10:17
To: [EMAIL PROTECTED]
Subject: Using tomcat with IIS


Hello Mr Helpman,

for an amount of time, I try to use IIS to serve my JBOSS/TOMCAT servlet -context. It 
is part of a commercial ERP, wich usually works with apache. Even, without any 
dedicated webserver, only tomcat/jboss it works ok. I did everything as described in 
your good and understandable IIS-Howto and so the samples are served perfectly. But my 
context is totally ignored (404-Error). 

the uriworkermap.properties looks like that:

default.worker=ajp13

/admin=$(default.worker)
/admin/*=$(default.worker)
/examples=$(default.worker)
/examples/*=$(default.worker)

if I add lines like:
/ROOT=$(default.worker)
/ROOT/*=$(default.worker)

I get IIS iis_redirect.log entries like the following (1):



the display of the tomcat.bat run jkconf is  attached at the end of the mail (2).

I work with jboss 2.2.2 tomcat 3.3.1 IIS 5

If you need any further information, tell me. I' ll be grateful for any kind of help.

so long, Jens

(1)


[Tue Oct 21 15:20:32 2003]  [jk_uri_worker_map.c (351)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Oct 21 15:20:32 2003]  [jk_uri_worker_map.c (368)]: Attempting to map URI 
'/localhost/ROOT/login.html'
[Tue Oct 21 15:20:32 2003]  [jk_uri_worker_map.c (456)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (678)]: In HttpFilterProc test Default 
redirection of /ROOT/login.html
[Tue Oct 21 15:20:32 2003]  [jk_uri_worker_map.c (351)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Oct 21 15:20:32 2003]  [jk_uri_worker_map.c (368)]: Attempting to map URI 
'/ROOT/login.html'
[Tue Oct 21 15:20:32 2003]  [jk_uri_worker_map.c (391)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match ajp13 - /ROOT/
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (688)]: HttpFilterProc 
[/ROOT/login.html] is a servlet url - should redirect to ajp13
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (737)]: HttpFilterProc check if 
[/ROOT/login.html] is points to the web-inf directory
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (777)]: HttpExtensionProc started
[Tue Oct 21 15:20:32 2003]  [jk_worker.c (123)]: Into wc_get_worker_for_name ajp13
[Tue Oct 21 15:20:32 2003]  [jk_worker.c (127)]: wc_get_worker_for_name, done  found a 
worker
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (799)]: HttpExtensionProc got a worker 
for name ajp13
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (865)]: Into jk_worker_t::get_endpoint
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (775)]: Into jk_endpoint_t::service
[Tue Oct 21 15:20:32 2003]  [jk_ajp13.c (403)]: Into ajp13_marshal_into_msgb
[Tue Oct 21 15:20:32 2003]  [jk_ajp13.c (537)]: ajp13_marshal_into_msgb - Done
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (206)]: sending to ajp13 #515
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (645)]: send_request 2: request body to 
send 0 - request body to resend 0
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (258)]: received from ajp13 #45
[Tue Oct 21 15:20:32 2003]  [jk_ajp13.c (584)]: ajp13_unmarshal_response: status = 404
[Tue Oct 21 15:20:32 2003]  [jk_ajp13.c (591)]: ajp13_unmarshal_response: Number of 
headers is = 2
[Tue Oct 21 15:20:32 2003]  [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[0] 
[Content-Type] = [text/html]
[Tue Oct 21 15:20:32 2003]  [jk_ajp13.c (634)]: ajp13_unmarshal_response: Header[1] 
[Content-Length] = [176]
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (415)]: Into 
jk_ws_service_t::start_response
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (258)]: received from ajp13 #180
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (549)]: Into jk_ws_service_t::write
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (258)]: received from ajp13 #2
[Tue Oct 21 15:20:32 2003]  [jk_isapi_plugin.c (811)]: HttpExtensionProc service() 
returned OK
[Tue Oct 21 15:20:32 2003]  [jk_ajp13_worker.c (549)]: Into jk_endpoint_t::done
[Tue Oct 21 15:23:03 2003]  [jk_isapi_plugin.c (626)]: HttpFilterProc started
[Tue Oct 21 15:23:03 2003]  [jk_isapi_plugin.c (672)]: In HttpFilterProc Virtual Host 
redirection of /localhost/index.html
[Tue Oct 21 15:23:03 2003]  [jk_uri_worker_map.c (351)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Tue Oct 21 15:23:03 2003]  [jk_uri_worker_map.c (368)]: Attempting to map URI 
'/localhost/index.html'
[Tue Oct 21 15:23:03 2003]  [jk_uri_worker_map.c (456)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Tue Oct 21 15:23:03 2003]  [jk_isapi_plugin.c (678)]: In HttpFilterProc test Default 
redirection of /index.html
[Tue Oct 21 15:23:03 2003]  [jk_uri_worker_map.c (351)]: Into 

RE: HTTP 403 - isapi_redirector

2003-10-20 Thread Dionne, Patrice
Yes, I will. But so far it doesn't look good! Hopefully, I will find something. Or at 
least a work around.

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 17 octobre, 2003 14:02
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Sorry, out of my range of experience, if you figure it out, will you send
out the solution?


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 3:36 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


No, the login.jsp page is not under a restricted folder and is not spécified
as a restricted ressource. 

I can access it directly without any authentification.

The login form is well configured in the web.xml because if I bypass IIS and
access directly a restricted ressource on tomcat (on port 8080) the login
form is displayed.


-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:29
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Is your form inside the secured folder?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 3:25 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


This is the environement:

IIS 5 
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1 don't make any difference



-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:20
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


What version of IIS?

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Do you get the form if you go directly to it through IIS, I mean
http://host/site/form.jsp 


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 1:51 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


I'm not getting the form if I go via IIS on port 80 but if I try directly
via Tomcat on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default

RE: HTTP Connect support

2003-10-17 Thread Dionne, Patrice
You should use Apache instead.


-Original Message-
From: William Bondy [mailto:[EMAIL PROTECTED]
Sent: 17 octobre, 2003 11:37
To: [EMAIL PROTECTED]
Subject: HTTP Connect support


I would like to possibly use tomcat to act as a proxy server and handle
proxy connections, how does Tomcat handle HTTP Connect methods, or does it?

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



HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied when I 
try to access a protected ressource(in web.xml) via IIS on port 80 which redirect to a 
Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a BASIC 
authentification. But the thing is that I never get the pop-up window asking for my 
credentials (username/password). So, I never get the chance to authentificate myself 
(username/password).

I'm able to surf any non-restricted ressources on the webapp without any problem. So, 
the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port 8080 
(bypassing IIS) and I received the pop-up window asking for my credentials 
(username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what I get when 
I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc started
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In HttpFilterProc Virtual Host 
redirection of /206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI 
'/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]: 
jk_uri_worker_map_t::map_uri_to_worker, done without a match
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default 
redirection of /dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into 
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map URI 
'/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (502)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a context match testWorker - /dpi/
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (558)]: 
jk_uri_worker_map_t::map_uri_to_worker, Found a suffix match testWorker - *.jsp
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (775)]: HttpFilterProc 
[/dpi/export/viewfiles.jsp] is a servlet url - should redirect to testWorker
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (838)]: HttpFilterProc check if 
[/dpi/export/viewfiles.jsp] is points to the web-inf directory
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started
[Thu Oct 16 10:08:16 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name testWorker
[Thu Oct 16 10:08:16 2003]  [jk_worker.c (136)]: wc_get_worker_for_name, done  found a 
worker
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker 
for name testWorker
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1391)]: Into jk_worker_t::get_endpoint
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1435)]: In 
jk_endpoint_t::ajp_get_endpoint, time elapsed since last request = 14 seconds
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1107)]: Into jk_endpoint_t::service
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (295)]: Into ajp_marshal_into_msgb
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (432)]: ajp_marshal_into_msgb - Done
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (640)]: sending to ajp13 #437
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (882)]: ajp_send_request 2: request body 
to send 0 - request body to resend 0
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (727)]: received from ajp13 #170
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (483)]: ajp_unmarshal_response: status = 
403
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (488)]: ajp_unmarshal_response: Number of 
headers is = 5
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[0] 
[Pragma] = [No-cache]
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[1] 
[Cache-Control] = [no-cache]
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[2] 
[Expires] = [Thu, 01 Jan 1970 00:00:00 GMT]
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[3] 
[Content-Type] = [text/html;charset=ISO-8859-1]
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[4] 
[Content-Language] = [en-US]
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (432)]: Into 
jk_ws_service_t::start_response
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (727)]: received from ajp13 #843
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (566)]: Into jk_ws_service_t::write
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (727)]: received from ajp13 #2
[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (925)]: HttpExtensionProc service() 
returned OK
[Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1369)]: 

RE: HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /dpi/export/viewfiles.jsp [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/dpi/export/viewfiles.jsp' [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match testWorker - /dpi/ [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
suffix match testWorker - *.jsp [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (775)]: HttpFilterProc [/dpi/export/viewfiles.jsp] is a
servlet url - should redirect to testWorker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/dpi/export/viewfiles.jsp] is points to the web-inf directory [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Thu
Oct 16 10:08:16 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_worker.c (136)]:
wc_get_worker_for_name, done  found a worker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1391)]: Into
jk_worker_t::get_endpoint [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(1435)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed since last request
= 14 seconds [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1107)]: Into
jk_endpoint_t::service [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (295)]:
Into ajp_marshal_into_msgb [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(432)]: ajp_marshal_into_msgb - Done [Thu Oct 16 10:08:16 2003]
[jk_ajp_common.c (640)]: sending to ajp13 #437 [Thu Oct 16 10:08:16 2003]
[jk_ajp_common.c (882)]: ajp_send_request 2: request body to send 0 -
request body to resend 0 [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(727)]: received from ajp13 #170 [Thu Oct 16 10:08:16 2003]
[jk_ajp_common.c (483)]: ajp_unmarshal_response: status = 403 [Thu Oct 16
10:08:16 2003]  [jk_ajp_common.c (488)]: ajp_unmarshal_response: Number of
headers is = 5 [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]:
ajp_unmarshal_response: Header[0] [Pragma] = [No-cache] [Thu Oct 16 10:08:16
2003]  [jk_ajp_common.c (532)]: ajp_unmarshal_response: Header[1]
[Cache-Control] = [no-cache] [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(532)]: ajp_unmarshal_response: Header[2] [Expires] = [Thu, 01 Jan 1970
00:00:00 GMT] [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (532)]:
ajp_unmarshal_response: Header[3] [Content-Type] =
[text/html;charset=ISO-8859-1] [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(532

RE: HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
I'm not getting the form if I go via IIS on port 80 but if I try directly via Tomcat 
on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /dpi/export/viewfiles.jsp [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/dpi/export/viewfiles.jsp' [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match testWorker - /dpi/ [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
suffix match testWorker - *.jsp [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (775)]: HttpFilterProc [/dpi/export/viewfiles.jsp] is a
servlet url - should redirect to testWorker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/dpi/export/viewfiles.jsp] is points to the web-inf directory [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Thu
Oct 16 10:08:16 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_worker.c (136)]:
wc_get_worker_for_name, done  found a worker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1391)]: Into
jk_worker_t::get_endpoint [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(1435)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed since last request
= 14 seconds [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1107)]: Into
jk_endpoint_t::service [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (295)]:
Into ajp_marshal_into_msgb [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(432)]: ajp_marshal_into_msgb - Done [Thu Oct 16 10:08:16 2003]
[jk_ajp_common.c (640)]: sending to ajp13 #437 [Thu Oct 16 10:08:16 2003]
[jk_ajp_common.c (882)]: ajp_send_request 2: request body to send 0 -
request body to resend 0 [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(727)]: received from ajp13 #170 [Thu Oct 16 10:08:16 2003] [jk_ajp_common.c
(483)]: ajp_unmarshal_response: status = 403 [Thu Oct 16 10:08:16 2003]
[jk_ajp_common.c (488)]: ajp_unmarshal_response: Number

RE: HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
No, I don't get the form if go through IIS.

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:19
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Do you get the form if you go directly to it through IIS, I mean
http://host/site/form.jsp 


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 1:51 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


I'm not getting the form if I go via IIS on port 80 but if I try directly
via Tomcat on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /dpi/export/viewfiles.jsp [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/dpi/export/viewfiles.jsp' [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match testWorker - /dpi/ [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
suffix match testWorker - *.jsp [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (775)]: HttpFilterProc [/dpi/export/viewfiles.jsp] is a
servlet url - should redirect to testWorker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/dpi/export/viewfiles.jsp] is points to the web-inf directory [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Thu
Oct 16 10:08:16 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_worker.c (136)]:
wc_get_worker_for_name, done  found a worker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1391)]: Into
jk_worker_t::get_endpoint [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c
(1435)]: In jk_endpoint_t::ajp_get_endpoint, time elapsed since last request
= 14 seconds [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1107)]: Into
jk_endpoint_t::service [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (295)]:
Into ajp_marshal_into_msgb [Thu Oct 16 10:08:16 2003

RE: HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
This is the environement:

IIS 5 
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1 don't make any difference



-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:20
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


What version of IIS?

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Do you get the form if you go directly to it through IIS, I mean
http://host/site/form.jsp 


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 1:51 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


I'm not getting the form if I go via IIS on port 80 but if I try directly
via Tomcat on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /dpi/export/viewfiles.jsp [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/dpi/export/viewfiles.jsp' [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match testWorker - /dpi/ [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
suffix match testWorker - *.jsp [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (775)]: HttpFilterProc [/dpi/export/viewfiles.jsp] is a
servlet url - should redirect to testWorker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/dpi/export/viewfiles.jsp] is points to the web-inf directory [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (878)]: HttpExtensionProc started [Thu
Oct 16 10:08:16 2003]  [jk_worker.c (132)]: Into wc_get_worker_for_name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_worker.c (136)]:
wc_get_worker_for_name, done  found a worker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (913)]: HttpExtensionProc got a worker for name
testWorker [Thu Oct 16 10:08:16 2003]  [jk_ajp_common.c (1391)]: Into
jk_worker_t::get_endpoint [Thu Oct 16 10:08:16 2003

RE: HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
No, the login.jsp page is not under a restricted folder and is not spécified as a 
restricted ressource. 

I can access it directly without any authentification.

The login form is well configured in the web.xml because if I bypass IIS and access 
directly a restricted ressource on tomcat (on port 8080) the login form is displayed.


-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:29
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Is your form inside the secured folder?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 3:25 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


This is the environement:

IIS 5 
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1 don't make any difference



-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:20
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


What version of IIS?

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Do you get the form if you go directly to it through IIS, I mean
http://host/site/form.jsp 


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 1:51 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


I'm not getting the form if I go via IIS on port 80 but if I try directly
via Tomcat on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /dpi/export/viewfiles.jsp [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/dpi/export/viewfiles.jsp' [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match testWorker - /dpi/ [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
suffix match testWorker - *.jsp [Thu Oct 16 10:08:16 2003

RE: HTTP 403 - isapi_redirector

2003-10-16 Thread Dionne, Patrice
What have you specified in the uriworkermap.properties file?



-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:26
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Ahh, I get 404's on all pages ending in jsp on IIS 6, the ones ending in html are fine.

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 4:25 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


This is the environement:

IIS 5 
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1 don't make any difference



-Original Message-
From: Hart, Justin [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 16:20
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


What version of IIS?

-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 4:19 PM
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


Do you get the form if you go directly to it through IIS, I mean
http://host/site/form.jsp 


-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 1:51 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


I'm not getting the form if I go via IIS on port 80 but if I try directly
via Tomcat on port 8080 I get it. So the set up (web.xml) is fine on tomcat.



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 14:04
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


With form based authentication, are you getting the form?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 12:18 PM
To: Tomcat Users List
Subject: RE: HTTP 403 - isapi_redirector


Thanks James, I did try your solution but nothing changed



-Original Message-
From: Watkins, James [mailto:[EMAIL PROTECTED]
Sent: 16 octobre, 2003 12:06
To: 'Tomcat Users List'
Subject: RE: HTTP 403 - isapi_redirector


I ran into the same problem and switched to using a form based
authentication which seems to work fine. It seems to be some problem with
iis intercepting the login info?

-Original Message-
From: Dionne, Patrice [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 16, 2003 11:00 AM
To: [EMAIL PROTECTED]
Subject: HTTP 403 - isapi_redirector


Hi all,

Environement:
IIS 5 (isapi_redirector.dll) (listen on port 80)
Tomcat 4.1.24 (listen on port 8080)
Win2k Avanced Server
Browser: IE 6 or Netscape 7.1

Here is my problem.

I get a HTTP Status 403 - Access to the requested resource has been denied
when I try to access a protected ressource(in web.xml) via IIS on port 80
which redirect to a Tomcat 4.1.24 on port 8080.

Not suprising because the ressource is secured into the web.xml. I use a
BASIC authentification. But the thing is that I never get the pop-up window
asking for my credentials (username/password). So, I never get the chance to
authentificate myself (username/password).

I'm able to surf any non-restricted ressources on the webapp without any
problem. So, the isapi_redirector is well configured.

I've tried to access a protected ressource on the webapp directly on port
8080 (bypassing IIS) and I received the pop-up window asking for my
credentials (username/password). So everything is fine with Tomcat.

I've set the log level to debug the isapi_redirector.dll and this is what
I get when I try to access a restricted ressource:

[Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (696)]: HttpFilterProc
started [Thu Oct 16 10:08:16 2003]  [jk_isapi_plugin.c (759)]: In
HttpFilterProc Virtual Host redirection of
/206.162.174.213/dpi/export/viewfiles.jsp
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (460)]: Into
jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/206.162.174.213/dpi/export/viewfiles.jsp'
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (599)]:
jk_uri_worker_map_t::map_uri_to_worker, done without a match [Thu Oct 16
10:08:16 2003]  [jk_isapi_plugin.c (765)]: In HttpFilterProc test Default
redirection of /dpi/export/viewfiles.jsp [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (460)]: Into jk_uri_worker_map_t::map_uri_to_worker
[Thu Oct 16 10:08:16 2003]  [jk_uri_worker_map.c (477)]: Attempting to map
URI '/dpi/export/viewfiles.jsp' [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (502)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
context match testWorker - /dpi/ [Thu Oct 16 10:08:16 2003]
[jk_uri_worker_map.c (558)]: jk_uri_worker_map_t::map_uri_to_worker, Found a
suffix match testWorker - *.jsp [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (775)]: HttpFilterProc [/dpi/export/viewfiles.jsp] is a
servlet url - should redirect to testWorker [Thu Oct 16 10:08:16 2003]
[jk_isapi_plugin.c (838)]: HttpFilterProc check if
[/dpi/export/viewfiles.jsp] is points