struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurie Harper <lau...@holoweb.net>
Subject Re: Can I load filter-class from custom jar file in WEB-INF/lib dir
Date Thu, 26 Apr 2007 04:12:29 GMT
I'm not sure what you mean by 'custom jar or war file' but it looks like 
your filter class isn't included in the web application's class path 
(i.e. it's not in the WAR file's WEB-INF/classes/org/sae/commons/filter 
folder or in any of the JAR files in WEB-INF/lib.

L.

Vinit N wrote:
> What I need to do to load the filter-class from custon jar or war file ?
> I am getting this exception :
> 
> <Apr 24, 2007 10:16:09 AM EDT> <Error> <HTTP> <BEA-101165> <Could
not load
> user defined filter in web.xml:
> ServletContext(id=31649343,name=dlymags,context-path=/dlymags)
> org.sae.commons.filter.LogParamFilter.
> java.lang.ClassNotFoundException: org.sae.commons.filter.LogParamFilter
> 	at
> weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:199)
> 	at
> weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:61)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
> 	at
> weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoader.java:224)
> 	at
> weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClassLoader.java:41)
> 	at
> weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletContext.java:6127)
> 	at
> weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppServletContext.java:3076)
> 	at
> weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServletContext.java:3053)
> 	at
> weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3354)
> 	at
> weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:6208)
> 	at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:864)
> 	at
> weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2134)
> 	at
> weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2175)
> 	at
> weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2122)
> 	at
> weblogic.management.deploy.slave.SlaveDeployer$Application.setActivation(SlaveDeployer.java:3099)
> 	at
> weblogic.management.deploy.slave.SlaveDeployer.setActivationStateForAllApplications(SlaveDeployer.java:1768)
> 	at
> weblogic.management.deploy.slave.SlaveDeployer.resume(SlaveDeployer.java:351)
> 	at
> weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.resume(DeploymentManagerServerLifeCycleImpl.java:229)
> 	at weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:136)
> 	at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:965)
> 	at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:360)
> 	at weblogic.Server.main(Server.java:32)
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message