-
1. Re: jboss clustering test
darranl Apr 23, 2004 9:18 AM (in response to hernant)What load balancing policy have you configured?
-
2. Re: jboss clustering test
hernant Apr 23, 2004 9:56 AM (in response to hernant)I have not configured any particular policy. As far as I know it should be using de default cluster configuration. Isn't it?
-
3. Re: jboss clustering test
shiva0 Apr 23, 2004 9:56 AM (in response to hernant)Is your stress tool caching the reference to the Remote object?
From what I've understood from the JNDI balancer, you have to re-request the Home for each request if you want to enable the load-balancing. -
4. Re: jboss clustering test
hernant Apr 23, 2004 10:26 AM (in response to hernant)I'm testing within a web application. It is not caching the reference.
Also, it is not balancing the http requests. I put the tag in my web.xml
The war (web application) and jar (ejbs) are deployed together into an ear. Can be this the problem that it is always getting the local reference? -
5. Re: jboss clustering test
nickman Apr 23, 2004 12:58 PM (in response to hernant)If you do not cache the remote/local then each time you get a new one, it will send the request to the same server. Keep the remote/local and re-use it and you should see round-robin if your EJB deployment is configured properly for clustering.
-
6. Re: jboss clustering test
hernant Apr 23, 2004 1:29 PM (in response to hernant)Sorry, but: how should I keep the remote/local and reuse it?
-
7. Re: jboss clustering test
slaboure Apr 24, 2004 7:02 AM (in response to hernant)What are you trying to achieve? how many nodes? are the web and EJB layers deployed in the same JVM or not? are you trying to load-balance HTTP requests or EJB invocations? which jboss config are you using? default/all? how is your jboss.xml (your first post is not complete), etc.
-
8. Re: jboss clustering test
slaboure Apr 24, 2004 7:03 AM (in response to hernant)... and which version of JBoss...
-
9. Re: jboss clustering test
hernant Apr 26, 2004 8:24 AM (in response to hernant)At least, I get it works :) (I'm so happy!!!)
What I do not understood is that jboss do not handle the http's load balance...
I put Apache 2.0 over JBoss (3.2.3 version) with the mod_jk2 module.
Now I have, the ejb's load balancing within jboss and the http session load balanced with apache.
Are you planning to include the http's load balancing in future versions?
Sacha: can I write to your personal address? I want to talk about the development of jboss in my country...