-
1. Re: Startup/Shutdown Events
nickarls Jan 29, 2013 5:16 AM (in response to graben)1 of 1 people found this helpfulYou 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.
-
2. Re: Startup/Shutdown Events
graben Jan 30, 2013 10:44 AM (in response to nickarls)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? :-)
-
3. Re: Startup/Shutdown Events
nickarls Jan 31, 2013 1:42 AM (in response to graben)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.