2 Replies Latest reply on Mar 30, 2009 10:49 AM by Frank Henry

    Problem with farm deployment

    Anil Kumar Attuluri Newbie

      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!