javax.servlet.UnavailableException?

Guys, I'm having problem deploying my application in jakarta-tomcat-4.1.30 and struts1.1.

when I access my apps its diplaying HTTP Status 503. here the stacktrace:

javax.servlet.UnavailableException: Parsing error processing resource path
      at org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
      at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
      at org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
      at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
      at javax.servlet.GenericServlet.init(GenericServlet.java:256)
      at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:935)
      at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:823)
      at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3427)
      at org.apache.catalina.core.StandardContext.start(StandardContext.java:3628)
      at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:821)
      at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
      at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
      at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:307)
      at org.apache.catalina.core.StandardHost.install(StandardHost.java:788)
      at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:492)
      at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:400)
      at org.apache.catalina.startup.HostConfig.start(HostConfig.java:718)
      at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:358)
      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1196)
      at org.apache.catalina.core.StandardHost.start(StandardHost.java:754)
      at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
      at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:363)
      at org.apache.catalina.core.StandardService.start(StandardService.java:497)
      at org.apache.catalina.core.StandardServer.start(StandardServer.java:2190)
      at org.apache.catalina.startup.Catalina.start(Catalina.java:512)
      at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
      at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)

Any idea?
rdy1437Asked:
Who is Participating?
 
fargoCommented:
is the exception coming during the application startup OR when accessing some of the pages?
0
 
rdy1437Author Commented:
During application startup
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
Mayank SAssociate Director - Product EngineeringCommented:
Try cleaning and re-building the whole application
0
 
fargoCommented:
check whether the struts-config file definition in web.xml under ActionServlet entry is correct or not? Like following is the entry for struts-config.xml

      <init-param>
         <param-name>config</param-name>
         <param-value>/WEB-INF/struts-config.xml</param-value>
      </init-param>

struts-config.xml should be there if u placed it under WEB-INF folder.
0
 
rdy1437Author Commented:
the web.xml is configured correctly, placed under WEB-INF. Quite weird because this application is running successfully on Resin. But when I moved it to tomcat, Im getting this error.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.