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 Groovy Fundamentals video training course this week in the Groovy 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: 62785

Firstly, why such an ancient version of Tomcat?

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: Problem accessing the application from tomcat