Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat7 on Eclipse indigo not working

 
Joy Vergis
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,
Below mention are the installation of Java and Tomcat on my system

developer@developer-XYZ12-S2P:/usr/share/Tomcat7/bin$ sudo ./startup.sh
[sudo] password for developer:
Using CATALINA_BASE: /usr/share/Tomcat7
Using CATALINA_HOME: /usr/share/Tomcat7
Using CATALINA_TMPDIR: /usr/share/Tomcat7/temp
Using JRE_HOME: /usr/lib/jvm/Java7/jre
Using CLASSPATH: /usr/share/Tomcat7/bin/bootstrap.jar:/usr/share/Tomcat7/bin/tomcat-juli.jar
developer@developer-XYZ12-S2P:/usr/share/Tomcat7/bin$ sudo ./shutdown.sh
Using CATALINA_BASE: /usr/share/Tomcat7
Using CATALINA_HOME: /usr/share/Tomcat7
Using CATALINA_TMPDIR: /usr/share/Tomcat7/temp
Using JRE_HOME: /usr/lib/jvm/Java7/jre
Using CLASSPATH: /usr/share/Tomcat7/bin/bootstrap.jar:/usr/share/Tomcat7/bin/tomcat-juli.jar


Eclipse indigo3.7 is installed in /opt directory. In Eclipse indigo I have also configured Tomcat in server configuration.


The problem faced is when I start the Tomcat through eclipse I get Status 404 in both eclipse browser and external mozilla firefox Aurora browser. Error is as below


HTTP Status 404 - /
type Status report
message /
description The requested resource (/) is not available.
Apache Tomcat/7.0.26



When I sart Tomcat using ./startup.sh externally, both internal eclipse browser and external browser able to execute successfully.

I only want to execute the Tomcat through Eclipse Indigo. But i get the ablove mentioned error.

Please help me to understand the possible cause and the changes required to make the tomcat7 execute through eclipse.


Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic