PDA

View Full Version : Linking Tomcat to Apache


pogostik
29-04-03, 05:19 PM
err....mintak maap pasal first posting tu...masa submit tadi, kuar the page cannot be displayed error....ni yang aku nak post tadi:

nak mintak tolong kat sape sape yang tahu camne nak link tomcat ngan apache using mod_jk.dll. aku dah follow step step yang aku jumpe kat internet, tapi still tak dapat....masalah dia Apache cam tak dapat parse JSP punye file..kuar source code dia...(cam running PHP file kat webserver yang tak support PHP).....

so far, aku dah berjaya running tomcat as a standalone server (using "%CATALINA_HOME%"\bin\startup command line)....dan jugak berjaya meng-test beberapa examples yang dia kasik....takde masalah, seme menjadi...tapi bile aku run Apache (so that i can run parse files at the same time), dia cam tak support lak.....

please help...

I'm using Apache 1.3.20, PHP 4.2.3, J2SDK 1.4.1_02, Tomcat 4.1.24 and running on a Windows98 SE machine.

rzmie
29-04-03, 06:38 PM
connector yg ko pakai tuh mmg support tomcat version 4.1.24 dan apache 1.3.20 ke??

cairo
29-04-03, 06:55 PM
line yg ni dah bubuh tak kat httpd.conf kau


Using mod_jk.dll to redirect dynamic calls to Tomcat
< IfModule !mod_jk.c >
LoadModule jk_module
modules/mod_jk.dll
< /IfModule >

#ni contoh pakai tomcat 4.1.12
JkWorkersFile "D:/jakarta-tomcat-4.1.12/conf/workers.properties"
JkLogFile "D:/jakarta-tomcat-4.1.12/logs/mod_jk.log"

#yg bawah ni utk kasi sample dlm tomcat tu jalan
JkMount /examples/* ajp13
JkMount /examples/*.jsp ajp13