I'm assuming you want to create a clustered *JMS* example, not clustered core.
In JBM 2.0 you don't need JNDI.
You can create connection factories directly on the client side. You can specify the UDP group address of the cluster for discovery and it will automatically connect without having to know the addresses of each server.
If you don't want to create your connection factory directly, you can look up the connection factory via JNDI from a particular server.
If you don't know all the JNDI server addresses on the client, you could use HA-JNDI on the server (which also uses its own discovery mechanism).
However, so far, the standalone server doesn't start an HA-JNDI service, we would need to add it. (This would probably be useful).
We should probably create different clustered examples showing both techniques:
1) Instantiating connection factory directly
2) Using HAJNDI
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223292#4223292
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223292
Howard, Ive updated your config so you can now start 2 servers, take a look to see h ow I've done it. Ive commented out the clustering config in the second config file for now, I'll leave this for you to do.
anonymous wrote : If you explain what you're trying to achieve a bit more, maybe I can help more.
I think what Howard is talking about is how we curently use jndi at the moment. We start the naming bean via the mc and then lookup localhost:1099 etc. With HA jndi tho it will round robin requests to the different servers, the question is, to we need to support this standalone and if not, how does Howard deal with this in the example.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223290#4223290
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223290
True, but it takes a time untile people tend to see that.
I've given jBPM courses in the past, and for some reason or the other it takes a time to 'get into the framework'. If the student needs to tackle the problem of process migration, it first needs to understand why it is a problem... unless the student has a BPM background.
For the other sections of the problem, I think too much time is forseen. For example building the simple approach with a property based solution doens't need 12 days ... if you know the codebase (which takes me to my previous remark) ....
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223289#4223289
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223289
I'm trying to build a simple clustered queue example. My plan is:
1. Start two JBM clustered nodes.
2. Deploy one distributed queue
3. In the example code, create connection to the cluster using jndi, then send and receive a message from the queue. Also I want to show that the connection creation is round-robin between the two nodes. (like in 1.4)
In 1.4 we start two nodes with their own JNDI ports and the example just use one JNDI port on one node, I follow this first but I can't make the ports setting for each node work.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223287#4223287
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223287