Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Not able to hit default page of Tomcat 7.0

 
Ranch Hand
Posts: 1249
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Saloon Keeper
Posts: 24868
174
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
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
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any idea guys to resolve this?

Or should I move back to previous version of Tomcat?
 
Bartender
Posts: 11445
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You might want to consider using the sysdeo plugin
 
Shaan Shar
Ranch Hand
Posts: 1249
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 24868
174
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
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
Spring Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...
 
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
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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic