[jboss-dev-forums] [QA of JBoss Portal] - Regarding using JDBC SQL Handler in JBOSS Portal
Gauravc123
do-not-reply at jboss.com
Mon Aug 13 05:51:39 EDT 2007
I am trying to use jdbcappender.jar to insert the log4j messages into a database table using JDBCSqlHandler by creating my own SqlHandler Class as MySqlHandler
The properties i have mentioned in the log4j.xml are as follows:
where I have bundled the class MySQLHandler as a jar file and placed in server/lib folder.
On starting the server I get an error during log4j initialization as follows in two lines successively and the MYSqlhandler is not working .
log4j:ERROR JDBCAppender::setSqlhandler(), sqlhandler must be derived of JDBCSqlHandler !
log4j:ERROR JDBCAppender::setSqlhandler(), sqlhandler must be derived of JDBCSqlHandler !
Please help me ASAP , on this as I tried seraching a lot on the forum and google but couldn't get any help ....
Thanks in Advance ....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073483#4073483
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073483
More information about the jboss-dev-forums
mailing list