LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HTTP Status 404 When try to connect tomcat from apache httpd (http://www.linuxquestions.org/questions/linux-newbie-8/http-status-404-when-try-to-connect-tomcat-from-apache-httpd-4175412428/)

sharonsreedh 06-20-2012 05:23 AM

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

bathory 06-20-2012 07:09 AM

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)?

sharonsreedh 06-20-2012 09:24 AM

Quote:

Originally Posted by bathory (Post 4707691)
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... :hattip:


All times are GMT -5. The time now is 11:27 PM.