This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 21 Developer Study Guide: Exam 1Z0-830 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

404 error and unable to deploy the project

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Feb 10, 2012 11:05:21 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.22.
Feb 10, 2012 11:05:21 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [false], sendfile [true], accept filters [false], random [true].
Feb 10, 2012 11:05:21 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-apr-8080"]
Feb 10, 2012 11:05:21 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-apr-8009"]
Feb 10, 2012 11:05:21 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1050 ms
Feb 10, 2012 11:05:21 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Feb 10, 2012 11:05:21 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.22
Feb 10, 2012 11:05:21 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Feb 10, 2012 11:05:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Feb 10, 2012 11:05:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Feb 10, 2012 11:05:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Feb 10, 2012 11:05:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Feb 10, 2012 11:05:22 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory sdbjksnd
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Feb 10, 2012 11:05:24 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Feb 10, 2012 11:05:24 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/sdbjksnd] startup failed due to previous errors
Feb 10, 2012 11:05:24 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-apr-8080"]
Feb 10, 2012 11:05:24 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-apr-8009"]
Feb 10, 2012 11:05:24 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 3132 ms
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Feb 10, 2012 11:06:04 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Feb 10, 2012 11:06:04 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/sdbjksnd] startup failed due to previous errors



webcontent>webinf>web.xml




please let me know whts the issue or need any other code
 
Saloon Keeper
Posts: 28321
210
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


Feb 10, 2012 11:05:24 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Error listenerStart
Feb 10, 2012 11:05:24 AM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/sdbjksnd] startup failed due to previous errors



A 404 error comes because the application itself cannot be found (it didn't deploy), therefore all URL requests to that app will go unresolved (404).

Unfortunately, the catalina log doesn't give details. In situation like this, you can often find useful information in the localhost log.
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic