"djwhite" wrote:
I need to create and set a System Property to be available to deployed servlets.
Essentially I need to do the equivalent to invoking a JVM with a -D option.
How can this be done in JBoss?
You could start JBoss with -Dx=y :).
Or you could use the system properties service MBean...
http://localhost:8080/jmx-console/HtmlAdaptor?action=inspectMBean&name=jboss%3Atype%3DService%2Cname%3DSystemProperties
Which lets you view and set system properties.
Luke.