Link to home
Start Free TrialLog in
Avatar of chuku
chukuFlag for United States of America

asked on

Tomcat 5.5 connector to IIS6 - isapi_redirector2 problems

win2003 with IIS6, installed JRE 5.0 & tomcat 5.5.17 - all example pages work on port 8080.
installed the JK2.0.4 connector for IIS with isapi_redirector2 and I get "Service Unavailable" when I try the same example with port 80.
I followed these instructions: http://www.iis-resources.com/modules/AMS/article.php?storyid=485
everything on my server show like this beside of one thing: workers2.properties file doesn't show as a "java properties" file on my server.
I have 2 thoughts about possible problems:
either the properties files aren't recognized as java properties or the file itself require some modifications that I'm not aware of.
Avatar of sleep_furiously
sleep_furiously

JK2 is deprecated and has been unsupported for more than a year now.  That means it has problems that will never be fixed.  Development has continued on the original JK instead -- so for starters, you will probably want to considre using JK instead of JK2.

See:
http://tomcat.apache.org/tomcat-4.1-doc/config/jk2.html
"IMPORTANT NOTE: The JK 2 connector is now deprecated. Use JK or  mod_proxy_ajp instead."

I wouldn't expect workers2.properties to show as a "java properties" file.  What does kind of file does it say it is?  On my servers, they say "PROPERTIES file".  You probably just want to make sure it's not workers2.properties.txt or something, with file extension display turned off in Explorer.

What are the contents of your workers2.properties file?  Do they make sense for your server?
Avatar of chuku

ASKER

workers2.properties show as "PROPERTIES file"  on my server too, I just wondered since the HowTo article show it as "JAVA file"
about the content, I used the file in that HowTo & just changed the path to my server's:
[shm:]
info=Shared memory file. Required for multiprocess servers
file=E:\Tomcat 5.5\shm file\jk2.shm
size=1000000

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[uri:/jsp-examples/*]
info=JSP examples, map requests for all JSP pages to Tomcat.
context=/jsp-examples

[uri:/servlets-examples/*]
info=Servlet examples, map requests for all servlets to Tomcat.
context=/servlets-examples
ASKER CERTIFIED SOLUTION
Avatar of sleep_furiously
sleep_furiously

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial