This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat7 on Eclipse indigo not working

 
Joy Vergis
Ranch Hand
Posts: 54
  • 0
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic