Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Http Status 404 - Unable to configure TOMCAT 7.0 in ECLIPSE (JUNO) version

 
BhanuChandar Challa
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Please solve below the problem.

I'm using Eclipse JUNO version and trying to configure TOMCAT 7.0.32 on it. After configure TOMCAT on eclipse, I started the same and got the below logs in CONSOLE.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nov 14, 2012 12:05:29 AM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre7\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;.

Nov 14, 2012 12:05:30 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Nov 14, 2012 12:05:30 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-bio-8009"]
Nov 14, 2012 12:05:30 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 838 ms
Nov 14, 2012 12:05:30 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 14, 2012 12:05:30 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.32
Nov 14, 2012 12:05:30 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8080"]
Nov 14, 2012 12:05:30 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8009"]
Nov 14, 2012 12:05:30 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 459 ms
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Then i went to browser and typed in "localhost:8080", but I got the below output.
---------------------------------------------------------------
HTTP Status 404 - /

type Status report

message /

description The requested resource is not available.

Apache Tomcat/7.0.32
---------------------------------------------------------------

Note: If i run directly from source folder by clicking on Startup.bat, It is working fine.
 
BhanuChandar Challa
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Found a solution for the above problem here ...
http://www.coreservlets.com/Apache-Tomcat-Tutorial/tomcat-7-with-eclipse.html

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