Thread: [HA-JDBC] remove jboss logging dependency?
High-Availability JDBC
Brought to you by:
ferraro
From: Tore H. <ha...@pv...> - 2012-07-24 19:52:49
|
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. |
From: Paul F. <pm...@co...> - 2012-07-24 21:16:10
|
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 |
From: Tore H. <ha...@pv...> - 2012-07-25 09:14:43
|
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. |
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 |
From: Tore H. <ha...@pv...> - 2012-07-25 12:05:53
|
Thanks. Is github the main repo or is it at sf.net? Regards, - Tore. On Jul 25, 2012, at 13:23 , Paul Ferraro wrote: > 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 > > > > ------------------------------------------------------------------------------ > 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 > |
From: Paul F. <pm...@co...> - 2012-07-25 13:49:51
|
I migrated the main subversion repository on sourceforge to github a few months ago. On Wed, 2012-07-25 at 14:05 +0200, Tore Halset wrote: > Thanks. > > Is github the main repo or is it at sf.net? > > Regards, > - Tore. > > On Jul 25, 2012, at 13:23 , Paul Ferraro wrote: > > > 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 > > > > > > > > ------------------------------------------------------------------------------ > > 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 > > > > > ------------------------------------------------------------------------------ > 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 |