[
https://issues.apache.org/jira/browse/NLPCRAFT-9?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aaron Radzinski closed NLPCRAFT-9.
----------------------------------
Resolution: Fixed
> ERROR in server logs during shutdown.
> -------------------------------------
>
> Key: NLPCRAFT-9
> URL: https://issues.apache.org/jira/browse/NLPCRAFT-9
> Project: NLPCraft
> Issue Type: Task
> Components: server
> Reporter: Aaron Radzinski
> Assignee: Aaron Radzinski
> Priority: Major
>
> *Describe the bug*
> I get ERROR in log during server shutdown.
> Please note that user request were coming to that server at the same time.
> *To Reproduce*
> Probably it will be a bit tricky to reproduce since it requires a client
> request while the server is shutting down.
> For me it happened when UI client was connected to that server (since it
> periodically polls for /probe/all)
> * Start the server
> * Open UI and connect to that server
> * Stop the server
> *Expected behavior*
> Should not log ERROR during shutdown.
> *Log*
> {{дек-15|17:10:38|INFO | NCRestManager stopped.
> дек-15|17:10:38|INFO | NCEndpointManager stopped.
> дек-15|17:10:38|INFO | NCQueryManager stopped.
> дек-15|17:10:38|INFO | NCFeedbackManager stopped.
> дек-15|17:10:38|INFO | NCCompanyManager stopped.
> дек-15|17:10:38|INFO | NCUserManager stopped.
> дек-15|17:10:38|INFO | NCCoordinatesEnricher stopped.
> дек-15|17:10:38|INFO | NCGeoEnricher stopped.
> дек-15|17:10:38|INFO | NCNumericEnricher stopped.
> дек-15|17:10:38|INFO | NCDateEnricher stopped.
> дек-15|17:10:38|INFO | NCQuoteEnricher stopped.
> дек-15|17:10:38|INFO | NCStopWordEnricher stopped.
> дек-15|17:10:38|INFO | NCBaseNlpEnricher stopped.
> дек-15|17:10:38|INFO | NCServerEnrichmentManager stopped.
> дек-15|17:10:38|INFO | NCNumericManager stopped.
> дек-15|17:10:38|INFO | NCOpenNlpTokenizer stopped.
> дек-15|17:10:38|INFO | NCOpenNlpParser stopped.
> дек-15|17:10:38|INFO | NCNlpServerManager stopped.
> дек-15|17:10:38|INFO | NCGeoManager stopped.
> дек-15|17:10:38|INFO | NCPreProcessManager stopped.
> дек-15|17:10:38|INFO | NCSynonymManager stopped.
> дек-15|17:10:38|INFO | NCSpellCheckManager stopped.
> дек-15|17:10:38|INFO | NCDictionaryManager stopped.
> дек-15|17:10:38|INFO | NCWordNetManager stopped.
> дек-15|17:10:38|INFO | NCProcessLogManager stopped.
> дек-15|17:10:38|INFO | NCSqlManager stopped.
> дек-15|17:10:38|WARN | Unexpected error: Database error: Failed to
> communicate with Ignite cluster.
> org.nlpcraft.common.NCException: Database error: Failed to communicate with
> Ignite cluster.
> at
> org.nlpcraft.server.sql.NCSql$$anonfun$org$nlpcraft$server$sql$NCSql$$psqlErrorCodes$1.applyOrElse(NCSql.scala:144)
> ~[classes/:?] }}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)