1 of 1 people found this helpful
You can use a management client to poll for the status of the server but I'm not aware of any hooks that could just be registered. I guess the problem is that the whole boot process is that parallel that there might be a problem that the server is technically "up" while the application is still deploying so there might be noone that could listen to the startup.
Well, maybe that is an enhancement worth to think about. I think it might be possible to add a startup event in org.jboss.as.server.BootstrapListener thats actually the point where admin console gets informed that startup was succesful. So why not inform someone else too? :-)
Why not? Of course there is the risk that the admin console is not your normal app - it could be more subsystem-like, haven't checked.