aspose file tools*
The moose likes Tomcat and the fly likes  when i try to run the tomcat http://localhost:8080/ it gives me the status code 404 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark " when i try to run the tomcat http://localhost:8080/ it gives me the status code 404" Watch " when i try to run the tomcat http://localhost:8080/ it gives me the status code 404" New topic
Author

when i try to run the tomcat http://localhost:8080/ it gives me the status code 404

priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
Hi,


I am using Tomcat 6.0

HTTP Status 404 - /admin

type Status report

message /admin

description The requested resource (/admin) is not available.

Apache Tomcat/6.0.35

How to fix it?


Thanks in advance
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Does the Tomcat Manager show that a web app with the context path of /admin is running?


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
no
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61421
    
  67

Well, there's no sense trying to get a servlet to execute in a web that's not running, is there? So, you need to find out why the web app isn't running.

Any errors in the logs?

William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12804
    
    5
What does the web.xml for the admin application contain?

Bill
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
web.xml



priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
application logger is showing

i downloaded commons-io-2.4bin.Zip and copied in lib folder inside WEB-INF eventhough it is not solved
priyanaka jaiswal
Ranch Hand

Joined: Jun 03, 2011
Posts: 79
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\eclipse\jre\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/eclipse/jre/bin/client;C:/eclipse/jre/bin;C:/eclipse/jre/lib/i386;C:\Program Files\Apache Software Foundation\Maven 1.1\bin;C:\Program Files\Apache Software Foundation\Maven 1.1\bin;E:\oracle10g\app\oracle\product\10.2.0\server\bin;C:\Program Files\PC Connectivity Solution\;C:\Program Files\Java\jdk1.6.0\bin;C:\Program Files\CVSNT\;C:\eclipse;;.


i am getting this message in application console.How to fix it?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: when i try to run the tomcat http://localhost:8080/ it gives me the status code 404