Thanks for answering Sacha. I have already read JBoss - Documentation about clustering.
Actually I have not placed my jar in both App.Servers because Docymentation refers that farm-service deploys my jar in all instances of cluster. Isn't that correct? However, by placing my jar in only one App.Server I have already seen better performance in my application. That's why I believe that I have confoigured cluster properly. Do you say that it is mandatory to place jar in all instances? Then why I need Farm Service? Vassilis -----Original Message----- From: Sacha Labourey [mailto:Sacha.Labourey@;ml.cogito-info.ch] Sent: Wednesday, October 30, 2002 11:43 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss- Clustering 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 ########################################### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. ------------------------------------------------------- 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
