I'm trying to install the Tomcat Apache connector without success.

I downloaded the first Apache Tomcat connector listed: tomcat-connectors-1.2.32-windows-i386-httpd-2.0.x.zip

After adding mod_jk.so to the modules dir, I added the following to the bottom of httpd.conf:

LoadModule jk_module modules/mod_jk.so
#Mod_jk settings
<IfModule jk_module>
   JkWorkersFile workers.properties
   JkLogFile logs/mod_jk.log
   JkLogLevel debug
   DirectoryIndex index.html index.htm index.cfm index.cfml
</IfModule>

I added a workers.properties file to the root apache dir with the following:

# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009

And now I can't start Apache without Windows telling me the service can't be started.

If I remove LoadModule jk_module modules/mod_jk.so from mod_jk.so, the service starts.

Maybe I'm downloading the wrong file? Any ideas?

I want to run a development server on my machine. I'm on Windows 7 64 bit.

link|improve this question
Did you take a look at Apache and mod_jk log? – quanta Aug 3 '11 at 2:21
@quanta, I did, but I'm a novice and I don't really know what to look for. I eventually got it to work with a skeleton app, but I get some weird errors when creating objects in Railo. I just gave up in the end. I will go back to address it when I have some time to learn more about Apache and Tomcat. This stuff is difficult for newbies. – Mohamad Aug 3 '11 at 18:14
feedback

migrated from webmasters.stackexchange.com Aug 3 '11 at 0:17

This question came from our site for pro webmasters.

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.