Mar 3, 2010 10:12 PM
Serving TeamCity pages through IIS via Tomcat connector
Hi
I'm trying to get TeamCity running on a server that already has a bunch of sites running under IIS on port 80. I want to be able to access teamcity via a nice host header domain name like "teamcity.mycompany.server". On the server itself, I've installed TeamCity and tested it running at localhost:8083, and it's working fine. Having followed the instructions at:
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
I can see an isapi.log file being written to in c:\teamcity\logs, but in the browser at http://teamcity.mycompany.server I see only:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
I get the feeling I'm very close, but I just need a hand getting the final piece of the jigsaw in! I think I might need to do something in my (currently empty) workers.properties and uriworkers.properties files? Or possible some sort of catalina config?
Any pointers gratefully received....
Lee
PS
The contents of my isapi.log file are below:
[Wed Mar 03 18:55:48.031 2010] [4736:3092] [debug] jk_util.c (459): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S.000 %Y] '
[Wed Mar 03 18:55:48.078 2010] [4736:3092] [info] jk_isapi_plugin.c (2403): Starting Jakarta/ISAPI/isapi_redirector/1.2.30
[Wed Mar 03 18:55:48.093 2010] [4736:3092] [debug] jk_isapi_plugin.c (2421): Detected IIS version 6.0
[Wed Mar 03 18:55:48.125 2010] [4736:3092] [debug] jk_isapi_plugin.c (2426): Using registry.
[Wed Mar 03 18:55:48.140 2010] [4736:3092] [debug] jk_isapi_plugin.c (2429): Using log file c:\teamcity\logs\isapi.log.
[Wed Mar 03 18:55:48.156 2010] [4736:3092] [debug] jk_isapi_plugin.c (2430): Using log level 1.
[Wed Mar 03 18:55:48.203 2010] [4736:3092] [debug] jk_isapi_plugin.c (2431): Using extension uri /jakarta/isapi_redirect-1.2.30.dll.
[Wed Mar 03 18:55:48.218 2010] [4736:3092] [debug] jk_isapi_plugin.c (2432): Using worker file c:\teamcity\conf\workers.properties.
[Wed Mar 03 18:55:48.250 2010] [4736:3092] [debug] jk_isapi_plugin.c (2433): Using worker mount file c:\teamcity\conf\uriworkermap.properties.
[Wed Mar 03 18:55:48.296 2010] [4736:3092] [debug] jk_isapi_plugin.c (2435): Using rewrite rule file .
[Wed Mar 03 18:55:48.343 2010] [4736:3092] [debug] jk_isapi_plugin.c (2437): Using uri select 3.
[Wed Mar 03 18:55:48.375 2010] [4736:3092] [debug] jk_isapi_plugin.c (2438): Using no chunked encoding.
[Wed Mar 03 18:55:48.406 2010] [4736:3092] [debug] jk_isapi_plugin.c (2440): Using notification event SF_NOTIFY_AUTH_COMPLETE (0x04000000)
[Wed Mar 03 18:55:48.453 2010] [4736:3092] [debug] jk_isapi_plugin.c (2450): Using uri header TOMCATURI6A6B0000:.
[Wed Mar 03 18:55:48.484 2010] [4736:3092] [debug] jk_isapi_plugin.c (2451): Using query header TOMCATQUERY6A6B0000:.
[Wed Mar 03 18:55:48.531 2010] [4736:3092] [debug] jk_isapi_plugin.c (2452): Using worker header TOMCATWORKER6A6B0000:.
[Wed Mar 03 18:55:48.578 2010] [4736:3092] [debug] jk_isapi_plugin.c (2453): Using worker index TOMCATWORKERIDX6A6B0000:.
[Wed Mar 03 18:55:48.609 2010] [4736:3092] [debug] jk_isapi_plugin.c (2454): Using translate header TOMCATTRANSLATE6A6B0000:.
[Wed Mar 03 18:55:48.671 2010] [4736:3092] [debug] jk_isapi_plugin.c (2455): Using a default of 250 connections per pool.
[Wed Mar 03 18:57:53.187 2010] [920:1836] [debug] jk_util.c (459): Pre-processed log time stamp format is '[%a %b %d %H:%M:%S.000 %Y] '
[Wed Mar 03 18:57:53.265 2010] [920:1836] [info] jk_isapi_plugin.c (2403): Starting Jakarta/ISAPI/isapi_redirector/1.2.30
[Wed Mar 03 18:57:53.312 2010] [920:1836] [debug] jk_isapi_plugin.c (2421): Detected IIS version 6.0
[Wed Mar 03 18:57:53.343 2010] [920:1836] [debug] jk_isapi_plugin.c (2426): Using registry.
[Wed Mar 03 18:57:53.390 2010] [920:1836] [debug] jk_isapi_plugin.c (2429): Using log file c:\teamcity\logs\isapi.log.
[Wed Mar 03 18:57:53.453 2010] [920:1836] [debug] jk_isapi_plugin.c (2430): Using log level 1.
[Wed Mar 03 18:57:53.500 2010] [920:1836] [debug] jk_isapi_plugin.c (2431): Using extension uri /jakarta/isapi_redirect-1.2.30.dll.
[Wed Mar 03 18:57:53.546 2010] [920:1836] [debug] jk_isapi_plugin.c (2432): Using worker file c:\teamcity\conf\workers.properties.
[Wed Mar 03 18:57:53.593 2010] [920:1836] [debug] jk_isapi_plugin.c (2433): Using worker mount file c:\teamcity\conf\uriworkermap.properties.
[Wed Mar 03 18:57:53.640 2010] [920:1836] [debug] jk_isapi_plugin.c (2435): Using rewrite rule file .
[Wed Mar 03 18:57:53.718 2010] [920:1836] [debug] jk_isapi_plugin.c (2437): Using uri select 3.
[Wed Mar 03 18:57:53.781 2010] [920:1836] [debug] jk_isapi_plugin.c (2438): Using no chunked encoding.
[Wed Mar 03 18:57:53.921 2010] [920:1836] [debug] jk_isapi_plugin.c (2440): Using notification event SF_NOTIFY_AUTH_COMPLETE (0x04000000)
[Wed Mar 03 18:57:53.968 2010] [920:1836] [debug] jk_isapi_plugin.c (2450): Using uri header TOMCATURI6A6B0000:.
[Wed Mar 03 18:57:54.046 2010] [920:1836] [debug] jk_isapi_plugin.c (2451): Using query header TOMCATQUERY6A6B0000:.
[Wed Mar 03 18:57:54.093 2010] [920:1836] [debug] jk_isapi_plugin.c (2452): Using worker header TOMCATWORKER6A6B0000:.
[Wed Mar 03 18:57:54.156 2010] [920:1836] [debug] jk_isapi_plugin.c (2453): Using worker index TOMCATWORKERIDX6A6B0000:.
[Wed Mar 03 18:57:54.187 2010] [920:1836] [debug] jk_isapi_plugin.c (2454): Using translate header TOMCATTRANSLATE6A6B0000:.
[Wed Mar 03 18:57:54.218 2010] [920:1836] [debug] jk_isapi_plugin.c (2455): Using a default of 250 connections per pool.
[Wed Mar 03 18:57:54.265 2010] [920:1836] [debug] jk_uri_worker_map.c (1102): Loading urimaps from c:\teamcity\conf\uriworkermap.properties with reload check interval 60 seconds
[Wed Mar 03 18:57:54.296 2010] [920:1836] [debug] jk_uri_worker_map.c (171): uri map dump after file load: index=0 file='c:\teamcity\conf\uriworkermap.properties' reject_unsafe=0 reload=60 modified=1267642627 checked=1267642674
[Wed Mar 03 18:57:54.328 2010] [920:1836] [debug] jk_uri_worker_map.c (176): generation 0: size=0 nosize=0 capacity=0
[Wed Mar 03 18:57:54.375 2010] [920:1836] [debug] jk_uri_worker_map.c (176): generation 1: size=0 nosize=0 capacity=0
[Wed Mar 03 18:57:54.406 2010] [920:1836] [debug] jk_map.c (774): Checking for references with prefix worker. with wildcard (recursion 1)
[Wed Mar 03 18:57:54.453 2010] [920:1836] [debug] jk_shm.c (132): shared memory will contain 1 ajp workers of size 320 and 0 lb workers of size 320 with 0 members of size 384+320
[Wed Mar 03 18:57:54.484 2010] [920:1836] [debug] jk_shm.c (254): Initialized shared memory JKISAPISHMEM_TEAMCITY_MUSICGLUE_CHUCK_1544618374 size=448 free=320 addr=0x1e60000
[Wed Mar 03 18:57:54.515 2010] [920:1836] [debug] jk_worker.c (242): creating worker ajp13
[Wed Mar 03 18:57:54.562 2010] [920:1836] [debug] jk_worker.c (146): about to create instance ajp13 of ajp13
[Wed Mar 03 18:57:54.625 2010] [920:1836] [debug] jk_worker.c (159): about to validate and init ajp13
[Wed Mar 03 18:57:54.687 2010] [920:1836] [debug] jk_ajp_common.c (2605): worker ajp13 contact is 'localhost:8009'
[Wed Mar 03 18:57:54.734 2010] [920:1836] [debug] jk_ajp_common.c (2800): setting endpoint options:
[Wed Mar 03 18:57:54.812 2010] [920:1836] [debug] jk_ajp_common.c (2803): keepalive: 0
[Wed Mar 03 18:57:54.921 2010] [920:1836] [debug] jk_ajp_common.c (2807): socket timeout: 0
[Wed Mar 03 18:57:54.968 2010] [920:1836] [debug] jk_ajp_common.c (2811): socket connect timeout: 0
[Wed Mar 03 18:57:55.015 2010] [920:1836] [debug] jk_ajp_common.c (2815): buffer size: 0
[Wed Mar 03 18:57:55.062 2010] [920:1836] [debug] jk_ajp_common.c (2819): pool timeout: 0
[Wed Mar 03 18:57:55.093 2010] [920:1836] [debug] jk_ajp_common.c (2823): ping timeout: 10000
[Wed Mar 03 18:57:55.156 2010] [920:1836] [debug] jk_ajp_common.c (2827): connect timeout: 0
[Wed Mar 03 18:57:55.203 2010] [920:1836] [debug] jk_ajp_common.c (2831): reply timeout: 0
[Wed Mar 03 18:57:55.234 2010] [920:1836] [debug] jk_ajp_common.c (2835): prepost timeout: 0
[Wed Mar 03 18:57:55.281 2010] [920:1836] [debug] jk_ajp_common.c (2839): recovery options: 0
[Wed Mar 03 18:57:55.328 2010] [920:1836] [debug] jk_ajp_common.c (2843): retries: 2
[Wed Mar 03 18:57:55.375 2010] [920:1836] [debug] jk_ajp_common.c (2847): max packet size: 8192
[Wed Mar 03 18:57:55.453 2010] [920:1836] [debug] jk_ajp_common.c (2851): retry interval: 100
[Wed Mar 03 18:57:55.531 2010] [920:1836] [debug] jk_ajp_common.c (2662): setting connection pool size to 250 with min 125 and acquire timeout 200
[Wed Mar 03 18:57:55.578 2010] [920:1836] [debug] jk_uri_worker_map.c (171): uri map dump after extension stripping: index=0 file='c:\teamcity\conf\uriworkermap.properties' reject_unsafe=0 reload=60 modified=1267642627 checked=1267642674
[Wed Mar 03 18:57:55.609 2010] [920:1836] [debug] jk_uri_worker_map.c (176): generation 0: size=0 nosize=0 capacity=0
[Wed Mar 03 18:57:55.656 2010] [920:1836] [debug] jk_uri_worker_map.c (176): generation 1: size=0 nosize=0 capacity=0
[Wed Mar 03 18:57:55.703 2010] [920:1836] [debug] jk_uri_worker_map.c (482): Switching uri worker map from index 0 to index 1
[Wed Mar 03 18:57:55.750 2010] [920:1836] [info] jk_isapi_plugin.c (2573): Jakarta/ISAPI/isapi_redirector/1.2.30 initialized
[Wed Mar 03 18:57:55.828 2010] [920:1836] [debug] jk_isapi_plugin.c (1835): Filter started
[Wed Mar 03 18:57:55.875 2010] [920:1836] [info] jk_uri_worker_map.c (970): No worker maps defined for c:\teamcity\conf\uriworkermap.properties.
[Wed Mar 03 18:57:55.921 2010] [920:1836] [debug] jk_isapi_plugin.c (2055): [/] is not a servlet url
[Wed Mar 03 18:57:55.984 2010] [920:4740] [debug] jk_isapi_plugin.c (1835): Filter started
[Wed Mar 03 18:57:56.015 2010] [920:4740] [info] jk_uri_worker_map.c (970): No worker maps defined for c:\teamcity\conf\uriworkermap.properties.
[Wed Mar 03 18:57:56.062 2010] [920:4740] [debug] jk_isapi_plugin.c (2055): [/favicon.ico] is not a servlet url
