-
1. Re: 1 queue on 2 different servers
cosmotic Oct 11, 2002 7:39 AM (in response to springy)It would indeed. This is working on JBoss 3.0.3 here...
-
2. Re: 1 queue on 2 different servers
alwyn Oct 15, 2002 2:54 AM (in response to springy)Excuse me I am not a JNDI expert.
Do JBoss do this because JNDI will return different references when the lookup is repeated. Or will the JNDI actually return multiple references?
Do you use JNDI the same way whether using cluster or not? -
3. Re: 1 queue on 2 different servers
vhwang Nov 22, 2002 8:00 PM (in response to springy)Can you explain in detail how it actually works. I have a running app on one note, and the client( from seperate machine) can access the Queue through lookup, the initContext was initiated using url: host:1099
Then I add another note with same JBoss config, hope to get load balance between two queues with the same name.
I thought I need switch the url to host:1100 for initContext, but the client program got timeout exception in the first lookup for ConnectionFactory. both nodes running in "all" config.
Also, I like to know can I archieve such kind load balance on single machine with multiple jboss instances? Multiple VMS can maximize the CPU usage.
Thanks
V.H. -
4. Re: 1 queue on 2 different servers
springy Jan 3, 2003 11:17 AM (in response to springy)> Do JBoss do this because JNDI will return different
> references when the lookup is repeated.
I believe that it returns different references based on the load-balancing rule you have set. You'll have to check the docs about this the algorithm used.
Tim.