[jboss-as7-dev] Configuration conundrum with Express

Scott Stark sstark at redhat.com
Wed Sep 28 12:19:38 EDT 2011


On 9/28/11 8:43 AM, Pete Muir wrote:
> Warning, I may be repeating an existing query, so tell me politely where to go if that is the case ;-)
>
> I've been adding Express support to Forge, in the run up to doing demos at JavaOne. I've hit the point where I want to add an entry (an Infinispan cache) to the standalone.xml (or domain.xml), and I want to do it without having to write a parser. If the node is available via the mgmt interface this is easy - I can use the REST interface etc. However, my node isn't, and the recommended way to configure it is to edit .openshift/configuration/standalone.xml.
>
> Any thoughts on how I can make use of the management capabilities of AS to define this (in a machine controllable way without me reinventing the wheel) for OpenShift Express?
The management ops have not been exposed in openshift yet, so only the 
.openshift/configuration/standalone.xml can be used to update the server 
configuration.

The next change I'll make is to have a .openshift/management/cli script 
that can be run against the server to update the server configuration 
via the cli tools.



More information about the jboss-as7-dev mailing list