rafaelliu/jboss-scripts

Wrong paths when using Jboss installation by YUM.

hodrigohamalho opened this issue · 2 comments

I'm testing the script in a jboss installation via yum.
In an installation of jboss via YUM the domain directory is located at:
domain -> /var/lib/jbossas/domain

so, the assigned values by the "readlink -f" on jboss-init.sh file are:
DIR:.
DOMAIN_PROFILE: domain
PROFILE_HOME: /var/lib/jbossas/domain
JBOSS_HOME: /var/lib/jbossas

When the correct would be:
DIR:.
PROFILE DOMAIN: domain
PROFILE_HOME: /usr/share/jbossas/domain
JBOSS_HOME: /usr/share/jbossas

Sorry, only the variable JBOSS_HOME is wrong.

Looks related to #5