Bug 745848 (EDG-50)

Summary: debug logging bug in ComponentsJmxRegistration
Product: [JBoss] JBoss Data Grid 5 Reporter: Michal Linhard <mlinhard>
Component: InfinispanAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: EAP 5.1.0 EDG TPCC: galder.zamarreno, mlinhard, nobody
Target Milestone: ---   
Target Release: EAP 5.1.0 EDG TP   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-50
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-14 14:22:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
server.log.error.txt none

Description Michal Linhard 2011-02-10 09:47:19 UTC
project_key: EDG

when debug level is enabled 
ComponentsJmxRegistration.registerMBeans() fails
because of the line 99:
                  log.debug(String.format("Object name %s already registered"), objectName);
that should be:
                  log.debug(String.format("Object name %s already registered", objectName));

this blocks EDG startup
log attached

Comment 1 Michal Linhard 2011-02-10 09:49:44 UTC
Galder I'm assigning to you, cause I saw your name in the class/commit in question ... if this is not for you please reassign

Comment 2 Michal Linhard 2011-02-10 09:50:46 UTC
Attachment: Added: server.log.error.txt


Comment 3 Michal Linhard 2011-02-10 09:53:48 UTC
affects infinispan 4.2.1.CR1

Comment 4 Galder ZamarreƱo 2011-02-14 14:21:46 UTC
Manik fixed it a couple of weeks back:
https://github.com/infinispan/infinispan/commit/928735f946d6d155388bb18b4047ad06006a3f78#L22L99

It should be included in CR2.