History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RHQ-1068
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andrii Khaisin
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
RHQ Project

JMX plugin cann't obtain list of registered loggers from JMX Server

Created: 06/Nov/08 03:42 AM   Updated: 06/Nov/08 07:34 AM
Component/s: Plugins
Affects Version/s: 1.1
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments: 1. Text File agent.log (122 kb)
2. Text File server.log (2 kb)

Environment: svn revision of JavaUtilLoggingResourceComponent is 7

Date of First Response: 06/Nov/08 05:57 AM


 Description  « Hide
"Configuration isn't initialized" message on Configure page for Logging service.
It is because of infinite recursion in JavaUtilLoggingResourceComponent.getLoggerLevel(..).


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Heiko W. Rupp - 06/Nov/08 05:57 AM
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?

Andrii Khaisin - 06/Nov/08 07:34 AM
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.