This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Problem in Apache + Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem in Apache + Tomcat" Watch "Problem in Apache + Tomcat" New topic
Author

Problem in Apache + Tomcat

shekarasankaran
Greenhorn

Joined: Nov 12, 2001
Posts: 18
I am trying to configure Apache with tomcat. I have put the mod_jk.dll in the modules directory of apache. i have added the following piece of code in apaches httpd.conf.
I have also mentioned where my document root is and the directory
*********httpd.conf *************
<IfModule !mod_jk.c>
LoadModule jk_module "D:/Program Files/Apache Group/Apache2/modules/mod_jk.dll"
</IfModule>
JkWorkersFile "D:/Program Files/Apache Tomcat 4.0/conf/jk/workers.properties"
JkLogFile "D:/Program Files/Apache Tomcat 4.0/logs/jk_log.txt"
JkLogLevel debug
AddModule mod_jk.c
JKMount /servlet/* ajp13
JkMount /*.jsp ajp13
JkMount /examples/* ajp13
JkMount /manager/* ajp13
JkMount /tomcat-docs/* ajp13
JkMount /webdav/* ajp13
JkMount /test/* ajp13
*********************************
i have added the following line of code in server.xml file of tomcat
<Listener className="org.apache.ajp.tomcat4.config.ApacheConfig" modJk= "D:/Program Files/Apache Group/Apache2/modules" />
<Context path="/test" docBase="test" debug="0"
eloadable="true" crossContext="true">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="localhost_test_log." suffix=".txt"
timestamp="true"/>
</Context>
When i start the tomcat it create the folders jk and auto, create the mod_jk.conf in auto directory.
now when i start the apache it says Cannot load the mod_jk.dll (not found)
Pls help me here
my apache doesnt get started
rgds
shekar
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
shekarasankaran,
The user name that you have chosen is not in keeping with the Official Javaranch Naming Policy. Please choose a name that complies.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Apache + Tomcat