This week's book giveaway is in the XML and Related Technologies forum.
We're giving away four copies of Java XML & JSON and have Jeff Friesen on-line!
See this thread for details.
Win a copy of Java XML & JSON this week in the XML and Related Technologies forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

regarding tomcat  RSS feed

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i am getting following error while executing servlets or normal html files in webapps. my application is sunanda.
http status 404
resource(/sunanda/index.html)is not available
pplease resolve this , i am stuck with this
 
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This doesn't sound Tomcat specific, yet.
404, is HTTP's status code for File Not Found.

It may be that you don't have your web app structured properly or that you don't have some files in the right place.
Can you tell us how you deployed your application?
[ June 22, 2008: Message edited by: Ben Souther ]
 
Rancher
Posts: 3353
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This URL (in browser)
http://127.0.0.1:8080/Norms/index.html

returns this file:
C:\Java\jakarta-tomcat-3.2.4\webapps\Norms\index.html
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the Norms directory contain a directory named WEB-INF?
If not, any version of tomcat older than 6.0, will not recognize it as a web application.
 
Norm Radder
Rancher
Posts: 3353
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes the Norms directory does contain the directory: WEB-INF
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The next two things I would do:
1.) Use the Tomcat manager application to see if Norms is deployed and running.
2.) Look at the log files under tomcat/logs to see if anything has blown up.
 
sunanda kadam
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how to deploy our webapp.
 
Ranch Hand
Posts: 2908
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have .war file of your web application or folder contaning all the required resources with proper directory structure ..
You can simply paste it TOMCAT_HOME/webapps directory

where TOMCAT_HOME is the directory where you installed your tomcat ..
 
sunanda kadam
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no i don't hav a war file . i am a bigineer here , created jsp & html files & was trying to get on tomcat server.
how would i getit ?
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
using any IDE ??
 
sunanda kadam
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes using any IDE
 
Sagar Rohankar
Ranch Hand
Posts: 2908
1
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, i ask you , whether you are using any IDE, like Eclipse, JEditor, Netbeans !! If yes , the provide you with the basic directory structure template ).

If no ,
downloaad thisdoc file , which helps you to get the things more clearly !!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!