I have managed to get mostly everything working between IIS and Tomcat. I changed the 
worker.prop file to the following:

#
# general stuff
#
workers.tomcat_home=c:\tomcat
workers.java_home=c:\jdk1.3.1_04
ps=\

#
# workers list
#
worker.list=ajp12, ajp13

#
# ajp12 communicates on port 8007
#
worker.ajp12.port=8007
worker.ajp12.host=www.domain.com
worker.ajp12.type=ajp12
worker.ajp12.lbfactor=1

#
# ajp13 connector communicating on port 8009
#
worker.ajp13.port=8009
worker.ajp13.host=www.domain.com
worker.ajp13.type=ajp13
worker.ajp13.lbfactor=1

#
# load balancing
#
worker.loadbalancer.type=lb
worker.loadbalancer.balanced_workers=ajp13, ajp12

#
# The JVM that we are about to use
#
worker.inprocess.jvm_lib=$(workers.java_home)$(ps)jre$(ps)bin$(ps)classic$(ps)jvm.dll

#
# Setting the place for the stdout and stderr of tomcat
#
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
worker.inprocess.stderr=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stderr

I created a virtual directory under IIS for the webapp, and can access the files from 
the web. However, I'm not sure what to do about servlets. I tried to have the servlet 
work from a bunch of different URL combinations /webapp/servlet/Serv, or 
http://www.domain.com/webapp/servlet/Serv, or /servlet/Serv. I'm not sure what to do 
because it doesn't work. The log file tells me that it found a mapping and that it is 
being redirected to ajp13, but the page is not found on the browser.

Any help is appreciated. Thanks.




---------------------------------
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com

Reply via email to