On 04/13/2012 06:16 PM, Itamar Heim wrote:
On 04/13/2012 06:51 PM, Marek Goldmann wrote:
> Hi All,
>
> With the upcoming jboss-as-7.1.0-3 the usage outside of
> /usr/share/jboss-as directory and by different user to jboss-as was
> simplified. Below you can find steps how you'll be able to use it.
>
> Let's go with an example. I'm assuming you have a user called
"tom".
>
> 1. Create required directory structure
>
> # Let's go to his home directory
> cd /home/tom
> # Create the root directory where we want to store
> # JBoss AS configuration and temporary data
> mkdir jboss-as
> cd jboss-as
> # Create required direcotries
> mkdir data deployments log tmp configuration
>
> 2. Copy required configuration files (feel free to use your own!)
>
> # Let's copy the logging.properties
> cp /usr/share/jboss-as/standalone/configuration/logging.properties
> configuration/
> # Let's copy the mgmt-users.properties
> cp /usr/share/jboss-as/standalone/configuration/mgmt-users.properties
> configuration/
> # Copy standalone.xml
> cp /usr/share/jboss-as/standalone/configuration/standalone-web.xml
> configuration/
are these considered .conf files under /etc?
if not, what happens on yum update of jboss, which will not update these
files?
In general above example is for users not interested in storing anything
in /etc.
But yes, in your case all above files are stored (for example) in
/etc/ovirt-engine/jboss-as/ dir and it's symlinked to the configuration/
dir in $JBOSS_BASE_DIR.
Does it make sense?
--Marek