Is there a way to access other nodes system property in Jboss clustering environment.
I have setup cluster using JBoss 4.2.3.
And I have assigned a value to each of the nodes as a system property (using -Dsomething) during the server startup.
I wanted to know if I can access the system property value of a one node from another node.
Can any one please help me in trying to achieve this.
AFAIK there is no way by default.
One which should work is a simple web application with a startup servlet that write the value(s) to JBoss cache. But here there is no automatic way to remove it if the node crash or shutdown.
Or you might implement a mbean to use JGroups (here the cluster nodes are known).
But it looks not simple to me and it depends on you what you want to spend for.
|Retrieving data ...|