Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.12.0
-
None
Description
The @Activate method of the RESTfull NLP Analysis Engine should not initialise the remote NLP serivce - meaning to send a GET request to acquire the supported languages.
This may cause issues in cases when Stanbol and the NLP service do run in the same servlet container as (1) in this case the NLP service will not be available at this point (2) the initialization request will wait until the timeount and (3) activate in OSGI is a single thread so this will also block the initialization of other components.
The engine already supports a lazy initialization on the first enhancement request. So this issue is only about deactivating the initialization in the activate method.