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 03-24-2005, 09:07 PM   #1
dashp
LQ Newbie
 
Registered: Mar 2005
Posts: 12

Rep: Reputation: 0
Apache Tomcat mod_jk connector


I am trying to access my servlets via the web but I am getting a "The page cannot be displayed" message. For example when I type
http://localhost/servlets/dir/servlet I am able to see the servlet however www.myweb.net/servlets/dir/servlet will not work. I can only access the apache's static content in the htdocs dir. As far as I know the mod_jk is installed correctly since I was able to access the tomcat examples via localhost. I also tried opening port 8009 on my router but no luck. Any Ideas. Here are my configurations:

#workers.properties
worker.worker1.port=8009
worker.worker1.host=localhost
worker.worker1.type=ajp13

#httpd.cconf
<VirtualHost localhost>
ServerName localhost

JkMount /admin worker1
JkMount /admin/* worker1

JkMount /servlets-examples worker1
JkMount /servlets-examples/* worker1

JkMount /servlets worker1
JkMount /servlets/* worker1

</VirtualHost>
 
Old 04-01-2005, 02:34 PM   #2
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
At first glance, this appears to be a DNS issue since the only difference in the URL is "localhost" vs "www.myweb.net". Don't open port 8009 through your firewall. If you're using mod_jk, then Apache is taking the requests.
 
  


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 jonathon Linux - General 1 06-29-2006 02:06 AM
Apache Tomcat (Building the mod_jk connector) dashp Linux - Newbie 1 03-28-2005 09:49 AM
Apache Tomcat mod_jk connector dashp Linux - Newbie 0 03-24-2005 08:12 PM
Apache Tomcat (Building the mod_jk connector) dashp Linux - Newbie 1 03-19-2005 02:38 PM
mod_jk-2.0.42.so - apache-tomcat connector anura Linux - Software 0 10-11-2004 04:53 AM


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