File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Tomcat IIS Connector problem - please help

Ilya Frank
Greenhorn

Joined: Feb 07, 2005
Posts: 3
Hi,

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

http://jakarta.apache.org/tomcat/connectors-doc/howto/iis.html

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:

workers.properties:

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


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


uriworkermap.properties:

# uriworker.properties -
#
# This file provides sample mappings for example
# ajp13w worker defined in workermap.properties.minimal

/jsp-examples/*=ajp13w


# Now filter out all .jpeg files inside that context
# For no mapping the url has to start with exclamation (!)
#!/jsp-examples/*.jpeg=ajp13w

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.

Thanks,
Ilya
Vincenzo Fazi
Greenhorn

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

and it worked for jsp pages but not for servlet so I tried to change something in the file uriworkermap.properties
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
bye
Ilya Frank
Greenhorn

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
Greenhorn

Joined: Sep 12, 2002
Posts: 8
Beware of JK2 no longer supported by the Apache group
http://jakarta.apache.org/tomcat/connectors-doc/news/20041100.html#20041115.1

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

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.
 
 
subject: Tomcat IIS Connector problem - please help
 
Similar Threads
Apache 2.0.53 + Tomcat 5.5.7 integration on Windows using mod_jk
Tomcat + Apache first time
"The specified module could not be found." Error
How to make jsp work in IIS server.Is there any plugin?
Tomcat 5.5.30 and IIS 5 Configuration problem