logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sarajlic Milos" <m.saraj...@mobilkom.at>
Subject DBAppender problem
Date Tue, 29 Apr 2008 09:07:19 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message