Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Struts - A MVC web framework
Tomcat - JSP/Servlet container
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
JSP - A mailing list about Java Server Pages specification and reference
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
HTTP 403 - isapi_redirector

HTTP 403 - isapi_redirector

2003-10-16       - By Dionne, Patrice

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

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 (See http://ISO-8859.ora-code.com)-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)]: Into jk_endpoint_t::done,
recycling connection

The environement the server is in use NAT (Network Address Translation -
Definition http://www.webopedia.com/TERM/N/NAT.html). Could that be a problem?

I've got a similaire environement but whitout NAT and everything is fine there.
I get the authentification window when I access a restricted ressource. So my
guest is that isapi_redirector.dll block the response (pop-up window asking for
credentials) because of NAT. Any suggestions would be helpfull.

By the way, I tried a FORM based authentification and I had the same behavior
so it is not related to the authentification methode.

Thanks for your time

Pat
patrice.dionne@(protected)


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.