Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 371
  • Last Modified:

IIS/Tomcat question

I have succesfully set up tomcat as an isapi on iis. I have the examples running. Now what I want to do, is to configure tomcat to get all the jsp page requests for the root of my iis website.

Any help?
0
harmerbe
Asked:
harmerbe
  • 2
1 Solution
 
TimYatesCommented:
There appears to be a step by step guide to achieving this here:

http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg105025.html

Though I've never tried it out :-/
0
 
harmerbeAuthor Commented:
Ok, let's put it like this: can anyone post his server.xml for a IIS/Tomcat config, where all jsp requests will be handled by tomcat?
0
 
objectsCommented:
Here's an example workers2.properties to redirect jsp requests to tomcat:

# change this to your own location
[shm]
file=e:/jk2.txt
size=1048576

# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1

# define the worker
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

# Uri mapping - redirect all .jsp files to Tomcat server
[uri:/*.jsp]
worker=ajp13:localhost:8009

# define the worker
[status:status]

# Uri mapping - use http://localhost/jkstatus to view redirector status
[uri:/jkstatus/*]
worker=status:status
0
 
objectsCommented:
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now