<dependency> <groupId>org.wildfly.swarm</groupId> <artifactId>management-console</artifactId> </dependency>
The management console is a standalone Web application that allows you to connect to a management interface of a running WildFly or WildFly Swarm instance.
To enable the Management console in your application, you need to add the following dependency to your Swarm application:
|There is a bug in WildFly 10.0.0.Final that prevents Swarm to register a management-console bound to the management interface of the same running instance (without prompting for the target server when accessed). This is already fixed and should be available in the next WildFly release.|
Using the Java API, you can change the management console context root (default is
swarm.fraction(new ManagementConsoleFraction() .contextRoot("/general-console") );