Win a copy of Spring Boot in Practice this week in the Spring forum!
  • 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
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Starting Tomact starting

 
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I Tried to do Tomcat setup in Eclipse Ganetmade,I did the following things

1)Installed Java
2)Downloaded Eclipse and Tomcat 6
3) Extracted both to different location
4) In eclipse, File->Other->Server->apache ->Tomcat 6.0 server
5) Then I selected Tomcat Location
6) If I start the server then server started but If I tried the URL http://localhost:8080 then it display not resource found
7) then I go to tomcat directory and opened setclasspath ,Startup but nothing is useful

Please suggest what went wrong?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You'll have to deploy a web application in Tomcat, otherwise there will be nothing to see at http://localhost:8080
 
jacob deiter
Ranch Hand
Posts: 594
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
my intention is not to deploy application,I want to just start tomcat inside Eclipse.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am confused. You said "I want to just start tomcat inside Eclipse", but in your first post you said (for step 6) "If I start the server then server started". How did you start Tomcat in step 6? I thought you did it within Eclipse because in step 7 you talk about using the startup script to start Tomcat.

It appears to me that Tomcat is started (it did give you a resource not found error, right?). But, as Jesper pointed out, you will not see anything in the browser until you deploy an application.

Or maybe you really do just want to know how to start Tomcat in Eclipse: right-click on Tomcat in the Servers View and click on Start. The Console View should show the startup messages.
reply
    Bookmark Topic Watch Topic
  • New Topic