• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat IIS Connector problem - please help

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic