[jboss-user] [Clustering/JBoss] - Problem with farm deployment

anilcs0405 do-not-reply at jboss.com
Tue Feb 10 00:39:56 EST 2009


I am using jboss 4.2.3 in windows. I am totally new to this.

I have a problem with regards to farm deployment.

I have two jboss server instances forming a cluster with the name anil on the same machine.

One runs from C:\jboss-4.2.3GA and the other from C:\jboss2\jboss-4.2.3GA

Both form a cluster(evident from log shown at server prompt). 

But the problem is when I deploy my application war files in the first (C:\jboss-4.2.3GA\server\all\farm\ ) jboss and then issue the following 2 commands at command prompt.

C:\jboss-4.2.3GA\bin>run -c all -g anil
C:\jboss2\jboss-4.2.3GA\bin>run -c all -g anil

both form a cluster and the log messages are shown. Even the failover works well, as I shutdown one of them the other takes over.

But my deployed war files are seen only in the first instance. I am not able to access my application if the first instance is shutdown. Actual behaviour should be replication of deployed files in the other instance also.

Why is this happening. Is this because some of the ports are blocked by the first instance since both instances run on the same machine?

Thanks in advance!

 

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4208363#4208363

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4208363



More information about the jboss-user mailing list