Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Ping-only services don't have service instances. The autostart logic works by comparing declared instances to started instances and starting new instances to match the declared number.
Since ping-only services have no instances, autostart never starts anything! Must take into account ping-only in the autostart logic.
Related, and found in the same debugging session, the (old, temporary, to cope with AMQ OOM issues) timer to kick off CUSTOM pings needs to be switched to the proper timer as used by the internal UIMA-AS pinger.
Further - it is hard for the web server to know what is going on with a ping-only service because there are not active instances. The Service Manger will start placing state into its meta properties file to indicate whether the pinger is active or not : meta.ping-active and whether the service is in fact a ping-only service: meta.ping-only = true