Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-21 Thread Rainer Jung

Thanks for letting us know!

Niki Diulgerov wrote:

For all who will face this problem
disable "integrated windows authentication"
in Authentication and access control options

Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:
Another strange thing which I just discovered is that in mozilla 
firefox (connecting to IIS) if I press cancel on the first window 
asking for user and pass... another one appears with header
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8081

and when I put the username and pass there... it works.
In internet explorer (version 7 ) after pressing cancel there is no 
second window asking for user and pass



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:
Something strange is that the header of the window asking for 
authentication through IIS is:

Enter username and password for "" at http://192.9.202.10:8081

And the window which appears when I connect directly to tomcat :
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8060


(8081 is the port on which IIS works and 8060 is the port where 
tomcat waits for HTTP requests)



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:

Here is the log from isapi_redirect setup with DEBUG level
I'm trying to access the TOMCAT MANAGER link from the default tomcat 
page (with the appropriate user and pass) when I'm trying from IIS 
it just shows again and again the window for user and pass.
When I'm trying to do the same directly on 8080 it works OK. In both 
cases there is nothing in catalina.out that someone tries to access 
/manager (I'm using default tomcat installation with additionally 
assigned romes manager and some more for the tomcat user)





[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(1569): AJP13 protocol: Reuse is OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1528): service() returned OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(2441): recycling connection pool slot=0 for worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1199): Filter started
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1266): Virtual Host redirection of /192.9.202.10:8081/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (597): Attempting to map URI 
'/192.9.202.10:8081/manager/html' from 1 maps
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (609): Attempting to map context URI '/*=client' 
source 'uriworkermap'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (624): Found a wildchar match '/*=client'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1286): check if [/manager/html] is points to the web-inf directory
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1303): [/manager/html] is a servlet url - should redirect to client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1345): fowarding escaped URI [/manager/html]
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(2241): Service protocol=HTTP/1.1 method=GET host=192.9.202.231 
addr=192.9.202.231 name=192.9.202.10 port=8081 auth= user= 
uri=/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_worker.c 
(115): found a worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1513): got a worker for name client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(2498): acquired connection pool slot=0
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(551): ajp marshaling done
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(1935): processing client with 2 retries
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): sending to ajp13 pos=4 len=456 max=8192
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 12 34 01 C4 02 02 00 08 48 54 54 50 2F 31 2E 31  - 
.4..HTTP/1.1
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 001000 00 0D 2F 6D 61 6E 61 67 65 72 2F 68 74 6D 6C  - 
.../manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 002000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 003000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-21 Thread Niki Diulgerov

For all who will face this problem
disable "integrated windows authentication"
in Authentication and access control options

Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:
Another strange thing which I just discovered is that in mozilla 
firefox (connecting to IIS) if I press cancel on the first window 
asking for user and pass... another one appears with header
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8081

and when I put the username and pass there... it works.
In internet explorer (version 7 ) after pressing cancel there is no 
second window asking for user and pass



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:
Something strange is that the header of the window asking for 
authentication through IIS is:

Enter username and password for "" at http://192.9.202.10:8081

And the window which appears when I connect directly to tomcat :
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8060


(8081 is the port on which IIS works and 8060 is the port where 
tomcat waits for HTTP requests)



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:

Here is the log from isapi_redirect setup with DEBUG level
I'm trying to access the TOMCAT MANAGER link from the default tomcat 
page (with the appropriate user and pass) when I'm trying from IIS 
it just shows again and again the window for user and pass.
When I'm trying to do the same directly on 8080 it works OK. In both 
cases there is nothing in catalina.out that someone tries to access 
/manager (I'm using default tomcat installation with additionally 
assigned romes manager and some more for the tomcat user)





[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(1569): AJP13 protocol: Reuse is OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1528): service() returned OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(2441): recycling connection pool slot=0 for worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1199): Filter started
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1266): Virtual Host redirection of /192.9.202.10:8081/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (597): Attempting to map URI 
'/192.9.202.10:8081/manager/html' from 1 maps
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (609): Attempting to map context URI '/*=client' 
source 'uriworkermap'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (624): Found a wildchar match '/*=client'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1286): check if [/manager/html] is points to the web-inf directory
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1303): [/manager/html] is a servlet url - should redirect to client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1345): fowarding escaped URI [/manager/html]
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(2241): Service protocol=HTTP/1.1 method=GET host=192.9.202.231 
addr=192.9.202.231 name=192.9.202.10 port=8081 auth= user= 
uri=/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_worker.c 
(115): found a worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1513): got a worker for name client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(2498): acquired connection pool slot=0
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(551): ajp marshaling done
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(1935): processing client with 2 retries
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): sending to ajp13 pos=4 len=456 max=8192
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 12 34 01 C4 02 02 00 08 48 54 54 50 2F 31 2E 31  - 
.4..HTTP/1.1
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 001000 00 0D 2F 6D 61 6E 61 67 65 72 2F 68 74 6D 6C  - 
.../manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 002000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 003000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(9

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Niki Diulgerov
Another strange thing which I just discovered is that in mozilla firefox 
(connecting to IIS) if I press cancel on the first window asking for 
user and pass... another one appears with header
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8081

and when I put the username and pass there... it works.
In internet explorer (version 7 ) after pressing cancel there is no 
second window asking for user and pass



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:
Something strange is that the header of the window asking for 
authentication through IIS is:

Enter username and password for "" at http://192.9.202.10:8081

And the window which appears when I connect directly to tomcat :
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8060


(8081 is the port on which IIS works and 8060 is the port where tomcat 
waits for HTTP requests)



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:

Here is the log from isapi_redirect setup with DEBUG level
I'm trying to access the TOMCAT MANAGER link from the default tomcat 
page (with the appropriate user and pass) when I'm trying from IIS it 
just shows again and again the window for user and pass.
When I'm trying to do the same directly on 8080 it works OK. In both 
cases there is nothing in catalina.out that someone tries to access 
/manager (I'm using default tomcat installation with additionally 
assigned romes manager and some more for the tomcat user)





[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(1569): AJP13 protocol: Reuse is OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1528): service() returned OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(2441): recycling connection pool slot=0 for worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1199): Filter started
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1266): Virtual Host redirection of /192.9.202.10:8081/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (597): Attempting to map URI 
'/192.9.202.10:8081/manager/html' from 1 maps
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (609): Attempting to map context URI '/*=client' 
source 'uriworkermap'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] 
jk_uri_worker_map.c (624): Found a wildchar match '/*=client'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1286): check if [/manager/html] is points to the web-inf directory
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1303): [/manager/html] is a servlet url - should redirect to client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1345): fowarding escaped URI [/manager/html]
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(2241): Service protocol=HTTP/1.1 method=GET host=192.9.202.231 
addr=192.9.202.231 name=192.9.202.10 port=8081 auth= user= 
uri=/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_worker.c (115): 
found a worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1513): got a worker for name client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(2498): acquired connection pool slot=0
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(551): ajp marshaling done
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(1935): processing client with 2 retries
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): sending to ajp13 pos=4 len=456 max=8192
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 12 34 01 C4 02 02 00 08 48 54 54 50 2F 31 2E 31  - 
.4..HTTP/1.1
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 001000 00 0D 2F 6D 61 6E 61 67 65 72 2F 68 74 6D 6C  - 
.../manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 002000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 003000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 004000 00 0C 31 39 32 2E 39 2E 32 30 32 2E 31 30 00  - 
...192.9.202.10.
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00501F 91 00 00 0A A0 06 00 0A 6B 65 65 70 2D 61 6C  - 
.keep-al
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 006069 76 65 

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Niki Diulgerov
Something strange is that the header of the window asking for 
authentication through IIS is:

Enter username and password for "" at http://192.9.202.10:8081

And the window which appears when I connect directly to tomcat :
Enter username and password for "Tomcat Manager Application" at 
http://192.9.202.22:8060


(8081 is the port on which IIS works and 8060 is the port where tomcat 
waits for HTTP requests)



Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Niki Diulgerov wrote:

Here is the log from isapi_redirect setup with DEBUG level
I'm trying to access the TOMCAT MANAGER link from the default tomcat 
page (with the appropriate user and pass) when I'm trying from IIS it 
just shows again and again the window for user and pass.
When I'm trying to do the same directly on 8080 it works OK. In both 
cases there is nothing in catalina.out that someone tries to access 
/manager (I'm using default tomcat installation with additionally 
assigned romes manager and some more for the tomcat user)





[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(1569): AJP13 protocol: Reuse is OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1528): service() returned OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(2441): recycling connection pool slot=0 for worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1199): Filter started
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1266): Virtual Host redirection of /192.9.202.10:8081/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_uri_worker_map.c 
(597): Attempting to map URI '/192.9.202.10:8081/manager/html' from 1 
maps
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_uri_worker_map.c 
(609): Attempting to map context URI '/*=client' source 'uriworkermap'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_uri_worker_map.c 
(624): Found a wildchar match '/*=client'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1286): check if [/manager/html] is points to the web-inf directory
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1303): [/manager/html] is a servlet url - should redirect to client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1345): fowarding escaped URI [/manager/html]
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(2241): Service protocol=HTTP/1.1 method=GET host=192.9.202.231 
addr=192.9.202.231 name=192.9.202.10 port=8081 auth= user= 
uri=/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_worker.c (115): 
found a worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1513): got a worker for name client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(2498): acquired connection pool slot=0
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(551): ajp marshaling done
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(1935): processing client with 2 retries
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): sending to ajp13 pos=4 len=456 max=8192
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 12 34 01 C4 02 02 00 08 48 54 54 50 2F 31 2E 31  - 
.4..HTTP/1.1
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 001000 00 0D 2F 6D 61 6E 61 67 65 72 2F 68 74 6D 6C  - 
.../manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 002000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 003000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 004000 00 0C 31 39 32 2E 39 2E 32 30 32 2E 31 30 00  - 
...192.9.202.10.
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00501F 91 00 00 0A A0 06 00 0A 6B 65 65 70 2D 61 6C  - 
.keep-al
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 006069 76 65 00 00 0A 6B 65 65 70 2D 61 6C 69 76 65  - 
ive...keep-alive
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 007000 00 03 33 30 30 00 A0 01 00 63 74 65 78 74 2F  - 
...300ctext/
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 008078 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F  - 
xml,application/
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 009078 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F  - 
xml,application/
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00a078 68 74 6D 6C 2B 78 6D 6C 2C 74 65 78 74 2F 68  - 
x

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Niki Diulgerov

Here is the log from isapi_redirect setup with DEBUG level
I'm trying to access the TOMCAT MANAGER link from the default tomcat 
page (with the appropriate user and pass) when I'm trying from IIS it 
just shows again and again the window for user and pass.
When I'm trying to do the same directly on 8080 it works OK. In both 
cases there is nothing in catalina.out that someone tries to access 
/manager (I'm using default tomcat installation with additionally 
assigned romes manager and some more for the tomcat user)





[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(1569): AJP13 protocol: Reuse is OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1528): service() returned OK
[Tue Nov 20 19:12:07.847 2007] [5120:3520] [debug] jk_ajp_common.c 
(2441): recycling connection pool slot=0 for worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1199): Filter started
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1266): Virtual Host redirection of /192.9.202.10:8081/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_uri_worker_map.c 
(597): Attempting to map URI '/192.9.202.10:8081/manager/html' from 1 maps
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_uri_worker_map.c 
(609): Attempting to map context URI '/*=client' source 'uriworkermap'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_uri_worker_map.c 
(624): Found a wildchar match '/*=client'
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1286): check if [/manager/html] is points to the web-inf directory
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1303): [/manager/html] is a servlet url - should redirect to client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1345): fowarding escaped URI [/manager/html]
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(2241): Service protocol=HTTP/1.1 method=GET host=192.9.202.231 
addr=192.9.202.231 name=192.9.202.10 port=8081 auth= user= uri=/manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_worker.c (115): 
found a worker client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_isapi_plugin.c 
(1513): got a worker for name client
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(2498): acquired connection pool slot=0
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(551): ajp marshaling done
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(1935): processing client with 2 retries
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): sending to ajp13 pos=4 len=456 max=8192
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 12 34 01 C4 02 02 00 08 48 54 54 50 2F 31 2E 31  - 
.4..HTTP/1.1
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 001000 00 0D 2F 6D 61 6E 61 67 65 72 2F 68 74 6D 6C  - 
.../manager/html
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 002000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 003000 00 0D 31 39 32 2E 39 2E 32 30 32 2E 32 33 31  - 
...192.9.202.231
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 004000 00 0C 31 39 32 2E 39 2E 32 30 32 2E 31 30 00  - 
...192.9.202.10.
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00501F 91 00 00 0A A0 06 00 0A 6B 65 65 70 2D 61 6C  - 
.keep-al
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 006069 76 65 00 00 0A 6B 65 65 70 2D 61 6C 69 76 65  - 
ive...keep-alive
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 007000 00 03 33 30 30 00 A0 01 00 63 74 65 78 74 2F  - 
...300ctext/
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 008078 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F  - 
xml,application/
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 009078 6D 6C 2C 61 70 70 6C 69 63 61 74 69 6F 6E 2F  - 
xml,application/
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00a078 68 74 6D 6C 2B 78 6D 6C 2C 74 65 78 74 2F 68  - 
xhtml+xml,text/h
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00b074 6D 6C 3B 71 3D 30 2E 39 2C 74 65 78 74 2F 70  - 
tml;q=0.9,text/p
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00c06C 61 69 6E 3B 71 3D 30 2E 38 2C 69 6D 61 67 65  - 
lain;q=0.8,image
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00d02F 70 6E 67 2C 2A 2F 2A 3B 71 3D 30 2E 35 00 A0  - 
/png,*/*;q=0.5..
[Tue Nov 20 19:12:09.644 2007] [5120:3520] [debug] jk_ajp_common.c 
(911): 00e002 00 1E 49 53 4F 2D 38 38 35 39 2D 31 2C 75 74  - 
...ISO-8859

Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Rainer Jung

Niki Diulgerov wrote:

Yes it works when I connect directly to tomcat

Best regards,


Activate an access log in tomcat and check, if you are really talking to 
the right instance. Even if access gets denied, one access log line 
should show up.


What's the header text of the basic authentication box, that asks for 
the credentials?


What do you get in the log file, if you increase the log level of the 
isapi redirector to debug? It should contain the information, if the 
request actually gets forwarded to tomcat. You might want to post the 
log lines resulting from an attempt. Please replace credentials 
contained in the log file by XXX before posting :)


Regards,

Rainer



Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Rainer Jung wrote:

Niki Diulgerov wrote:

Hello there,
I'm trying to setup IIS6 + apache_tomcat running on different machine.
I read alot on internet and succeeded to implement this but now 
(maybe very simple) problem appeared.

if I set in uriworker.maps
/*=client
where client is my worker
and open the site ... default tomcat home page appears
but when I try to open MANAGER link the separate window where I have 
to put the username and password appears again and again even that 
I'm writing the correct user and password.
It seems to be some problem with the basic authentication implemented 
in tomcat.

any application works fine but the basic authentication not.
Someone solved such problem ?


Does it work, when you connect directly to the tomcat http port (by 
default 8080)? If no, it doesn't have to do with IIS, but with your 
user and group setup.


Regards,

Rainer


-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Niki Diulgerov

Yes it works when I connect directly to tomcat

Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




Rainer Jung wrote:

Niki Diulgerov wrote:

Hello there,
I'm trying to setup IIS6 + apache_tomcat running on different machine.
I read alot on internet and succeeded to implement this but now 
(maybe very simple) problem appeared.

if I set in uriworker.maps
/*=client
where client is my worker
and open the site ... default tomcat home page appears
but when I try to open MANAGER link the separate window where I have 
to put the username and password appears again and again even that 
I'm writing the correct user and password.
It seems to be some problem with the basic authentication implemented 
in tomcat.

any application works fine but the basic authentication not.
Someone solved such problem ?


Does it work, when you connect directly to the tomcat http port (by 
default 8080)? If no, it doesn't have to do with IIS, but with your 
user and group setup.


Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Rainer Jung

Niki Diulgerov wrote:

Hello there,
I'm trying to setup IIS6 + apache_tomcat running on different machine.
I read alot on internet and succeeded to implement this but now (maybe 
very simple) problem appeared.

if I set in uriworker.maps
/*=client
where client is my worker
and open the site ... default tomcat home page appears
but when I try to open MANAGER link the separate window where I have to 
put the username and password appears again and again even that I'm 
writing the correct user and password.
It seems to be some problem with the basic authentication implemented in 
tomcat.

any application works fine but the basic authentication not.
Someone solved such problem ?


Does it work, when you connect directly to the tomcat http port (by 
default 8080)? If no, it doesn't have to do with IIS, but with your user 
and group setup.


Regards,

Rainer

-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



isapi_redirect+IIS+tomcat basic authentication

2007-11-20 Thread Niki Diulgerov

Hello there,
I'm trying to setup IIS6 + apache_tomcat running on different machine.
I read alot on internet and succeeded to implement this but now (maybe 
very simple) problem appeared.

if I set in uriworker.maps
/*=client
where client is my worker
and open the site ... default tomcat home page appears
but when I try to open MANAGER link the separate window where I have to 
put the username and password appears again and again even that I'm 
writing the correct user and password.
It seems to be some problem with the basic authentication implemented in 
tomcat.

any application works fine but the basic authentication not.
Someone solved such problem ?

--
Best regards,

Nikolay Diulgerov
Network Administrator
E-mail: [EMAIL PROTECTED]
Telephone : +33 4 89 87 77 77
Fax :   +33 4 89 87 77 00
Web: http://www.codix-france.com




-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]