From: Paul F. <pm...@co...> - 2012-07-25 11:24:06
|
Ah - I see. Those are both bugs. I just pushed a fix to master for both issues. Thanks, Paul On Wed, 2012-07-25 at 11:14 +0200, Tore Halset wrote: > Hello. > > If I have jboss-logging in classpath, ha-jdbc works fine. If I skip it I get a NoClassDefFoundError in JbossLoggerProvider#getLogger. > > The problem seem to be that the JBossLoggingProvider class loads fine, but not the JbossLogger. This does not match with the comment in JBossLoggingProvider stating "If this class could be loaded, so can jboss logging." > > My first plan was to change the JBossLoggingProvider#enabled method to return true only if it can find the org.jboss.logging.Logger class. However, in LoggerFactory you even use disabled loggers for logging the "logging is not enabled"-message. > > So what am I doing wrong? > > Regards, > - Tore. > > On Jul 24, 2012, at 23:16 , Paul Ferraro wrote: > > > jboss-logging is a required compile-time dependency, but an optional > > runtime dependency. > > > > On Tue, 2012-07-24 at 21:11 +0200, Tore Halset wrote: > >> Hello. > >> > >> Why do ha-jdbc require jboss-logging even when I do not use jboss logging? I am using latest ha-jdbc from github. > >> > >> Regards, > >> Tore Halset. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > ha-jdbc-user mailing list > ha-...@li... > https://lists.sourceforge.net/lists/listinfo/ha-jdbc-user |