Previous post rephrased: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=87647
The java:comp/env JNDI domain can be used to specify an application instance's environment. But java:comp/env settings are mapped in the jboss.xml descriptor within the EAR, so it doesn't seem like you can use that mechanism to specify multiple application instances, with different environments, from one EAR.
Might MBeans be a solution? Is there a way of making the java:comp/env mechanism do it? Is there some other approach? Or is the idea misconceived?
I?d be grateful for any advice that can point me in the right direction.
It keeps truncating the Subject, even though it looks okay in Preview. The full Subject is:
How do you configure multiple application instances from one EAR?