Hi Folks,

Trying to get the BAM JMX Toolkit working.

I can see all the stats flowing through to cassandra (from my esb). I can
see the hive script putting them into the local h2. I can see the stats in
the h2 but the pretty graphs are not being filled out - they show the
message "No data available. Please visit our docs to see how to configure
JMX monitoring"

I know that the page is connecting to the DB OK because it is retrieving
the information about which servers are in the DB. I've done some java
console debugging and can see the functions being called to reload the
iframes (debug in [1]) . However, I can see that a field - rname is not
filled out (comes out as a blank string) . This variable appears to have to
be loaded from a combo box - rname-dd.
However, index.jsp does not appear to have such a combo box !

Any ideas folks - is there a script not being loaded or something else?

thanks,
John.


[2]
function reloadIFrame(param){
    var params = param || {};
    var server = param.server || "";
    var rname = param.rname || "";
    var rtype = param.rtype || "";
    var t = param.timeGroup || "";
    $("iframe").each(function(){
        //var id = $(this).attr('id');
        var currentUrl = $(this).attr('src');
        if(currentUrl.indexOf('?')){
            var absUrl = currentUrl.split('?');
            currentUrl = absUrl[0];
        }
        var newUrl = currentUrl+"?server="+encodeURI(server)+"&rtype="+
            encodeURI(rtype)+"&rname="+encodeURI(rname)+"&t="+t;
        $(this).attr('src',newUrl);
    });


John Hawkins
Director: Solutions Architecture
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to