Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-29-2007, 09:34 AM   #1
Registered: Aug 2007
Location: Pune, Maharashtra, India
Distribution: Gentoo
Posts: 84

Rep: Reputation: 16
Configure Tomcat 6 and httpd 2.2.4 (mod_jk 1.2.25)

I have complied mod_jk-1.2.25

I configured mod_jk-1.2.25 something like this:


LoadModule jk_module modules/

JkWorkersFile /usr/local/tomcat_6/conf/

JkLogFile     /httpd_logs/mod_jk.log

JkLogLevel    info

#JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

JkMount  /examples/servlet/* ajp13

JkMount  /examples/*.jsp ajp13

JkMount /*.jsp ajp13

JkMount /*.do ajp13
Now, i can access mysite/index.jsp

from the tomcat webapp directory.

If i put a file in /home/httpd/html/

say 1.jsp

then tomcat gives me a 404 error.

I want apache and tomcat serving jsp and do files from the same directory /home/httpd/html

such that to jsp and do file requests, apache will pass it to tomcat and tomcat will parse it then tomcat will return the result to apache and apache will show it on the browser or some similar setup.

I don't want tomcat serving from its webapps directory.

Also, how do i create my own worker; for example worker1 ?

Please list all properties present for

Is there an alternative to ?


apache, httpdconf, modjk, tomcat

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
"mixing * & non * -ports not supported " Tomcat,httpd with mod_jk in virtual host shailesh_mishra Linux - Server 0 02-26-2007 05:37 AM
Apache/Tomcat/Mod_JK chantman Linux - Software 1 04-05-2006 05:32 AM
Apache Tomcat mod_jk connector dashp Linux - Newbie 1 04-01-2005 02:34 PM
tomcat,apache,mod_jk + localhost dashp Linux - Software 1 03-27-2005 09:06 PM
connecting Apache 1.3.x and Tomcat 5.5: mod_jk [GOD]Anck Slackware 0 03-22-2005 10:27 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration