I need to start AS in domain mode without starting domain controller or connecting to remote domain controller. AS will start as "node" which will run native managenent interface and wait for external connection to define address of domain controller using:
I tryied to start with local domain controller and remove it before defining remote
but I get an exception:
java.lang.IllegalStateException: Configuration persister for domain model is already initialized
Is it posible to configure this behavior ?
No, it's not possible to configure behavior like this. A host controller can be configured to run off a locally cached domain.xml file if it can't contact the DC, but that isn't what you're shooting for.
As part of work on https://issues.jboss.org/browse/AS7-379 I'll look at handling this use case, as I can certainly see the value in it.