LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   HTTP Status 404 - in tomcat (https://www.linuxquestions.org/questions/linux-server-73/http-status-404-in-tomcat-936424/)

greenworld 03-26-2012 12:54 AM

HTTP Status 404 - in tomcat
 
Hi,

I was extract the war file under the public_html directory and when i was open my site in browser its displaying error.


HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/5.5.30


How can i fixed this error?

Advanced thanks,

bathory 03-26-2012 02:12 AM

Hi,

In tomcat you should place your war file under the webapps directory. When tomcat restarts it will extract the war file, so you don't have to do that

Regards

greenworld 03-26-2012 02:38 AM

Hi,

Thank you for fast reply, i have deployed the war file under the webapps/ directory, i got another error in browser,

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.19 (Unix) mod_ssl/2.2.19 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_jk/1.2.30 Server at www.mytownnirmal.com Port 80


Thank you,

bathory 03-26-2012 02:53 AM

This error is from the webserver (apache in your case)
You didn't mention how apache is connected to tomcat (mod_jk, mod_proxy etc), but anyway it means that apache cannot contact tomcat on the url:port you specified

greenworld 03-26-2012 06:48 AM

Hi,

Thank you for your response, Still now getting the same error,

HTTP Status 404 -

type Status report

message

description The requested resource () is not available.
Apache Tomcat/5.5.30



shall i check it any file or path? please tell me what should i do?

Thank you,

bathory 03-26-2012 09:38 AM

First check if tomcat is running and apache can contact it.
Then check the apache config file to see how is apache connected to tomcat.
If you don't know the answers above, you should post more details, like distro, how you've installed both apache and tomcat and the apache config file

Regards


All times are GMT -5. The time now is 12:37 PM.