Seems WL is trying to load some BEA logging class (com.bea.wlw.netui.util.logging.StrutsLogFactory) that is not in the classpath. Cactus is using commons-logging for logging and it seems BEA too.
You can switch off commons-logging if you wish. For all config parameters please check http://jakarta.apache.org/commons/logging/api/org/apache/commons/logging /package-summary.html#package_description Thanks -Vincent > -----Original Message----- > From: Bret Kumler [mailto:[EMAIL PROTECTED] > Sent: 08 September 2003 19:39 > To: Cactus Users List > Subject: Class not found Exception > > I put all the cactus libs in my ear. I added the lines below to my web.xml > > <servlet> > <servlet-name>ServletRedirector</servlet-name> > > <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet- > class > > > <init-param> > <param-name>param1</param-name> > <param-value>value1 used for testing</param-value> > </init-param> > </servlet> > <servlet> > <servlet-name>ServletTestRunner</servlet-name> > > <servlet-class>org.apache.cactus.server.runner.ServletTestRunner</servle t- > cl > ass> > </servlet> > <servlet-mapping> > <servlet-name>ServletTestRunner</servlet-name> > <url-pattern>/ServletTestRunner</url-pattern> > </servlet-mapping> > <servlet-mapping> > <servlet-name>ServletRedirector</servlet-name> > <url-pattern>/ServletRedirector</url-pattern> > </servlet-mapping> > > I try to test the testcase with the following url. > http://bkumler:7001/mytest/ServletTestRunner?suite=com.test.ServiceRunTi me > Te > st > > The server spits out the following error. I'm using the 1.6dev build. > > org.apache.commons.logging.LogConfigurationException: > java.lang.ClassNotFoundException: > com.bea.wlw.netui.util.logging.StrutsLogFactory > at > org.apache.commons.logging.LogFactory$2.run(LogFactory.java:609) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:561) > at > org.apache.commons.logging.LogFactory.getFactory(LogFactory.java:352) > at > org.apache.commons.logging.LogFactory.getLog(LogFactory.java:395) > at > org.apache.cactus.server.runner.ServletTestRunner.around139_doGet(Servle tT > es > tRunner.java;org/apache/cactus/util/log/LogAspect.aj[1k]:1143) > at > org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne r. > ja > va;org/apache/cactus/util/log/LogAspect.aj[1k]:185) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > at > weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(Se rv > le > tStubImpl.java:1053) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. ja > va > :387) > at > weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl. ja > va > :305) > at > weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.r un > (W > ebAppServletContext.java:6310) > at > weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSu bj > ec > t.java:317) > at > weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118 ) > at > weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServl et > Co > ntext.java:3622) > at > weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl. ja > va > :2569) > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197) > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170) > Caused by: java.lang.ClassNotFoundException: > com.bea.wlw.netui.util.logging.StrutsLogFactory > at > weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoa de > r. > java:198) > at java.lang.ClassLoader.loadClass(ClassLoader.java:299) > at java.lang.ClassLoader.loadClass(ClassLoader.java:255) > at > weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClassLoa de > r. > java:223) > at > org.apache.commons.logging.LogFactory$2.run(LogFactory.java:571) > ... 18 more > > > > > > > > > > --------------------------------------------------------------------- > 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]
