Hi,

I am currently using the cactus plugin 2.0 to test webapp in weblogic 7.
and I get a java.lang.ClassNotFoundException on the class
org.apache.cactus.server.FilterTestRedirector when I try to run a
ServletTestCase

But the jar which has the cactus framework
(cactus-framework-13-1.5dev-20030407.jar in my repository) has the class
org.apache.cactus.server.FilterTestRedirector.

Plus my tests are packaged in a cactustest.war in the weblogic domain, and
this package contains cactus-framework-13-1.5dev-20030407.jar and the class
org.apache.cactus.server.FilterTestRedirector.

So I don't understand why this class is not found by the classloader.

Somebody has an idea ?

This the log of my weblogic server:

####<1 ao�t 03 12:02:40 CEST> <Error> <HTTP> <FRB001028> <testserver>
<Thread-9> <kernel identity> <> <101165> <Could not load user defined
filter: org.apache.cactus.server.FilterTestRedirector> 
java.lang.ClassNotFoundException:
org.apache.cactus.server.FilterTestRedirector
        at
weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.
java:169)
        at
weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClas
sLoader.java:65)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at
weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAwareClas
sLoader.java:43)
        at
weblogic.servlet.internal.WebAppServletContext.loadClass(WebAppServletContex
t.java:4617)
        at
weblogic.servlet.internal.WebAppServletContext.registerFilter(WebAppServletC
ontext.java:2402)
        at
weblogic.servlet.internal.WebAppServletContext.initFilters(WebAppServletCont
ext.java:2389)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServlet
Context.java:2660)
        at
weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:524)
        at
weblogic.servlet.internal.WebService.preloadServlets(WebService.java:476)
        at
weblogic.t3.srvr.ServletInitRunner$1.run(ServletInitRunner.java:50)
        at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManage
r.java:721)
        at weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:46)
        at java.lang.Thread.run(Thread.java:484)

Gandin Mathieu


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to