File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Problem accessing the application from tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Problem accessing the application from tomcat" Watch "Problem accessing the application from tomcat" New topic

Problem accessing the application from tomcat

Gayatri Ganesh
Ranch Hand

Joined: Dec 23, 2003
Posts: 143

I downloaded apache-tomcat-4.1.34 and unzipped the file into
C:\tomcat\ so this is the directory structure i have

i want to create myapplication.xml.

the documents tell me to go under C:\tomcat\apache-tomcat-4.1.34\conf\catalina\localhost
and create myapp.xml file.

but there is no catalina folder under C:\tomcat\apache-tomcat-4.1.34\conf
so i created catalina\localhost and put myapp.xml file there.

when i try to hit http://localhost:8080/myapp, I get a file not found 404 error.
can anyone please point out what i did wrong.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60053

Firstly, why such an ancient version of Tomcat?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
wood burning stoves
subject: Problem accessing the application from tomcat
Similar Threads
Separate the WAR from server directory
tomcat context
Yet another Tomcat port question
Running JSP from outside tomcat\webapps\ROOT
How to setup the same application (multiple instances) running on different ports under Tomcat 6.0.x