Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-07 Thread David M. Lloyd
sLoader.performLoadClassChecked(ConcurrentClassLoader.java:361) > at > org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) > at > org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:333) >

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-07 Thread David M. Lloyd
On 11/07/2011 02:45 PM, Sanne Grinovero wrote: > Wouldn't it be easier to have us build with Logger 3.0.x ? Yes, however it would also fail because as it turns out, 3.0.x doesn't contain the annotations and classes required by the current CR of the logging processor. The annotations shouldn't b

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-09 Thread David M. Lloyd
On 11/09/2011 08:22 AM, Hardy Ferentschik wrote: > On Wed, 09 Nov 2011 15:00:07 +0100, Steve Ebersole > wrote: > >> Maybe instead of "shading in" the removed class you could just add it >> back to the JBoss Logging codebase? > > Right, why can we not do that? You have it backwards. We didn't *re

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-09 Thread David M. Lloyd
am totally confused then. I thought this was a discussion about > BasicLogger. But we have been using that afaik way before our recent > upgrade to 3.1 > > On Wed 09 Nov 2011 08:23:33 AM CST, David M. Lloyd wrote: >> On 11/09/2011 08:22 AM, Hardy Ferentschik wrote: >>> On W

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-09 Thread David M. Lloyd
> On 11/09/2011 08:39 AM, Steve Ebersole wrote: >> Ok, I am totally confused then. I thought this was a discussion about >> BasicLogger. But we have been using that afaik way before our recent >> upgrade to 3.1 >> >> On Wed 09 Nov 2011 08:23:33 AM CST, David M. Lloy

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-09 Thread David M. Lloyd
gt; > I thought we had said on IRC that Hibernate could really get away with > (1) and (2) and that JBoss AS 7.0 could specify to use JBoss Logging 3.0 > via dep-mgmt in its pom(s) rather than allowing Hibernate (or others) to > pull in Logging 3.1. > > On Wed 09 Nov 2011 02:32:11

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-14 Thread David M. Lloyd
>> Awesome! >> just verified on both Hibernate Search and Infinispan, no issues spotted ! >> >> thanks a lot, >> Sanne >> >> >> On 9 November 2011 21:29, Steve Ebersole > <mailto:st...@hibernate.org>> wrote: >>> Chill ou

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-14 Thread David M. Lloyd
I may have a fix. Is there any way you can check out and install the latest jboss-logging-tools, and try to recompile with that and see if the issue still exists? On 11/14/2011 09:23 AM, Strong Liu wrote: > > > On Nov 14, 2011, at 11:16 PM, David M. Lloyd wrote: > >> Can yo

Re: [hibernate-dev] [jboss-as7-dev] Which JBoss Logging version to use in AS and Hibernate Core

2011-11-14 Thread David M. Lloyd
Pushed out 1.0.0.CR5. Thanks for verifying! On 11/14/2011 08:53 PM, Strong Liu wrote: > David, > > the fix works :) > > - > Best Regards, > > Strong Liu http://hibernate.org>> > http://about.me/stliu/bio > > On Nov 15, 2011, at 1:

Re: [hibernate-dev] Building with debug/trace log level

2011-11-18 Thread David M. Lloyd
Can you send us (off-list) a copy of the CoreMessageLogger interface along with the generated CoreMessageLogger_$logger class? Thanks. On 11/18/2011 09:06 AM, Hardy Ferentschik wrote: > Hi, > > we recently discussed on IRC the need to run the builds with debug/trace > level. > I totally agree th

Re: [hibernate-dev] Building with debug/trace log level

2011-11-18 Thread David M. Lloyd
Reviewing your stack trace, I can see that you're using debugf, which passes through to the logger. If you have an error in your format then there is nothing which can be done about that by the logging framework. You would get a similar error if you were using String.format() directly with a

Re: [hibernate-dev] on broken usage of logger

2011-11-23 Thread David M. Lloyd
The solution is really easy guys: log.debugf("The thing I want to log is %s", thing); or log.debug(thing) In addition, as you have noticed, it is better to not use the formatting variants if you aren't actually formatting any strings (it doesn't make a difference if the message isn't logged, bu

Re: [hibernate-dev] AS7-4007 missing Infinispan dependency for clustered JPA second level cache

2012-03-06 Thread David M. Lloyd
On 03/06/2012 09:21 AM, Galder Zamarreño wrote: > This reminds me that we had a discussion about this a few months back: > http://goo.gl/DJLhB > > At the time, it wasn't clear whether you can use ModularClassResolver in a > non-module env. Seems like it's not possible. > > So, one option is to ha

Re: [hibernate-dev] [jboss-as7-dev] AS7-4007 missing Infinispan dependency for clustered JPA second level cache

2012-03-06 Thread David M. Lloyd
On 03/06/2012 01:02 PM, Galder Zamarreño wrote: > On Mar 6, 2012, at 6:31 PM, Paul Ferraro wrote: >> - Original Message - >>> From: "Jason T. Greene" >>> To: "David M. Lloyd" >>> Cc: "Galder Zamarreño", "Paul &

Re: [hibernate-dev] [infinispan-dev] [jboss-as7-dev] AS7-4007 missing Infinispan dependency for clustered JPA second level cache

2012-03-06 Thread David M. Lloyd
On 03/06/2012 01:27 PM, Galder Zamarreño wrote: > (***) I still don't fully understand how web apps don't have the same issue > as 2LC of not seeing Infinispan classes (Reminder: we're not talking about > the contents of the cache, but about the Infinispan classes themselves). It's possible that