LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2010, 02:50 PM   #1
struct
Member
 
Registered: Feb 2009
Posts: 68

Rep: Reputation: 10
apache + mod_jk + tomcat configuration headache


Hi guys,
I'm setting up tomcat application environment and running into mod_jk configuration issue.

This is the quick overview of the setup.
Server #1 httpdev) Apache + mod_jk
Server #2 tomcatdev) Tomcat + webapps

Apache is running and it mod_rewrites to https. both http and https is working.

Tomcatdev is running and I can get to the main tomcat page using port 8080

but mod_jk is not forwarding the request to tomcat properly.

I don't know where to start the troubleshooting... any ideas would be much appreciated.

Apache loads mod_jk.conf
Code:
LoadModule	jk_module	modules/mod_jk.so
JkWorkersFile	conf.d/workers.properties
JkLogFile	logs/mod_jk.log
#JkLogLevel	notice
JkLogStampFormat	"[%a %b %d %H:%M:%S %Y] "
JkOptions	+ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat	"%w %V %T"
Here is my workers.properties file.

Code:
worker.list=app1

worker.app1.type=ajp13
worker.app1.host=192.168.0.5
worker.app1.port=8009
 
Old 11-07-2010, 03:03 PM   #2
struct
Member
 
Registered: Feb 2009
Posts: 68

Original Poster
Rep: Reputation: 10
ok figured it out.
it needed JkMount directives.
 
  


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
Tomcat 6 / apache 2.2.3 / mod_jk help mikelawford Linux - Server 11 08-20-2009 04:05 PM
apache, tomcat & mod_jk jonathon Linux - General 1 06-29-2006 02:06 AM
Apache/Tomcat/Mod_JK chantman Linux - Software 1 04-05-2006 05:32 AM
tomcat,apache,mod_jk + localhost dashp Linux - Software 1 03-27-2005 09:06 PM
Apache, Tomcat problem with mod_jk WaveyDave Linux - Software 0 09-20-2001 09:28 AM


All times are GMT -5. The time now is 11:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration