-
1. Re: Access to objects in a cluster
adrian.brock Aug 29, 2003 8:42 AM (in response to twutort)Look at jboss's clustering framework.
If you write to this framework,
you can invoke methods on a cluster (either
synchronously or asynchronously)
Alternatively look at something like Jetty's session replication.
This uses an entity bean to replicate sessions.
Instead of using the JDBC persistence manager it
uses a persistent manager that replicates the state to
all nodes in the cluster.
Regards,
Adrian -
2. Re: Access to objects in a cluster
twutort Aug 29, 2003 10:04 AM (in response to twutort)Can I use this framework to get individual information on each node in a cluster? We want to do things like change the log level on and individual node or view the cache on an individual node.
To do this before we had map the logging object on each node in weblogic to a jndi name and access that name from our servlet for whatever node we wanted info on. -
3. Re: Access to objects in a cluster
adrian.brock Aug 29, 2003 1:57 PM (in response to twutort)To do aggregation you would have to create an object that
is replication, similar to jetty's session store I mentioned before.
The object would have to include the node name in it
somwhere.
You can do the same in jboss as you do in weblogic using
HAJNDI
Regards,
Adrian -
4. Re: Access to objects in a cluster
twutort Sep 1, 2003 7:20 AM (in response to twutort)Thanks! I have another question....Is there a method to get a list of all nodes in a cluster at runtime?
-
5. Re: Access to objects in a cluster
adrian.brock Sep 1, 2003 7:53 AM (in response to twutort)It is on the partition mbean. See http://localhost:8080/jmx-console
Regards,
Adrian