[
http://jira.jboss.com/jira/browse/JBESB-1647?page=comments#action_12415623 ]
Daniel Bevenius commented on JBESB-1647:
----------------------------------------
I've been looking into this issue and found what I think is the issue here...
OperationFilers insertOpertations has the following code:
JMXOperation oper = getOperation(sess, f_ob.getObjectName(), f_ob.getOperation());
if (oper == null) {
oper = new JMXOperation(f_ob.getObjectName(), f_ob.getServer(), f_ob.getOperation(),
f_ob.getDescription(), f_ob.getReturntype(), true);
sess.save(oper);
} else {
oper.setActiveflag(new Boolean(true));
sess.save(oper);
}
Now, the getOperations method does not take into account the servername. This could mean
that if the objectname and operations have been registered in the database table,
jmxoperation, by one node, when a second node invokes this method it's operations will
not be saved.
I've overloaded the getOperation method to take the servername and modified the
insertOperation to call this new overloaded method:
JMXOperation oper = getOperation(sess, f_ob.getObjectName(), f_ob.getOperation(),
f_ob.getServer());
Tom, does this look right to you?
I've tested this using a shared postgres database which I'll check in to main
later for this task:
http://jira.jboss.com/jira/browse/JBESB-1064
Thanks
Management part of console only shows node entries
--------------------------------------------------
Key: JBESB-1647
URL:
http://jira.jboss.com/jira/browse/JBESB-1647
Project: JBoss ESB
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Tooling
Affects Versions: 4.2.1 CP2
Reporter: Tom Cunningham
Assigned To: Daniel Bevenius
Fix For: 4.2.1 CP4
The management part of the console is only showing entries for the current node.
The monitoring part shows things correctly for all nodes.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira