jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bret Kumler" <bkum...@firstam.com>
Subject RE: Class not found Exception
Date Fri, 12 Sep 2003 18:30:04 GMT
I found the missing class
C:\bea\weblogic81\samples\platform\end2end\e2ePortal\WEB-INF\lib\netui-util.
jar

-----Original Message-----
From: Vincent Massol [mailto:vmassol@pivolis.com]
Sent: Monday, September 08, 2003 11:38 AM
To: 'Cactus Users List'
Subject: RE: Class not found Exception


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:bkumler@firstam.com]
> 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: cactus-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: cactus-user-help@jakarta.apache.org



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




Mime
View raw message