| Summary: | Tomcat Logging: Configuration tab should show the message which is logged to agent log. | ||
|---|---|---|---|
| Product: | [Other] RHQ Project | Reporter: | Ondřej Žižka <ozizka> |
| Component: | Plugins | Assignee: | Deon Ballard <dlackey> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.0.1 | CC: | hrupp |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-01 19:22:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Actually, I have JMX configured properly, but still get this message. How is it supposed to be configured? I think this is an enhancement to improve the message when Configuration is not enabled. Before that is implemented we should look to add a FAQ to the docs indicating if people see this message, ""This resource's configuration has not yet been initialized. ", or the one added for BZ-728292, that they go and check that configuration is enabled in the Resource's Inventory > Connection tab. Assigning to Deon to add the FAQ entry, assuming we dont have one already. Yep, in the FAQ since 3.0. Here's the 3.1 link: http://docs.redhat.com/docs/en-US/JBoss_Operations_Network/3.1/html/Frequently_Asked_Questions/index.html#id2738366 Bulk closing of BZs that have no target version set, but which are ON_QA for more than a year and thus are in production for a long time. |
STR: 1) Install Tomcat, configure JMX, inventorize 2) Go to Tomcat -> Tomcat Server JVM -> Logging -> Configuration tab 3) It shows "This resource's configuration has not yet been initialized. " 4) Agent's logs a WARNing: Configuration management is currently disabled for the ResourceType[id=0, category=Service, name=java.util.logging, plugin=Tomcat] Resource with key [java.util.logging:type=Logging] - it can be enabled in the Resource's Inventory > Connection tab. I think the Config tab should show the same message. Best with Tomcat-specific format: Configuration management is currently disabled for this Tomcat instance. It can be enabled in the Resource's Inventory > Connection tab. --------------------------------------------------------------- 2011-03-25 19:08:07,765 WARN [ConfigurationManager.threadpool-1] (rhq.core.pc.configuration.ConfigurationCheckExecutor)- Unable to check for updated configuration java.lang.RuntimeException: Configuration management is currently disabled for the ResourceType[id=0, category=Service, name=java.util.logging, plugin=Tomcat] Resource with key [java.util.logging:type=Logging] - it can be enabled in the Resource's Inventory > Connection tab. at org.rhq.plugins.jmx.JavaUtilLoggingResourceComponent.loadResourceConfiguration(JavaUtilLoggingResourceComponent.java:49) at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)