I am using struts 2.8 for a project. I deploy the application in weblogic 9.0 but face some problem. The server couldn't load struts FilterDispatcher on deploying the application. My application's web.xml configuration is as under *****************Web.xml************************************ <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class> </filter>
<filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <welcome-file-list> <welcome-file>jsp/index.jsp</welcome-file> </welcome-file-list> </web-app> ********************************************************* When loading application server gives error as follows: weblogic.management.DeploymentException: at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod ulesFlow.java:30) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja va:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD river.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment. java:257) at weblogic.application.internal.DeploymentStateChecker.activate(Deploym entStateChecker.java:154) Truncated. see log file for complete stacktrace java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory at org.apache.struts2.dispatcher.FilterDispatcher.<clinit>(FilterDispatc her.java:149) at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source ) at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source) at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java :86) at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager. java:58) Truncated. see log file for complete stacktrace > <Sep 7, 2007 11:23:51 PM PKT> <Error> <Deployer> <BEA-149231> <Unable to set the activation state to true for the application 'strutsblank'. weblogic.management.DeploymentException: at weblogic.application.internal.flow.StartModulesFlow.activate(StartMod ulesFlow.java:30) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.ja va:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD river.java:26) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment. java:257) at weblogic.application.internal.DeploymentStateChecker.activate(Deploym entStateChecker.java:154) Truncated. see log file for complete stacktrace java.lang.NoClassDefFoundError: org/apache/struts2/dispatcher/FilterDispatcher at java.lang.Class.newInstanceCached(I)Ljava.lang.Object;(Unknown Source ) at java.lang.Class.newInstance(I)Ljava.lang.Object;(Unknown Source) at weblogic.servlet.internal.FilterManager.loadFilter(FilterManager.java :86) at weblogic.servlet.internal.FilterManager.preloadFilters(FilterManager. java:58) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAp pServletContext.java:1551) Truncated. see log file for complete stacktrace > *********************************************************** The applications WEB-INF/lib foldr contains all struts 2 reletive jar files too. I also tried to put the jar file refrence in container's class path. but the problem persists. Can some body help me out to get rid of it? -- View this message in context: http://www.nabble.com/Struts-2-FilterDispatcher-Problem-tf4428020.html#a12631791 Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
