tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Beare <nickbearetom...@gmail.com>
Subject Re: HTTP Error 403 - Forbidden: Access is denied - IIS6 & Tomcat 6.0 Connector
Date Mon, 08 Nov 2010 14:45:24 GMT
I have managed to get several installations working (although none are
actually live - all are proof of concept installs).

Perhaps you could paste your mapping file and worker properties file into an
email to the user list so I can take a look.

Looking more closely at your log file, it hints that it is attempting to
redirect through port 8080, which seems surprising (or the examples use 8009
for AJP - which is what I use). This should just be the Tomcat (or in our
case JBoss port).
Have you used the default website on your IIS server for redirection, or
have you used a new one?
What URL are you typing into your browser address window?

Regards
Nick




On Mon, Nov 8, 2010 at 2:17 PM, Nick Beare <nickbearetomcat@gmail.com>wrote:

> Hi Anthony,
>
> Is IIS service running on your server? If so, can you see the the
> default/home/index.html page on your IIS site. I have set up an index.html
> on mine so I can navigate there to check IIS operating correctly before
> setting up/checking out the redirect link.
> Have you checked your Event logs for any errors? I found them illuminating
> when I had a bad dll.
> Have you looked in your W3SVC logs (typically in
> C:\WINDOWS\system32\LogFiles)?
>
> Now perhaps you can help me? I have never been able to get any output
> logged to the ISAPI redirect log. I have been using 1.2.30.0 dll.
> I posted a question earlier today, but have had no response.
> You are using an almost identical setup to ourselves and you have manage to
> get output in your redirect log.
> I have set logging level to debug (log_level key = registry set to 'debug')
> I have set the log_file key to 'C:\Program Files\Apache Software
> Foundation\Jakarta Isapi Redirector\log\isapi_redirect.log'
> Permissions on the directory are set to all except special, for the
> administrator, and 'read and execute', 'list folder contents', 'Read' and
> 'Write' for the Internet Guest Account.
> I have not created an empty log file (i.e. have left it to the dll to
> create the log in the first instance.
>
> Regards
> Nick
>
>
>
> On Mon, Nov 8, 2010 at 1:46 PM, Anthony Tuffour <
> Anthony.Tuffour@hackney.gov.uk> wrote:
>
>> Hi all,
>>
>> I managed to setup IIS ISAPI redirect successfully to feed a Geoserver
>> wms to IIS web application.
>> I used the configuration guide below to do the set up;
>> http://tomcat.apache.org/connectors-doc-archive/jk2/jk/iishowto.html
>> http://tomcat.apache.org/connectors-doc/reference/iis.html
>> http://tomcat.apache.org/tomcat-3.3-doc/tomcat-iis-howto.html
>>
>> My system setup is Windows 2003 Server, IIS 6.0, Tomcat 6.0 and the
>> Connector version is 1.2.31.
>> Everything was working successfully and tested it for almost 2days. But
>> all of a sudden the application went down with the following error
>> message:
>>
>> Service Temporary Unavailable!
>> The server is temporarily unable to service your request due to
>> maintenance downtime or capacity problems. Please try again later.
>> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)
>>
>> I changed the application pool to a different one and I am getting the
>> error message "You are not authorized to view this page. HTTP Error 403
>> - Forbidden: Access is denied. "
>>
>> The error below is from ISAPI_Redirect.log;
>>
>> [Mon Nov 08 12:04:17.363 2010] [4604:3188] [info]
>> init_jk::jk_isapi_plugin.c (2562): Starting
>> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297)[Mon Nov 08 12:04:17.379
>> 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446):
>> Duplicate key '/geoserver/*' detected - previous value 'worker1' will be
>> overwritten with 'worker1;fail_on_status=-404,-500,503'.[Mon Nov 08
>> 12:04:17.379 2010] [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c
>> (446): Duplicate key '/geoserver/*' detected - previous value
>> 'worker1;fail_on_status=-404,-500,503' will be overwritten with
>> 'worker1;use_server_errors=400'.[Mon Nov 08 12:04:17.410 2010]
>> [4604:3188] [warn] jk_map_handle_duplicates::jk_map.c (446): Duplicate
>> key '/geoserver/*' detected - previous value
>> 'worker1;use_server_errors=400' will be overwritten with
>> 'worker1;use_server_errors=500'.[Mon Nov 08 12:04:17.441 2010]
>> [4604:3188] [error] ajp_validate::jk_ajp_common.c (2622): worker worker1
>> can't resolve tomcat address www.map.hackney.gov.uk:8080[Mon Nov 08
>> 12:04:19.722 2010] [4604:3188] [error] ajp_validate::jk_ajp_common.c
>> (2622): worker worker2 can't resolve tomcat address otherhost[Mon Nov 08
>> 12:04:19.738 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'myworker' in uri map post processing. [Mon Nov 08
>> 12:04:19.754 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'defworker' in uri map post processing.
>> [Mon Nov 08 12:04:19.754 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'defworker' in uri map post processing.[Mon Nov 08
>> 12:04:19.754 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
>> 2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
>> Could not find worker with name 'wlb' in uri map post processing.[Mon
>> Nov 08 12:04:19.754 2010] [4604:3188] [error]
>> uri_worker_map_ext::jk_uri_worker_map.c (506): Could not find worker
>> with name 'wlb' in uri map post processing.[Mon Nov 08 12:04:19.754
>> 2010] [4604:3188] [error] uri_worker_map_ext::jk_uri_worker_map.c (506):
>> Could not find worker with name 'jkstatus' in uri map post
>> processing.[Mon Nov 08 12:04:19.754 2010] [4604:3188] [info]
>> init_jk::jk_isapi_plugin.c (2741): Jakarta/ISAPI/isapi_redirector/1.2.31
>> (1026297) initialized[Mon Nov 08 12:04:23.629 2010] [4604:2720] [info]
>> TerminateFilter::jk_isapi_plugin.c (2271):
>> Jakarta/ISAPI/isapi_redirector/1.2.31 (1026297) stopping
>> I have tried changing the permissions but not luck. Under IIS ISAPI
>> filters, the ISAPI redirector is loaded and the green arrow is pointing
>> upwards and priority is high.
>> Accessing the same URL from port 8080 displays the page without any
>> problems.
>>
>> Is there anything that needs to get back to normal and searched and
>> tried everything in the book without success.
>>
>> Any help will be welcomed.
>>
>> Thank you.
>>
>> Anthony.
>>
>>
>>
>>
>>
>> Hackney Council may exercise its right to intercept any communication, the
>> only exception to this would be confidential survey data, with any employee
>> or agent of the Council using its telephony or data networks. By using these
>> networks you give your consent to Hackney Council monitoring and recording
>> your communication.
>>
>> If you have received this e-mail in error please delete it immediately and
>> contact the sender.
>>
>> For further information about Hackney Council policies please contact
>> Hackney Service Centre on: 020 8356 3000
>>
>>
>> **********************************************************************
>>
>> London Borough of Hackney may exercise its right to intercept any
>> communication on its networks - for more information see
>>
>> http://www.hackney.gov.uk/email_disclaimer.html
>>
>> **********************************************************************
>>
>> This message has been scanned for malware by Websense. www.websense.com
>>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message