LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2006, 07:47 AM   #1
booga
LQ Newbie
 
Registered: Jul 2003
Distribution: slack
Posts: 15

Rep: Reputation: 0
mod_jk.conf


I am going through the notes of another person in setting up mod_jk

http://johnturner.com/howto/apache2-...rh9-howto.html

I come to the line where it says to add this line to httpd.conf

Code:
Include /usr/local/tomcat/conf/auto/mod_jk.conf
mod_jk.conf is nowhere to be found
 
Old 05-15-2006, 03:00 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,132
Blog Entries: 1

Rep: Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005
You didn't read the note right after the "Include ..." line. mod_jk.conf is created by tomcat everytime it starts. You can test it out right after you start apache and tomcat, you'll see the file created in the specified directory and it's first line says that it's autogenerated.

Regards
 
Old 05-15-2006, 04:43 AM   #3
booga
LQ Newbie
 
Registered: Jul 2003
Distribution: slack
Posts: 15

Original Poster
Rep: Reputation: 0
Code:
Include /usr/local/tomcat/conf/auto/
The folder does not even exist which makes it not possible for me to check to see if the file is auto-generated.

So how can i edit this file if I can't see it?

Do i create the AUTO folder?
 
Old 05-15-2006, 05:48 AM   #4
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,132
Blog Entries: 1

Rep: Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005Reputation: 2005
You should change the path to mod_jk.conf to a directory writable by the user under which tomcat is running. You can create it and change the permissions accordingly.
 
Old 05-15-2006, 08:29 AM   #5
booga
LQ Newbie
 
Registered: Jul 2003
Distribution: slack
Posts: 15

Original Poster
Rep: Reputation: 0
this attempt to get MOD_JK working botched up Tomcat. Looks like I will be starting over with Tomcat.
 
  


Reply


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
Apache/Tomcat/Mod_JK chantman Linux - Software 1 04-05-2006 05:32 AM
mod_jk build from scratch dunamin Linux From Scratch 3 08-27-2005 01:05 AM
tomcat,apache,mod_jk + localhost dashp Linux - Software 1 03-27-2005 09:06 PM
mod_jk.so for linux anyone? azus Linux - Software 0 05-12-2004 10:36 PM
downloading mod_jk SkySurfinGrl Linux - Newbie 0 09-03-2003 03:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:22 AM.

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