-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Performance problem with Maven, Hibernate & SLF4J-JDK
PostPosted: Wed Apr 06, 2011 2:31 am 
Newbie

Joined: Wed Apr 06, 2011 2:09 am
Posts: 1
Hi,

just writing to let you know of a performance bug we hit with certain "out-of-the-box" Hibernate combo with Maven build system. I don't know who is responsible of providing Hibernate builds in the Maven repository, so I'll just write this here, in case anyone happens to Google upon it :).

We're using Hibernate Entity manager 3.4.0 GA and the Maven build system. In the Maven dependencies, the entity manager has as its dependency SLF4J-API-1.4.2 library. The JEE platform underneath uses JDK logging, so we included SLF4J-JDK14-1.4.2 in the setup (following the SLF4J guidelines). Now, there happens to be a nasty bug in that version of JDK14-logger implementation:
http://bugzilla.slf4j.org/show_bug.cgi?id=72

This bug caused in, some cases, > 80 % of the CPU time being spent in "phantom logging". Problem was solved by upgrading the SLF4J JDK14 logger implementation.

Cheers, Joni


Top
 Profile  
 
 Post subject: Re: Performance problem with Maven, Hibernate & SLF4J-JDK
PostPosted: Thu Apr 07, 2011 2:12 pm 
Hibernate Team
Hibernate Team

Joined: Fri Oct 05, 2007 4:47 pm
Posts: 2536
Location: Third rock from the Sun
why do you use such an old version? latest Hibernate uses SLF4k 1.6.1

I guess you're not using the reference repository. see http://community.jboss.org/wiki/MavenGettingStarted-Users

_________________
Sanne
http://in.relation.to/


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.