I need to set my sar to run after my ear deployed.
As i read regard this issue, there are several ways of doing that.
I found one of those. What are the other ways?
The one i have found is editing the org.jboss.deployment.MainDeployer-xmbean.xml within the conf\xmdesc directory.
If i add sar priority to the list that sets the sar files to run at last (800:.SAR) can it be a trouble in the future ? is it the best way ?
Probably the easiest way to get your sar deployed after your ear is to create a deploy.last directory (within the deploy directory) and place your sar file there. The sar will then be deployed last.