• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Installing tomcat on Fedora 18

 
Greenhorn
Posts: 2
Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 440
Hibernate Eclipse IDE Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27763
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic