[ https://issues.apache.org/struts/browse/SHALE-392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39817 ]
Sudip Das commented on SHALE-392: --------------------------------- I am using Shale ver. 1.0.3 and the shale-core-1.0.3.jar file is in WEB-INF/lib folder. I have downloaded the Shale Use-case example from ' http://people.apache.org/dist/shale/v1.0.3/ ' . Then I placed the WAR file and modified the following files as suggested in SHALE - 325. But when I am starting Tomcat 5.5 the above mentioned error throws. Again without the modification (i.e without adding custom validation rule) the shale use-case exmple is running well under the same environment. > Adding Custom Validation in Shale Usecase example > ------------------------------------------------- > > Key: SHALE-392 > URL: https://issues.apache.org/struts/browse/SHALE-392 > Project: Shale > Issue Type: Improvement > Components: Validator > Affects Versions: 1.0.3 > Environment: OS: WINXP, Tomcat 5.5 > Reporter: Sudip Das > > Please give a WAR file of "Shale Usecase Example" which contains the > custom validation. I have done all the suggestions as mentioned on #SHALE - > 325, but during startup of Tomcat 5.5 it gives the following ERROR and > closes application context. Hence, suggest what to do. > StandardContext[/shale-usecases]Exception starting filter shale > java.lang.ClassNotFoundException: > org.apache.shale.application.faces.ShaleApplicationFilter > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1340) > at > org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1189) > at > org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:211) > at > org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:308) > at > org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:79) > at > org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3698) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4349) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823) > 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:277) > at org.apache.catalina.core.StandardHost.install(StandardHost.java:832) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:687) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:432) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:968) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:789) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478) > at > org.apache.catalina.core.StandardService.start(StandardService.java:480) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:2313) > at org.apache.catalina.startup.Catalina.start(Catalina.java:556) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:284) > at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:422) > StandardContext[/shale-usecases]Closing Spring root WebApplicationContext -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira