7 Replies Latest reply on Feb 18, 2013 3:14 AM by arun2arunraj

    Two issues with RHQ 4.6 snapshot

    setianusa

      Hi,

       

      Here are few issues I noticed using RHQ 4.6 snapshot:

       

      1. unable to enable resoruce metric collection schedules ( Inventory -> Monitoring -> Schedules )

      If I want to enable a metric, i.e. Response Time of type calltime, clicking the Enable button won't change to ticked box.

       

      2. java.lang.NoClassDefFoundError: oracle/sql/BLOB

       

      Thanks.

        • 1. Re: Two issues with RHQ 4.6 snapshot
          mazz

          The "NoClassDefFoundError: oracle/sql/BLOB" was a known issue reported in Bugzilla and already fixed for the next release - see https://bugzilla.redhat.com/show_bug.cgi?id=906500

           

          About the enabling of metric schedules - I think you are just misunderstanding how to use the UI. The checkbox is a read-only "status" - it only tells you if it is enable or not, it is not an actual control.

           

          To enable one or more metric schedules, select one or more metrics in the list, then at the bottom toolbar, you press the "Enabled" button. The paradigm of most of RHQ's screens is all the control buttons are usually found at the bottom.

          • 2. Re: Two issues with RHQ 4.6 snapshot
            setianusa

            Thanks John.

             

            Any timeline when will be the next release ?

             

            This is what I did:

            1. highlight the metric I want to enable ( the Enable? header column shows untick checkbox )

            2. click the 'Enable' button at the bottom

            3. at the top, there is a message 'You have enabled the collection of [1] measurements'.

            4. the highlighted row remains uncheck tickbox, even if I clicked the 'Refresh' button at the bottom.

             

            Am I missing something ?

            • 3. Re: Two issues with RHQ 4.6 snapshot
              mazz

              Any timeline when will be the next release ?

              Assuming no major problems surface with testing, we are hoping to release 4.6 sometime next week. Don't hold me to that but that is the last I've heard what the plans are.

               

              As for the metric schedule enable feature, I am unable to reproduce the behavior you se. I just tried it on the "Idle" metric of my Linux Platform resource and it worked for me - it was unchecked, I selected the row, pressed Enable and the tickbox was then checked with the green message "You have enabled the collection of [1] measurements."

               

              Can you give more specifics on your problem that you are seeing? What specific metric on what specific resource are you trying to enable? Also, what browser are you using?

              • 4. Re: Two issues with RHQ 4.6 snapshot
                setianusa

                Weird, each time I pressed that Enable button, either from Firefox or Chrome, the java.lang.NoClassDefFoundError: oracle/sql/BLOB  is thrown.

                Could it be coincidence ?

                • 5. Re: Two issues with RHQ 4.6 snapshot
                  mazz

                  Ahhh, yes. I'm pretty sure they are related. Yeah, I think when you enable metric schedules, a quartz job is triggered to ensure the agent's are notified.

                   

                  Here's a quick way that I think you can fix this - at least it should get you moving without waiting for the next release. First, I assume you are using Oracle as your backend, which means you already got the Oracle JDBC driver and installed it properly (this woudl have to be true, otherwise, you wouldn't have been able to even log into the RHQ GUI :-)

                   

                  OK, assuming this is true, all you need to do is edit this file:

                   

                  <rhq-server-install-dir>/modules/org/rhq/rhq-enterprise-server-startup-subsystem/main/deployments/rhq.ear/META-INF/jboss-deployment-structure.xml

                   

                  In that .xml file, look for the XML element <sub-deployment name="rhq-enterprise-server-ejb3.jar"> and in there you will see a child XML node <dependencies>. Add a new dependency inside that <dependencies> element - you will be adding the oracle module. So, in other words, add this:

                   

                     <module name="org.rhq.oracle" export="true" optional="true" />

                   

                  Once you do that, save the XML file, shutdown the RHQ Server and restart it. That should fix the issue.

                  • 6. Re: Two issues with RHQ 4.6 snapshot
                    setianusa

                    That's correct John. Thanks.

                    • 7. Re: Two issues with RHQ 4.6 snapshot
                      arun2arunraj

                      Can you share me , the features of RHQ 4.6 ?