Guest_imported
New member
- Jan 1, 1970
- 0
hello. i am a newbie and having trouble with Tomcat and IIS. Everything seems to be set up fine to me. The isapi_redirect.dll shows a green arrow in IIS. I have scrutinized the registery and everything looks fine. I have set the worker.properties and uriworkers.properties files, the ajp context is active in server.xml. The jakarta virtual directory is set fine and has the necessary permissions. I have read all docs for hours to no avail.
I can see the examples when i go to but not on
serves my default.htm page fine.
Here are my files:
uriworkers.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
# Advanced mount of the examples context
/examples/servlet/*=ajp13
/examples/jsp/*=ajp13
# ************* End uriworkermap.properties ****
worker.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:\jakarta-tomcat-4.0.4
#
# 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.0_01
#
# 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 type do not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
# ************ End worker.properties **************
Server.xml
...
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!-- connectionTimeout should be set to ZERO -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0" connectionTimeout="0" />
...
iis_redirect.reg Registery file:
Windows Registry Editor Version 5.00
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\jakarta-tomcat-4.0.4\\logs\\iis_redirect.log"
"log_level"="emerg"
"worker_file"="C:\\jakarta-tomcat-4.0.4\\conf\\worker.properties"
"worker_mount_file"="C:\\jakarta-tomcat-4.0.4\\conf\\uriworkermap.properties"
I am stuck. Could someone please help? Thank you. Sam
I can see the examples when i go to but not on
serves my default.htm page fine.
Here are my files:
uriworkers.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
# Advanced mount of the examples context
/examples/servlet/*=ajp13
/examples/jsp/*=ajp13
# ************* End uriworkermap.properties ****
worker.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:\jakarta-tomcat-4.0.4
#
# 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.0_01
#
# 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 type do not have to match.
#
worker.ajp13.port=8009
worker.ajp13.host=localhost
# ************ End worker.properties **************
Server.xml
...
<!-- Define an AJP 1.3 Connector on port 8009 -->
<!-- connectionTimeout should be set to ZERO -->
<Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
port="8009" minProcessors="5" maxProcessors="75"
acceptCount="10" debug="0" connectionTimeout="0" />
...
iis_redirect.reg Registery file:
Windows Registry Editor Version 5.00
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software Foundation\Jakarta Isapi Redirector\1.0]
"extension_uri"="/jakarta/isapi_redirect.dll"
"log_file"="C:\\jakarta-tomcat-4.0.4\\logs\\iis_redirect.log"
"log_level"="emerg"
"worker_file"="C:\\jakarta-tomcat-4.0.4\\conf\\worker.properties"
"worker_mount_file"="C:\\jakarta-tomcat-4.0.4\\conf\\uriworkermap.properties"
I am stuck. Could someone please help? Thank you. Sam