File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes IDEs, Version Control and other tools and the fly likes Starting Tomact starting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Starting Tomact starting" Watch "Starting Tomact starting" New topic

Starting Tomact starting

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
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?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15093

You'll have to deploy a web application in Tomcat, otherwise there will be nothing to see at http://localhost:8080

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 580
my intention is not to deploy application,I want to just start tomcat inside Eclipse.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

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.

JBoss In Action
I agree. Here's the link:
subject: Starting Tomact starting
It's not a secret anymore!