Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to configure mod_jk so that is served by Apache while is served by Tomcat. Now when I go to, I can see Tomcat message, however I am unable to access Tomcat Manager- is there something wrong with my config in Mod JK or is it something else?

I have successfully created virtual host for in Tomcat Host Manager.

I was also able to create manager for (when I created the virtual host for, later I made the following changes to configure mod_jk--

vi /usr/local/apache/conf/vhosts.conf

To this file I added directives for JKMount to the VirtualHost element corresponding to our app's domain- JkMount /. tomcat JkMount /.jsp tomcat JkMount /servlet/ tomcat

In /usr/local/apache/conf/httpd.conf

add following---

#Directives for Mod_JK
<IfModule mod_jk.c>
   JkWorkersFile /usr/local/apache/conf/
   JkShmFile     /usr/local/apache/mod_jk.shm
   JkLogFile     /usr/local/apache/mod_jk.log
   JkLogLevel    warn
   JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
   JkOptions     +ForwardKeySize +ForwardURIProxy -ForwardDirectories

I also made changes to to add a worker corresponding to the worker 'tomcat' i have defined above.

How do I resolve this? I was able to access Tomcat Manager for before I made the above changes, but I cant figure out what I did wrong/missed?

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.