This content has been marked as final.
Show 1 reply
-
1. Re: mail-service.xml configuration using properties-service
peterklimo Feb 13, 2007 9:31 AM (in response to peterklimo)"peterklimo" wrote:
Our applications (EAR, SAR) expect various configuration properties. These properties are set as system properties using PropertiesService. This works.
We would like to also use PropertiesService for configuration of mail service, but it unfortunatelly does not work. Placeholders in the mail-service.xml are not replaced by system properties set by SystemPropertiesService.
I understood, that if any service depends on another service (like in our case - our SAR application depends on PropertiesService), it must be configured using <depends> element in the service descriptor. In case of mail-service it simply doest not work - mail service starts prior to PropertiesService.
Any ideas ?
JBoss AS 4.0.5