1 Reply Latest reply on Aug 26, 2014 12:50 AM by wdfink

    JBoss AS : Need attention to describe shortly for domain configuration files.

    lalitshaktawat

      I found in domain configuration.

      There are four configuration files.

      1. domain.xml

      2. host-master.xml

      3. host-slave.xml

      4. host.xml

       

      Can anybody tell me about these four files?

      Which on is for what uses?

       

       

       

      Thanks in an advanced.

       

      Lalit

        • 1. Re: JBoss AS : Need attention to describe shortly for domain configuration files.
          wdfink

          You only need domain.xml as configuration for the profiles and properties for the whole domain.

          And only one host.xml, by default the host.xml is used which is an example of configuring some servers.

           

          Both others are meant as examples, it is recommended to have a domain controller without running server instances in production to have the admin instance independend.

          For this you can start the DC with the host-master.xml by renaming or start parameter --host-config=host-master.xml (see domain.sh --help)

          The instances running servers (HC) can be started with the host-slave.xml where servers are defined and the DC is accessed as remote instance.