Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Not able to start the tomcat 6 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Not able to start the tomcat 6" Watch "Not able to start the tomcat 6" New topic
Author

Not able to start the tomcat 6

saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 64
Hi,

Just now i downloaded tomcat 6, and trying to configure on eclipse. Here I am using Mac book Pro.

When I am starting the server it is giving below logs on console.





Still I tried to ignore the logs after googling...

When I tried to access it through htpp://localhost:8080, it is not working.

please suggest me.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63026
    
  69

So what's the problem? All of that is normal. What do you mean by "not working"?

(Please read TellTheDetails.)


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
saidi Bandi
Ranch Hand

Joined: Apr 07, 2007
Posts: 64
Hi,

what I mean is when I am trying to access the tomcat console[htpp://localhost:8080], I am seeing 404 error.

Please help to solve the issue.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10433
    
176

The logs don't show any application being deployed. Not even the ROOT application which is what is served by default at http://localhost:8080. What are the contents of TOMCAT_HOME/webapps folder?

[My Blog] [JavaRanch Journal]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16879
    
  26

If you are receiving a "404" error, Tomcat has most certainly started. You just don't have a proper webapp deployed.

Actually, let me qualify that. The Tomcat "404" page is sort of a bluish-green header and says "Tomcat" in the page text. If some other web server (such as Apache httpd) had grabbed Tomcat's HTTP port, that server's 404 page wouldn't say "Tomcat" on it.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Not able to start the tomcat 6
 
It's not a secret anymore!