• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

WIN2003/Tomcat6/JDK1.6 -> WIN2012/Tomcat7/JDK1.6 Deployed Application All 404 Errors

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I just moved from WIN2003 server with Tomcat6 and JDK1.6 to WIN2012 server with Tomcat7 and JDK1.6. When I try and run the application in the browser, I get a "404 - File or directory not found" error.

I tried to view the Manager Application at http://localhost:8080/manager/html..... I also get a "HTTP STATUS 404 /manager/html" error message. Everything is a 404 error and I am kind of stumped.

The log file shows both my application and the manager application as successfully deployed.


After starting Tomcat7, the catalina.<timestamp> log shows...
.............
INFO: Starting service Catalina

Feb 13, 2014 5:56:20 AM org.apache.catalina.core.StandardEngine startInternal

INFO: Starting Servlet Engine: Apache Tomcat/7.0.47

Feb 13, 2014 5:56:20 AM org.apache.catalina.startup.HostConfig deployWAR

INFO: Deploying web application archive E:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\myservlet.war

Feb 13, 2014 5:56:26 AM org.apache.tomcat.websocket.server.WsSci onStartup

INFO: JSR 356 WebSocket (Java WebSocket 1.0) support is not available when running on Java 6. To suppress this message, run Tomcat on Java 7, remove the WebSocket JARs from $CATALINA_HOME/lib or add the WebSocketJARs to the tomcat.util.scan.DefaultJarScanner.jarsToSkip property in $CATALINA_BASE/conf/catalina.properties. Note that the deprecated Tomcat 7 WebSocket API will be available.

Feb 13, 2014 5:56:26 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory E:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\docs

Feb 13, 2014 5:56:27 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory E:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\manager

Feb 13, 2014 5:56:28 AM org.apache.catalina.startup.HostConfig deployDirectory

INFO: Deploying web application directory E:\Program Files\Apache Software Foundation\Tomcat 7.0\webapps\ROOT

Feb 13, 2014 5:56:28 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["http-bio-8080"]

Feb 13, 2014 5:56:28 AM org.apache.coyote.AbstractProtocol start

INFO: Starting ProtocolHandler ["ajp-bio-18009"]

Feb 13, 2014 5:56:28 AM org.apache.catalina.startup.Catalina start

INFO: Server startup in 8683 ms
..............
 
Saloon Keeper
Posts: 27762
196
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
Have you checked to see if you are really talking to the right server? The simplest way to do that is to stop Tomcat. If you still get a Tomcat 404 page - or for that matter, any server's 404 page - your request isn't going where you think it is.
 
reply
    Bookmark Topic Watch Topic
  • New Topic