Hello everybody,
I've had hard time in setting up Apache to talk to
Tomcat in WinNT.
I read some questions and answers similar to my
problem but they didn't help me either.
Hopefully, I can get help from this list.
Here is what I did:
-installed Tomcat 3.2.1
-installed Apache 1.3.14
-downloaded mod_jk.dll and put it under
c:/Apache/modules dir.
-added the following lines to httpd.conf
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
JkWorkersFile
/usr/local/tomcat/conf/workers.properties
JkLogFile /usr/local/apache/logs/mod_jk.log
JkLogLevel warn
Include "c:\tomcat\conf\mod_jk.conf-auto"
-commented out the connector to port 8080 in
server.xml
-Set classpath for Tomcat and Apache
-Use 8007 for ajp12
When I setup Tomcat stand alone, everything is fine.
The installation for Apache is also successful (I can
see the first page saying I'm successful in installing
Apache when go to http://localhost)
After setup Apache to talk to Tomcat, I go to
http://localhost/schart/test.jsp
(Schart is the directory where I put my jsp)
It can't find my file, looking in the log file, the
server looks for /apache/htdocs/schart/test.jsp
instead of looking for it in Tomcat. So, I know the
setup is not right and Apache can't talk to tomcat.
Please help.
Thank you so much!
Thao Nguyen
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/