jbossas / jboss-as-maven-plugin

Maven plugin to deploy applications to JBoss AS 7 (moved to https://github.com/wildfly/wildfly-maven-plugin)
74 stars 69 forks source link

Deployment issue- Server is running in domain mode, but no server groups have been defined #75

Closed Jithinxavi closed 8 years ago

Jithinxavi commented 10 years ago

While deploying the app to Jboss domain mode, I'm getting this error - "Server is running in domain mode, but no server groups have been defined" , in deployment job I've already mentioned the "server- group" like this,

 settings.xml
                     <id>stg</id>
                    <properties>
                      <wildfly.id>stg</wildfly.id>
                      <wildfly.hostname><end-point></wildfly.hostname>
                      <wildfly.domain.serverGroup>other-server-group</wildfly.domain.serverGroup>
                    </properties>
            </profile>

Please help me to resolve this issue.

jamezp commented 9 years ago

You'll need to define the server group in the configuration.

<configuration>
    <domain>
        <server-groups>
            <server-group>${wildfly.domain.serverGroup}</server-group>
        </server-groups>
    </domain>
</configuration>
jamezp commented 8 years ago

Just cleaning up old issues.