This content has been marked as final. Show 1 reply
Looks like a deployment ordering issue. I think the properties-service.xml is deployed after the parsing of ejb-jar.xml is done. So the system property values aren't set when the ejb-jar.xml is being parsed. You can do this:
Add the following piece of MBean (it's actually does the same as what the MBean in properties-service.xml does)
in JBOSS_HOME/server/[servername]/conf/jboss-service.xml instead of setting it through properties-service.xml in the deploy folder. That way, the properties set by this service will always be available before any of his deployments in the deploy folder.