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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Installing tomcat on Fedora 18" Watch "Installing tomcat on Fedora 18" New topic

Installing tomcat on Fedora 18

Patanjali Hardikar

Joined: Dec 25, 2012
Posts: 2

I am trying to install tomcat on fedora 18 for someone. i am not a java programmer, nor do i know tomcat. After looking up some tutorials, i decided to do the following.

On my machine:

This is how it has installed:

My problem: I can confirm tomcat itself has installed properly, but i am unable to get the home page (the one with tomcat image)

when i type in, i get 404 error

Error 404 - Not Found.

No context on this server matched or handled this request. Contexts known to this server are: /javadoc ---> o.e.j.s.h.ContextHandler{/javadoc,file:/usr/share/jetty/javadoc}

I am not sure what i am expected to do from this point.

Saif Asif
Ranch Hand

Joined: Aug 11, 2011
Posts: 440

Look at the logs ( $TOMCAT_DIR$/logs/catalina.out ) to see whether tomcat has started without any problem or not ? Also share the directory listing of webapps here. I want to see what files are present inside here.

Muhammad Saif Asif Mirza
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17423

Do a "netstat -lnp | grep 8080" and check to see if the process ID that gets printed belongs to Tomcat. There are disturbing signs that something else - either a webcache component or even a Jetty server - may actually own the port that Tomcat should own.

If Jetty is running, you're probably going to have to fight the "alternatives" subsystem to persuade Fedora to let Tomcat do the serving.

I install almost everything from RPMs, even my webapps. The one notable exception is that I don't use the OS-supplied Tomcat RPM. I use a ZIP copy straight from

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Installing tomcat on Fedora 18
It's not a secret anymore!