Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64702
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the Tomcat Manager show that a web app with the context path of /admin is running?
 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64702
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does the web.xml for the admin application contain?

Bill
 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
web.xml



 
priyanaka jaiswal
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic