• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Context [/roadrantz] startup failed due to previous errors

 
Ranch Hand
Posts: 270
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am using Spring 2.0 web MVC example.

Here is the source code:

web.xml



HomePageController




roadrantz-servlet.xml




home.jsp




and when i typed the url(http://localhost:8080/roadrantz/home.htm) in my browser i am getting the error as :

description The requested resource () is not available.



and the tomcat log is :

Mar 9, 2010 3:57:51 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.19.
Mar 9, 2010 3:57:51 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], ra
ndom [true].
Mar 9, 2010 3:57:52 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Mar 9, 2010 3:57:52 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Mar 9, 2010 3:57:52 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1345 ms
Mar 9, 2010 3:57:52 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Mar 9, 2010 3:57:52 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.24
Mar 9, 2010 3:57:52 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor host-manager.xml
Mar 9, 2010 3:57:54 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor manager.xml
Mar 9, 2010 3:57:54 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive roadrantz.war
Mar 9, 2010 3:57:55 PM org.apache.catalina.loader.WebappClassLoader validateJarF
ile
INFO: validateJarFile(C:\Program Files\Apache Software Foundation\Tomcat 6.0\web
apps\roadrantz\WEB-INF\lib\servlet-api-2.5.jar) - jar not loaded. See Servlet Sp
ec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger (org.springframework.web.conte
xt.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
Mar 9, 2010 3:57:55 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Mar 9, 2010 3:57:55 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/roadrantz] startup failed due to previous errors
Mar 9, 2010 3:57:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Mar 9, 2010 3:57:56 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Mar 9, 2010 3:57:57 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Mar 9, 2010 3:57:57 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Mar 9, 2010 3:57:58 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Mar 9, 2010 3:57:58 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 5828 ms



Please suggest me whats wrong i am doing here..
 
Karnati Sudhakar
Ranch Hand
Posts: 270
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I resolved it but dont know how

I just deployed manually my war file in tomcat server..before that i used the cargo plugin for maven to redeploy...

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic