Setting up system properties to be picked up at JBoss EAP 5 / 4 application server startup
Issue
-
Want to setup variables (system properties) to be available for various services
-
System properties must be available right from JBoss startup as if they were set directly (using
-Dsysprop=value) - Using
properties-service.xmlto set the properties in thePropertyEditorManagerMBean does not work as properties are only available after the service starts. Is there a workaround for this?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.x
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
