Bug 745848 (EDG-50) - debug logging bug in ComponentsJmxRegistration
Summary: debug logging bug in ComponentsJmxRegistration
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EDG-50
Product: JBoss Data Grid 5
Classification: JBoss
Component: Infinispan
Version: EAP 5.1.0 EDG TP
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 5.1.0 EDG TP
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-50
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-10 09:47 UTC by Michal Linhard
Modified: 2014-03-17 04:02 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-14 14:22:03 UTC
Type: Bug


Attachments (Terms of Use)
server.log.error.txt (1.24 MB, text/plain)
2011-02-10 09:50 UTC, Michal Linhard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker EDG-50 0 None None None Never

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.


Note You need to log in before you can comment on or make changes to this bug.