1. WebServicesContainer registers Deployment109StatsProvider.
2. WebServicesDeployer emits deploy/undeploy probe events
When the app server is started with no applications:
- MonitoringBootstrap is called which sets up
StatsProviderManagerDelegateImpl
- when an application is deployed,
- WebServicesContainer is called
- WebServiceDeployer is called to load the application. During the
load, it emits deploy probe event
Now, if the appserver is stopped and restarted
- WebServicesContainer is called
- WebServicesDeployer is called to load the application. During the
load, it emits deploy probe event
- MonitoringBootstrap is called which sets up
StatsProviderManagerDelegateImpl
As you can see, that the sequence is different for restart. I think the
probe events are lost since StatsProviderManagerDelegateImpl is not even
set.
Jitu