• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to hit default page of Tomcat 7.0

 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have Ubuntu using as OS and recently installed Eclipse JUNO.

I have installed Tomcat 7.0 on my eclipse but whenever I am starting Tomcat from eclipse and using http://localhost:8080/ it's not showing the main page. I remember when I was using Tomcat 5 in eclipse it was showing the same problem but when I changed tomcat configuration to enable "Use Tomcat Installation" option it just worked fine. In my current setup that option is also disable so don't know what to do?

Any help please?
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm moving this question to the IDEs forum because the Eclipse WTP plugin does horrible WTP-specific things to Tomcat's run configuration.
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any idea guys to resolve this?

Or should I move back to previous version of Tomcat?
 
Maneesh Godbole
Saloon Keeper
Posts: 11165
14
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You might want to consider using the sysdeo plugin
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maneesh Godbole wrote:You might want to consider using the sysdeo plugin


Thanks for direction but unfortunately didn't work....

Eclipse Tomcat.png
[Thumbnail for Eclipse Tomcat.png]
Eclipse Tomcat installation
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you are trying to use the sysdeo plugin like Maneesh suggested, that dialog doesn't have anything to do with sysdeo. The sysdeo configuration is done as a subtopic of the Help/Preferences/Tomcat menu.
 
Shaan Shar
Ranch Hand
Posts: 1249
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Holloway wrote:If you are trying to use the sysdeo plugin like Maneesh suggested, that dialog doesn't have anything to do with sysdeo. The sysdeo configuration is done as a subtopic of the Help/Preferences/Tomcat menu.


Yes you are correct, basically I am not able to run it via my eclipse. Any help, now I have posted my error as well...
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting a 404 error? I think that Eclipse uses a separate webapps directory where is deploys its apps to, so the typical apps the are deployed with Tomcat by default are not available. Is there a reason you want to see the Tomcat home page other than having a good feeling about it being installed/configured correctly? If so, just getting a 404 error from Tomcat should be enough to tell you it is working (if it was not working you'd get an error about the URL being inaccessible - stop Tomcat and try the URL again and notice that the error is completely different).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic