Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Installing tomcat on Fedora 18

 
Patanjali Hardikar
Greenhorn
Posts: 2
Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ..cat image)

when i type in 127.0.0.1:8080, 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.

Thanks.
 
Saif Asif
Ranch Hand
Posts: 440
Eclipse IDE Hibernate Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 tomcat.apache.org.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic