In workers.properties also change worker.ajp12/13.host to computername.domainname. Right now it is local host in your workers.properties file.
--Vikram ----- Original Message ----- From: "vim m" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 6:27 PM Subject: Re: Apache2.04 Tomcat4.1.12 Integration > > Vikram: > I tried that, doesnt work. > Thanks > > Vikram Dham <[EMAIL PROTECTED]> wrote:Try changing server name from localhost to your computername.domainname in > mod_jk.conf file. > > --Vikram > ----- Original Message ----- > From: "vim m" > To: "Tomcat Users List" > Sent: Monday, December 09, 2002 6:17 PM > Subject: Apache2.04 Tomcat4.1.12 Integration > > > > > > Hi: > > > > I am integrating Apache 2.0.4 and Tomcat 4.1.12 on Win 2K. > > > > This is what I had performed: > > > > Installed Apache 2 and tested successfully. > > Installed Tomcat 4.1 and tested successfully. > > Downloaded mod_jk-2.0.42.dll into the modules directory of Apache. > > Created jk folder in conf of Tomcat. Created workers.properties file. > > > > workers.tomcat_home=c:/Tomcat-4.1 > > workers.java_home=$(JAVA_HOME) > > ps=\ > > worker.list=ajp13, ajp14 > > worker.ajp13.port=8009 > > worker.ajp13.host=localhost > > worker.ajp13.type=ajp13 > > worker.ajp13.lbfactor=1 > > > > 5. Edited the Server.xml file to include the following - > > > > > modJk="c:/Apache2/modules/mod_jk-2.0.42.dll" jkDebug="info" > workersConfig="c:/Tomcat-4.1/conf/jk/workers.properties" > jkLog="c:/Tomcat-4.1/logs/mod_jk.log" /> > > > > > > and > > > > > append="true" /> > > > > > > 6. Restarted Tomcat, it generates the auto directory with the mod_jk file > containing the following > > > > > > LoadModule jk_module c:/Apache2/modules/mod_jk-2.0.42.dll > > > > > > JkWorkersFile "c:/Tomcat-4.1/conf/jk/workers.properties" > > JkLogFile "c:/Tomcat-4.1/logs/mod_jk.log" > > > > JkLogLevel info > > > > > > > > > > ServerName localhost > > > > JkMount /admin ajp13 > > JkMount /admin/* ajp13 > > > > JkMount /webdav ajp13 > > JkMount /webdav/* ajp13 > > > > JkMount /blmt ajp13 > > JkMount /blmt/* ajp13 > > > > JkMount /examples ajp13 > > JkMount /examples/* ajp13 > > > > JkMount /tomcat-docs ajp13 > > JkMount /tomcat-docs/* ajp13 > > > > JkMount /manager ajp13 > > JkMount /manager/* ajp13 > > > > > > > > 7. copied this into the httpd.conf file of Apache after the last > LoadModule. > > > > 8. Restarted Apache. > > > > Now my site works fine when I use localhost - i.e > > > > http://localhost/mysite/index.jsp > > > > But when I try to give my computer name its giving file not found error. > i.e > > > > http://computer1.domain/mysite/index.jsp > > > > But Tomcat seems to work fine- i.e > > > > http://computer1.domain:8080/mysite/index.jsp > > > > And Apache works fine while serving the html pages - i.e > > > > http://computer1.domain/demo.html > > > > I have checked on google, and the mailing list, nobody seems to be having > this kinda problem. Have I missed out any steps in the configuration? Do I > have to set any attributes in the config files? Any hints appreciated. > > > > Thank you. > > > > vim > > > > > > > > > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Mail Plus - Powerful. Affordable. Sign up now > > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > > > --------------------------------- > Do you Yahoo!? > Yahoo! Mail Plus - Powerful. Affordable. Sign up now > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
