File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat IIS Connector problem - please help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat IIS Connector problem - please help" Watch "Tomcat IIS Connector problem - please help" New topic

Tomcat IIS Connector problem - please help

Ilya Frank

Joined: Feb 07, 2005
Posts: 3

I have been trying to run my (or any) JSP application from IIS using the Tomcat connectors following these instructions:

For instance, when I try to run http://localhost/jsp-examples/jsp2/el/basic-arithmetic.jsp I get the following error in the log:

HttpExtensionProc::jk_isapi_plugin.c (920): could not get a worker for name ajp13

I don't understand why it's trying to look for a worker named ajp13 when the only worker I specified is ajp13w.

I am using: IIS5, Windows XP SP2, Tomcat 5.0.28, ISAP-Redirect 1.2.8

I am trying to at least get the examples that come with Tomcat running. Here are my config files:

# -
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.
# The workers that jk should create and work with

# Defining a worker named ajp13w and of type ajp13
# Note that the name and the type do not have to match.

# -
# This file provides sample mappings for example
# ajp13w worker defined in


# Now filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)

I placed isapi_redirect.dll in tomcat/bin as documented and I placed the above .properties file into tomcat/conf. I set all the variables in the registry, added the filter in IIS Administation Console, etc., so I have no idea why this is happening.

Vincenzo Fazi

Joined: Mar 01, 2005
Posts: 1
I had the same problem,in the registry for worker_file I used the same name of the jk 1.2.8 kit
then I changed it to

and it worked for jsp pages but not for servlet so I tried to change something in the file
and it stopped working even for jsp pages
I have:
os w2000
IIS 5.0
jre 1.5.0_01
jk 1.2.8
tomcat 5.5.7
browser ie 6.0

If i find the problem I'll tell you, please do the same
Ilya Frank

Joined: Feb 07, 2005
Posts: 3
I finally got it to work with JK2. It seems that JK 1.2 does not work with Tomcat 5. The setup for JK2 is a lot simpler as well, as it comes with a script which configures everything.
Gary Rather

Joined: Sep 12, 2002
Posts: 8
Beware of JK2 no longer supported by the Apache group

If you are going to production and have a choice. Do so with open eyes
Ilya Frank

Joined: Feb 07, 2005
Posts: 3
Yes I know that but this is the only one that works. We have tested it and it works fine for our relatively simple needs.
I agree. Here's the link:
subject: Tomcat IIS Connector problem - please help
jQuery in Action, 3rd edition