I think the JBossMQReceiverImpl code will explain how the load balancing
works. I haven't read that. I verified that when the messages are queued at a
rate higher than Master node can handle, the other nodes in the cluster start
receiving the messages.
cdot.jboss.JBossMQProvider class is appl
When building an Initial Context, you will need the following 3 properties:
java.naming.factory.initial
java.naming.provider.url
java.naming.factory.url.pkgs
In this case, for java.naming.provider.url value, use a comma separated list
of JNDI URLs. For example if the hosts in your cluster are
Umesh,
Setting up a JMS Queue in a cluster (with HA-JMS) is nothing different from the
non-clustered setup. Define a Queue in the jbossmq-destinations-service.xml,
and that will automatically be visible to the clients all over the cluster
through the HA-JNDI.
If not, be more specific in your
Correction of the last message:
One thing that still bugs me is: How does the load balancing work? In the
scenario described above, what (criteria) triggers the messages to be delivered
to the MDBs on the second Node?
Kiran
View the original post :
http://www.jboss.org/index.html?module=bb&o
Thanks a lot for your help. I got both fail over and load balancing to work on
JBoss 4.0.
The setup (2 Node HA Cluster) I have tried is very similar to you except that
I have MDBs on both the Nodes. It seems that the MDBs on the Master Node
receive the messages first. And, then slowly when th
Thanks for your replies. I am still trying to make the example in
http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA work with JBoss 4.0.
I don't mind whether the load balancing takes place in the Queues or at the
Consumer(MDB) level.
So this is my understanding now:
In my scenario of a 2 node
Hhuhhh!!! I have been trying to find an answer for the last one week.
So, I will post here whatever I could find so far:
http://www.jboss.org/wiki/Wiki.jsp?page=JBossMQHA talks about an example that
is capable of both Fail over and Load balancing. Fail over is ok. But, I did
not get fr
I need to run a 2 node JBoss cluster with the following requirements:
1) Both the nodes will have a Queue with same name. Lets say the name as
"Purchase Queue"
2) From a client, when I lookup "Purchase Queue", the system should return a
Queue from any one of the two nodes in a Round-Robin fashio
I am trying to prototype a simple 2 node cluster with JBoss 4.0 on Redhat Linux
9.0 and JDK 1.4.2.
I have 2 nodes (A & B), each running JBoss 4.0. I enabled the HAJNDI and HAJMS
on both and deployed the same stuff on both. Both the Nodes have a queue called
"testQueue" and a Simple Message MDB
The HA-JNDI-Port is always the 1100 (unless configured otherwise). Right?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858779#3858779
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3858779
--
In the JBoss 4.0 version, is it still required to copy the cdot-jbossx.jar into
the server/all/deploy/jms directory for the HAJMS failover to work?
Thanks
Kiran
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3858707#3858707
Reply to the post :
http://www.jbo
Using JBoss 3.2.3 and Oracle 8.1.7, I have an MDB receiving messages from a Queue.
Within the onMessage() method, I am making a call on an EJB, where the transaction
attribute is set to "RequiresNew".
The MDB is set with acknowledge-mode="auto", destination-type="queue",
transaction="contrain
Is there any way I can run two Web Server listening on two different ports with only
one instance of JBoss running?
For our project needs, I would like to deploy a set of servlets on port 9192 and
another set of servlets on port 9295, as follows:
http://localhost:9192/context1/servlet1
http://l
13 matches
Mail list logo