I started a managed domain with the empty domain-preview.xml from a clean build. Using the Management Console, I created a server group called ha-server-group based on other-server-group.
I added to it three servers, ha-server-one (port offset 100), ha-server-two (port offset 200), ha-server-three (port offset 300).
The changes persist to the XML files (domain-preview.xml and host.xml), but the Management Console now shows that I have no server groups in the "Hosts" tab. The "Server group" pull-down is empty. Also, there are no console messages about the server group or servers being created. The last console message I received was:
[Server:server-one] 14:53:57,991 INFO [org.jboss.as] (Controller Boot Thread) JBoss AS 7.1.0.Alpha2-SNAPSHOT "Ahoy!" started in 5748ms - Started 123 of 178 services (55 services are passive or on-demand)
I Ctrl-C to stop the domain. I get these errors:
15:30:14,963 INFO [org.jboss.as.process.Host Controller.status] (reaper for Host Controller) JBAS012010: Process 'Host Controller' finished with an exit status of 130
15:30:14,965 INFO [org.jboss.as.process] (Shutdown thread) JBAS012015: All processes finished; exiting
15:30:14,965 INFO [org.jboss.as.process.Server:server-two.status] (reaper for Server:server-two) JBAS012010: Process 'Server:server-two' finished with an exit status of 130
15:30:14,965 WARN [org.jboss.as.process] (reaper for Server:server-two) JBAS012001: Attempted to remove non-existent process 'Server:server-two'
I restart the domain, and I still can't see the servers in the Management Console. I start the Management CLI to check for them (they are still in the host.xml):
[domain@localhost:9999 /] /host=master/server-config=ha-server-one:read-resource(include-runtime=true)
{
"outcome" => "success",
"result" =>
{
"auto-start" => true,
"group" => "ha-server-group",
"interface" => undefined,
"jvm" => undefined,
"name" => "ha-server-one",
"path" => undefined,
"socket-binding-group" => "ha-sockets",
"socket-binding-port-offset" => 100,
"status" => "STARTED",
"system-property" => undefined
}
}
OK, so it is there but the interface and JVM were undefined. I assumed it would use the interface and jvm from the "other-server-group" upon which it is based, but maybe this is the problem.
Just for giggles I assign a new JVM to ha-server-group with name ha-jvm, heap-size 128M, max-heap-size 256M. I don't know what I'm doing, but it takes it. I don't see anywhere to define the interfaces except for "ha-sockets" which I have already chosen, so I am at a loss.
I don't know whether there is a problem with my server-group, my servers, or the Management Console.