This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to start the application in tomcat

 
sreenivas vemula
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am able to start the tomcat successfully and I am getting "server startup" message when I start up the server. But I am not able to start the application when I try to do so I am getting the following error message.
"Application at the context path could not be started"

Not getting what to do?
PLease help


Thanks in advance.

Regards,
sreeni.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64967
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That usually means that there was an exception thrown starting up a listener or other resource. What else is in the log file?
 
sreenivas vemula
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
please find the attached log files. could you please be more descriptive about the listener thing that you have mentioned in the post.

java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:103)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1276)
at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:624)
at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:136)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:558)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1555)
at java.lang.Thread.run(Thread.java:595)
Feb 17, 2012 11:33:43 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 17, 2012 11:33:43 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/V1LAN] startup failed due to previous errors
Feb 17, 2012 11:33:43 AM com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
Feb 17, 2012 11:33:49 AM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/V1LAN] has not been started
Feb 17, 2012 11:33:49 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/V1LAN]
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.ExpandWar deleteDir
SEVERE: [D:\sreeni\from saleem\apache-tomcat-6.0.29\webapps\V1LAN\WEB-INF\lib] could not be completely deleted. The presence of the remaining files may cause problems
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.ExpandWar deleteDir
SEVERE: [D:\sreeni\from saleem\apache-tomcat-6.0.29\webapps\V1LAN\WEB-INF] could not be completely deleted. The presence of the remaining files may cause problems
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.ExpandWar deleteDir
SEVERE: [D:\sreeni\from saleem\apache-tomcat-6.0.29\webapps\V1LAN] could not be completely deleted. The presence of the remaining files may cause problems
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.ExpandWar delete
SEVERE: [D:\sreeni\from saleem\apache-tomcat-6.0.29\webapps\V1LAN] could not be completely deleted. The presence of the remaining files may cause problems
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.HostConfig checkResources
INFO: Undeploying context [/V1LAN]
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error while removing context [/V1LAN]
java.lang.NullPointerException
at org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:915)
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1174)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:595)
Feb 17, 2012 11:33:50 AM org.apache.catalina.startup.HostConfig checkResources
WARNING: Error during context [/V1LAN] destroy
java.lang.NullPointerException
at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1180)
at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)
at java.lang.Thread.run(Thread.java:595)
 
Sachin Pachari
Ranch Hand
Posts: 56
Eclipse IDE Netbeans IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There might be a problem with the jars, could you please post all the dependancy jars that are in WEB-INF/lib ?

I think its a missing dependancy or some thing is wrong with your jar.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic