• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Problems connecting IIS and tomcat

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I hope this is the right place for these questions b/c I am really stuck.

I am trying to get IIS (6.0) to talk to my tomcat (5.0.28). I did a successful test installation on a Windows XP Professional, but now that I am attempting it at Windows 2003 server, I am out of luck. The IIS version on my machine is different (5.1). Would there be any issues with IIS 6.0?

Accessing the Hello World example using http://www.myserver.com:8080/servlets-examples/servlet/HelloWorldExample works fine. When I try to do http://www.myserver.com/servlets-examples/servlet/HelloWorldExample I get this in the log (log level debug):

[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_shm.c (134): Initialized shared memory size=67584 free=65536 addr=0x17f0000
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1157): Using ini file C:\Tomcat5.0\conf\isapi_redirect.properties.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1163): Using log file C:\Tomcat5.0\logs\jk_iis.log.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1164): Using log level 1.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1165): Using extension uri /tomcat/isapi_redirect.dll.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1166): Using worker file C:\Tomcat5.0\conf\workers.properties.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1167): Using worker mount file C:\Tomcat5.0\conf\uriworkermap.properties.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (1169): Using uri select 0.
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (260): wildchar rule /servlets-examples/*=ajp13 was added
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_worker.c (236): creating worker ajp13
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_worker.c (141): about to create instance ajp13 of ajp13
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_worker.c (154): about to validate and init ajp13
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1806): worker ajp13 contact is 'localhost:8009'
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1895): setting socket keepalive to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1934): setting socket timeout to -1
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1938): setting socket buffer size to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1942): setting connection recycle timeout to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1946): setting cache timeout to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1950): setting connect timeout to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1954): setting reply timeout to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1958): setting prepost timeout to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1962): setting recovery opts to 0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1966): setting number of retries to 3
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_ajp_common.c (1843): setting connection cache size to 10
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_worker.c (248): removing old ajp13 worker
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (711): Detected IIS >= 5.0
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (762): Filter started
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (828): Virtual Host redirection of /www.myserver.com/servlets-examples/servlet/HelloWorldExample
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/www.myserver.com/servlets-examples/servlet/HelloWorldExample' from 1 maps
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (835): Default redirection of /servlets-examples/servlet/HelloWorldExample
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/servlets-examples/servlet/HelloWorldExample' from 1 maps
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (475): Found a wildchar match ajp13 -> /servlets-examples/*
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (845): check if [/servlets-examples/servlet/HelloWorldExample] is points to the web-inf directory
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (863): [/servlets-examples/servlet/HelloWorldExample] is a servlet url - should redirect to ajp13
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (762): Filter started
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (828): Virtual Host redirection of /www.myserver.com/favicon.ico
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/www.myserver.com/favicon.ico' from 1 maps
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (835): Default redirection of /favicon.ico
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (449): Attempting to map URI '/favicon.ico' from 1 maps
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_uri_worker_map.c (461): Attempting to map context URI '/servlets-examples/*'
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (845): check if [/favicon.ico] is points to the web-inf directory
[Tue Feb 14 09:44:31 2006] [2312:2112] [debug] jk_isapi_plugin.c (942): [/favicon.ico] is not a servlet url

Here is the contents of my uriworkermap.properties:
/servlets-examples/*=ajp13

Here is the contents of my workers.properties:
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

Here is the contents of my isapi_redirect.properties:
# Configuration file for the Jakarta ISAPI Redirector

# The path to the ISAPI Redirector Extension, relative to the website
# This must be in a virtual directory with execute privileges
extension_uri=/tomcat/isapi_redirect.dll

# Full path to the log file for the ISAPI Redirector
log_file=C:\Tomcat5.0\logs\jk_iis.log

# Log level (debug, info, warn, error or trace)
log_level=debug

# Full path to the workers.properties file
worker_file=C:\Tomcat5.0\conf\workers.properties

# Full path to the uriworkermap.properties file
worker_mount_file=C:\Tomcat5.0\conf\uriworkermap.properties

When searching on Google, most of the hits are on older versions. Am I trying to do something that is outdated? Any help is greatly appreciated!!!

Thanks!
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic