IIS and Tomcat
Hi guys,
I am now tired changing my workers.properties and uriworkermap.properties... nothing is making effect to what I need...
I am able to see http://localhost/examples..as it is configured in worker.properties...also http://localhost/tomcat-doc/index.html...so till here every thing is working good.. what I need is, my all JSP files are in webapps/ROOT dir. and I want to map that dir....can you please tell me what changes I need to do?.. I really appreciate it..I am also attaching my both the properties files....I am using Tomcat 4.1 and IIS 5.0 on WinXp Pro....
1) workers.properties
# ************ Begin worker.properties **************
worker.ajp13.type=ajp13
#
# Specifies the load balance factor when used with
# a load balancing worker.
# Note:
# -> lbfactor must be > 0
# -> Low lbfactor means less work done by the worker.
worker.ajp13.lbfactor=1
#
# Specify the size of the open connection cache.
#worker.ajp13.cachesize
#
# DEFAULT LOAD BALANCER WORKER DEFINITION -
#
#
#
# The loadbalancer (type lb) worker perform weighted round-robin
# load balancing with sticky sessions.
# Note:
# -> If a worker dies, the load balancer will check its state
#once in a while. Until then all work is redirected to peer
#worker.
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13
#
# worker.tomcat_home should point to the location where you
# installed tomcat. This is where you have your conf, webapps and lib
# directories.
#
worker.tomcat_home=C:\Program Files\Apache Group\Tomcat 4.1
#
# worker.java_home should point to your Java installation. Normally
# you should have a bin and lib directories beneath it.
#
worker.java_home=C:\j2sdk1.4.2
#
# You should configure your environment slash... ps=\ on NT and / on UNIX
# and maybe something different elsewhere.
#
ps=\
#
# ADVANCED MODE
#
#
#
# DEFAULT worker list
#
#
# The worker that your plugins should create and work with
worker.list=ajp13
#
# DEFAULT ajp13 WORKER DEFINITION
#
#
#
# Defining a worker named ajp13 and of type ajp13
# Note that the name and the typedo not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
# ************ End worker.properties **************
2) uriworkermap.properties
# *********** Begin uriworkermap.properties ***
#
# Simple worker configuration file
#
# Mount the Servlet context to the ajp13 worker
/servlet/*=ajp13
# Mount the examples context to the ajp13 worker
/examples=ajp13
/examples/*=ajp13
# Mount the examples context to the ajp13 worker
/doctera=ajp13
/doctera/*=ajp13
/uftps=ajp13
/uftps/*=ajp13
# Mount all jsp pages to the ajp13 worker
/*.jsp=ajp13
# Advanced mount of the examples context
# /examples/servlet/*=ajp13
# ************* End uriworkermap.properties ****
I want to access my JSP pages which are in ROOT dir by http://localhost/MyPage.jsp
any ideas or suggestions will the appreciated..
vishu

