2 Replies Latest reply on Nov 5, 2010 9:31 AM by wdfink

    Farming Question -urgent

    hari_jboss

      Hello All, I have jboss4.3 cluster of 2 nodes (on separate machines in network), both are talking to each other in farm folder, and the ear file on both are owned by USER1 and JBoss process runs as USER2. Problem is when i restart any jboss server it copies the files from other farm folder with owning it to USER2. I need JBoss to pull the files form other farm as it is (owner ship)

       

      pls Let me know how to fo that?

       

      thanks

      Hari

        • 1. Re: Farming Question -urgent
          f_marchioni

          I'm afraid that, with such configuration, you have to replace farming service with a batch script that copies the application in the deploy folder and preserves ownership

          f.e. cp -p <path/filename> <path/filename>

          Hope it helps

          Francesco

          • 2. Re: Farming Question -urgent
            wdfink

            If I'm understand right you do not copy from farm => deploy !?

             

            But if the EAR is transported from one JBoss to another this is not via copy. And the file will be created as the JVM process user.

            AFAIK there is no configuration to change the behaviour.

             

            But why do you run JBoss not as USER1?