Hello Vassilis,
> I want to test fail-over in a JBoss clustering configuration. The problem
> is that I cannot find which application server (lets say , I have only two
> in a cluster) serves each client.
> I only store my jar file in one of the App.servers. Every
> "System.out.println" or "System.err.println" commands are printed in the
> first App.server (that one with the jars!) even if the clients are served
> form the second App.server.
>
> Any ideas?
very simply: you haven't clustered anything and your requests are *never*
served by the second app server. To use clustering, you first need to
configure jboss.xml to activate clustering for your EJB (maybe you've
already done that) and deploy your beans in *both* app servers, not only
one. Then, you will see the System.out.println messages being displayed on
the server that process the request: possibly on both server (one after this
other, in a round-robin behaviour) if you have the appropriate
load-balancing policy.
Clustering is complex enough so that you read the clustering-doco IMHO.
Cheers,
Sacha
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user