RPM Rollout of custom JBoss Application

Posted on

Hi there,

I am migrating from JBoss 6.1 custom installation to RHEL JBoss EAP 7.2. installed from yum repositories. Things chaged a bit since then and I was a bit confused about the /opt/rh/eap7 stuff.

There is a symlink /opt/rh/eap7/root/usr/share/wildfly/standalone/deployments pointing to /var/opt/rh/eap7/lib/wildfly/standalone/deployments. Both are provided by

$ rpm -q --whatprovides /opt/rh/eap7/root/usr/share/wildfly/standalone/deployments
eap7-wildfly-7.2.8-3.GA_redhat_00002.1.el8eap.noarch
$ rpm -q --whatprovides /var/opt/rh/eap7/lib/wildfly/standalone/deployments
eap7-wildfly-7.2.8-3.GA_redhat_00002.1.el8eap.noarch

Custom application is installed using rpms that place files into standalone deployment and I wonder if opt/rh/eap7/root/usr/share/wildfly/standalone or /var/opt/rh/eap7/lib/wildfly/standalone/deployments will be the correct path to use in the package and what about the dependendy to use:

$ rpm -q -provides eap7-wildfly-7.2.8-3.GA_redhat_00002.1.el8eap.noarch results in

config(eap7-wildfly) = 0:7.2.8-3.GA_redhat_00002.1.el8eap
eap7-wildfly = 0:7.2.8-3.GA_redhat_00002.1.el8eap
scl-package(eap7)

requires: eap7-wildfly will be ok?

Thank you very much
Florian

Responses