LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-20-2012, 06:23 AM   #1
sharonsreedh
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Rep: Reputation: Disabled
Unhappy HTTP Status 404 When try to connect tomcat from apache httpd


Hi,

After the successful configuration of tomcat-connectors am unable to access tomcat from apache-httpd. It gives me a HTTP Status 404 error. What more I have to do to resolve this.?

server configuration
=====================
Apache/2.2.22
tomcat-7.0.27
tomcat-connectors-1.2.37

mod_jk.conf
-------------
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel info
JkMount /sample/* node1

==========================================================

workers.properties
------------------
worker.list=node1
worker.node1.port=8009
worker.node1.host=localhost
worker.node1.type=ajp13
worker.node1.lbfactor=1

Am trying access http://localhost/sample/
and i got
==================================================================
HTTP Status 404 - /sample/

type Status report

message /sample/

description The requested resource (/sample/) is not available.
Apache Tomcat/7.0.27
====================================================================
Thanks and Regads
SharonSreedh
 
Old 06-20-2012, 08:09 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,215
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Hi,

That means that your application is not deployed under /sample in tomcat. Can you visit it using http://localhost:8080/sample (assuming tomcat listens on port 8080)?

Last edited by bathory; 06-20-2012 at 08:15 AM.
 
1 members found this post helpful.
Old 06-20-2012, 10:24 AM   #3
sharonsreedh
LQ Newbie
 
Registered: Jun 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by bathory View Post
Hi,

That means that your application is not deployed under /sample in tomcat. Can you visit it using http://localhost:8080/sample (assuming tomcat listens on port 8080)?
Thank you for you help.. I Deployed /sample directory in tomcat and issue resolved..

Thanyou very much...
 
  


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
HTTP Status 404 - in tomcat greenworld Linux - Server 5 03-26-2012 10:38 AM
The dreaded status 404 error on Tomcat... rtoney5 Linux - Software 2 12-19-2008 03:23 PM
apache httpd 2.2 and tomcat 5.5 and mod_proxy CowLoon Linux - Server 20 02-14-2008 05:39 PM
Tomcat Status 404 issue FirmbIT Linux - Software 18 04-22-2006 11:30 AM
tomcat 5 implimentation on apache httpd server srikz Red Hat 0 07-22-2004 03:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:40 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