"adrian(a)jboss.org" wrote :
| This is also related to something I discussed with Carlo about ejb annotations.
| The annotations in the xml are "instance scope" annotations,
| while the annotations on the class are "Class scope" annotations.
|
| Any "instance scope" annotation makes the "class scope" invisible.
I though of this - following your discussion with Carlo :-) - but there are some issues that IMO still need exact knowledge of overlapping instances.
Specially when dealing with full sets/lists of metadata - e.g. bean propertys, annotations, installs/uninstalls, callbacks, supplies, demands, ...
But I guess implementing equals/hashCode on all these metada would do the trick.
And the bean metadata ControllerContext would deal with it would actually be a scoped chain of bean metadata.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073526#4073526
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073526
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