RPMs put important data in /var/tmp, including /domain/data. /var/tmp is meant to contain temporary data which could be removed at any time. /domain/data should not be redirected to /var/tmp/ since it contains important data that should not be lost, including the transaction recovery journal and HornetQ large message store and journal.
This error has been fixed for this release of JBoss EAP 6. For new installation, /usr/share/jbossas/domain/data will be a directory instead of a link.
However, for existing installations, one of the following must be performed:
* Re-install and migrate the config and data files (including the temp directories) to the new installation directories, or
* Uninstall tmpwatch to disable clean up of /var/tmp/jbossas, or
* Configure tmpwatch not to remove the files that jbossas puts in to /var/tmp/jbossas