Hi,
thanks for your reply. I had already feared that this is not part of the JCA
spec.. I will submit it as a feature request. Thanks :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933600#3933600
Reply to the post :
http://www.jboss.com/index.html?modul
Hi,
I wonder if the JBossWorkManager provides an easy way to start several
synchronous threads and wait for all of them to finish. I can vaguely remember
I saw other WorkManager implementations which had a waitForAll(jobs..)
method.. but I cant find such a method in the JBossWorkManager.. does
Hi,
I know your post was a long time ago. I was asking myself the same Question
today, and I could not find a simple example of this..so it took me a rather
long time to come up with a solution..I thought it could not hurt to post it
here...
| //get MBean Server
| MBeanServer server = MB
"[EMAIL PROTECTED]" wrote : This has to be a side-effect of farming. Instead of
farming the deployments, just deployment them to the servers and rerun the
test. Farming has to be propagating the undeployment event to all nodes. This
is not what the ProxyFactoryHA state listener was designed for.
Hmm I have clustered a simple test MBean class at the moment it is called
WorkflowControllerServiceMBean:
| public interface WorkflowControllerServiceMBean extends HAMBean {
|public void test();
| }
|
I extracted the invoke() Method to a separate interface called HAMBean:
|
"[EMAIL PROTECTED]" wrote : DistributedReplicantManager.remove does not remove
all values for the given key. It just removes the value associated with the
key.
|
Yes you are correct. I tested the remove's behavior in the JMX console today
and it does what it is supposed to do. My bad. Still
Ha, I figured it out (talking to myself seems to help a great deal ;) No
offense I know you are most likely on the other side of the planet and are
probably still asleep while I am writing this)
Anyway... I had a look at the ProxyFactoryHA , and came across this:
| 151protected void con
Me again... :)
I managed to narrow down the area where things go wrong: Undeployment.
When a node is shut down with ctrl+c JBoss undeploys all the MBeans. Naturally
it also undeploys my custom MBean. What seems to go wrong here is that when
it undeploys the ProyxFaxtoryHA it does not only r
Ok to further illustrate this behavior I have played around with the jmx
console.
The DistributedReplicantManager of the DefaultPartition has a listContent()
method which displays the availibility of services in the cluster partition.
My setup is as follows, I have the service (WorkflowContro
Thanks for your reply. I have turned on TRACE as you suggested, and found out
the following:
This is a line from my logs when the Invocations work as expected (deployed to
two nodes via farming):
| 2006-03-01 09:18:19,678 TRACE
[org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxyHA] Ini
Sorry if I am annoying.. one more thing I stumbled upon..
Clustering the MBean and deploying it via the JBoss farming service works very
well now.. I tried the RoundRobin and RandomRobin LoadBalancing Policies and
this works the way one would expect (impressively easy once you get it going, I
Ok nevermind, I found it out :-)
If anybody is interested, the MBean needs to register itself at the Registry
during startup. It also needs to expose an invoke() method, which injects the
Method Resolution into the remote invocation... err sounds confusing, anyway
the classes at
http://cvs.so
Thanks for your reply. In the meantime I have tried to implement a clustered
MBean with Round Robin scheduling (I found the a message where the poster
claims he has done this at
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834455#3834455).
I have created an MBean (WorkflowContro
Hi,
I have searched the forums, but have found no recent information on this. This
question has been asked before(in 2003):
anonymous wrote :
| I have a set of MBeans that provide services for my application. I would
like to deploy these MBeans on multiple servers (for load-balancing and
fa
14 matches
Mail list logo