Hi!

I am having a problem using DBAppender (companions->recievers) class in
BEA Workshop for WebLogic 10.1. I get the Exception:

java.lang.NoSuchMethodError: <init>
        at org.apache.log4j.db.DBAppender.<init>(DBAppender.java:165)
        at at.mobilkom.ears.LoggerTest.log(LoggerTest.java:15)
        at
at.mobilkom.ears.servlets.testServlet.doGet(testServlet.java:18)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        Truncated. see log file for complete stacktrace

log4j-1.2.15.jar library is included in WEB-INF/lib folder. I am quite
sure that the problem comes from classloader but setting the
<prefer-web-inf-classes> to true didn't help
(java.lang.ClassCastException!?!).

Any suggestions would be helpful. Thanks.

Regards,
Milos

Reply via email to