hi friends,
i had done an application related to
struts in WSAD5.1.2 and wanted to run the same application on
tomcat. so i had created a war file and deployed on tomcat. then it is raising and exception as follows:
Feb 3, 2006 2:22:51 PM org.apache.struts.action.ActionServlet handleConfigException
SEVERE: Parsing error processing resource path
java.net.MalformedURLException: Path WEB-INF/struts-config.xml does not start with a "/" character
at org.apache.catalina.core.ApplicationContext.getResource(ApplicationContext.java:522)
at org.apache.catalina.core.ApplicationContextFacade.getResource(ApplicationContextFacade.java:233)
at org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1002)
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:211)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1033)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:876)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3814)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4090)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:868)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:852)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:614)
at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:319)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:835)
at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:589)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:474)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:954)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:399)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1135)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:792)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1127)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:502)
at org.apache.catalina.core.StandardService.start(StandardService.java:519)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:2311)
at org.apache.catalina.startup.Catalina.start(Catalina.java:577)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:394) i had tried to solve it, but could not get the solution.
Awaiting for your valuable replies..
Thanking you,
From ur true friend..