Win a copy of Pipeline as Code this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

Setting up Tomcat 5.5 with IIS 6 problem!

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'm having trouble getting Tomcat to serve pages through IIS. I have tried to follow several step-by-step guides online but haven't really had much luck! I've searched through this forum but again, I haven't been able to find anything that's fixed my problem.

I downloaded, and followed the setup instructions on the jakarta site. I made a slight modification to the setup script (so that it created the jakarta virtual folder in rather than IIS's "Default Website"), but other than that I believe I've done precisely as instructed!

Tomcat is running on port 8080 and when I hit, Tomcat faithfully serves up the page. However when I attempt to hit, IIS serves up a 404.

If I look in the IIS log, I can see that IIS is attempting to push the request towards the isapi_redirector dll:

#Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs-version cs(User-Agent) cs(Cookie) cs(Referer) sc-status sc-win32-status sc-bytes cs-bytes time-taken
2007-05-27 11:48:19 W3SVC10769 XXX.XXX.220.132 GET /jakarta/isapi_redirector2.dll - 80 - XXX.XXX.56.247 HTTP/1.1 Mozilla/5.0+(Windows;+U;+Windows+NT+5.1;+en-GB;+rv: s_pers=%20s_vsn_paypalglobal%3D4757241787590%7C1473537542953%3B - 404 1260 1814 525 31 I'm guessing it's a problem with the way the dll has been configured.

Here is my

info=Scoreboard. Requried for reconfiguration and status with multiprocess servers.
file=D:\Tomcat 5.5\work\jk2.shm

# Example socket channel, override port and host.
info=Ajp13 port forwarding over socket


file=D:\Tomcat 5.5\logs\jk2.log

info=Global server options

# define the worker

# Map the Tomcat examples webapp to the Web server uri space

I attempted to enable logging to see whether this would give me any clues, but the file I specified (D:\Tomcat 5.5\logs\jk2.log) doesn't get created.

Here's Tomcat's context.xml

<Context path="/ols-web" reloadable="true" docBase="D:\Tomcat 5.5\webapps\ols-web" workDir="D:\Tomcat 5.5\webapps\ols-web\work" >
<Logger className="org.apache.catalina.logger.SystemOutLogger" verbosity="4" timestamp="true"/>

...and here's the bit in server.xml where the AJP connector port is configured:

<Connector port="8009"
enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

If anyone can offer any advice, I'd be really grateful.

Please enjoy this holographic presentation of our apocalyptic dilemma right after this tiny ad:
SKIP - a book about connecting industrious people with elderly land owners
    Bookmark Topic Watch Topic
  • New Topic