Bug 534254 (RHQ-1068) - JMX plugin cann't obtain list of registered loggers from JMX Server
Summary: JMX plugin cann't obtain list of registered loggers from JMX Server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: RHQ-1068
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 1.1
Hardware: All
OS: All
low
medium
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact:
URL: http://jira.rhq-project.org/browse/RH...
Whiteboard:
Depends On:
Blocks: rhq_triage
TreeView+ depends on / blocked
 
Reported: 2008-11-06 09:42 UTC by Andrii Khaisin
Modified: 2014-05-02 20:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
svn revision of JavaUtilLoggingResourceComponent is 7
Last Closed: 2014-05-02 20:10:09 UTC
Embargoed:


Attachments (Terms of Use)
agent.log (121.94 KB, text/plain)
2008-11-06 13:34 UTC, Andrii Khaisin
no flags Details
server.log (1.58 KB, text/plain)
2008-11-06 13:34 UTC, Andrii Khaisin
no flags Details

Description Andrii Khaisin 2008-11-06 09:42:00 UTC
"Configuration isn't initialized" message on Configure page for Logging service.
It is because of infinite recursion in JavaUtilLoggingResourceComponent.getLoggerLevel(..).


Comment 1 Heiko W. Rupp 2008-11-06 11:57:10 UTC
Hello,
can you please provide the agent log (if it shows any errors) and/or rhe server log, as this sometimes also contains a stack trace when the configuration can't be loaded.

What infinite recursion do you mean? 

Comment 2 Andrii Khaisin 2008-11-06 13:34:26 UTC
Here is attached agent and server log. There is java.lang.StackOverflowError.
I've investigated rhq-jmx-plugin-1.1.0.GA in debug mode for dynamically changing of configuration. Target JMX Server was started in fresh tomcat 6.0.18. Sources of plugin has been taken from RHQ SVN.
JavaUtilLoggingResourceComponent.getLoggerLevel can't exit from recursive calls when LoggingMXBean.getParentLoggerName return zero string for a root loggers in hierarchies. 

Comment 3 Red Hat Bugzilla 2009-11-10 20:23:13 UTC
This bug was previously known as http://jira.rhq-project.org/browse/RHQ-1068
Imported an attachment (id=368490)
Imported an attachment (id=368491)


Comment 4 wes hayutin 2010-02-16 16:56:42 UTC
Temporarily adding the keyword "SubBug" so we can be sure we have accounted for all the bugs.

keyword:
new = Tracking + FutureFeature + SubBug

Comment 5 wes hayutin 2010-02-16 17:01:57 UTC
making sure we're not missing any bugs in rhq_triage


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