SEVERE: Caught an exception while checking provisioning – Oracle Endeca
Caught an exception while checking provisioning
Version Experienced in : Oracle Commerce Guided Search 11.0
Operating system : Linux
When?
While running the initialize_services.sh in control folder
What is the error?
[08.23.17 20:48:52] INFO: Setting definition for application ‘<App_name>’.
[08.23.17 20:48:52] SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.application.Application setDefinition -Caught exception while defining application'<App_name>’
Caused by com.endeca.eac.client.EACFault
sun.reflect.NativeConstructorAccessorImpl newInstance0 -null
SEVERE: Caught an exception while checking provisioning.
Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException
com.endeca.soleng.eac.toolkit.application.Application setDefinition – Caught exception while defining application'<App-Name>’.
Caused by com.endeca.eac.client.EACFault
sun.reflect.NativeConstructorAccessorImpl newInstance0 – null
What does error say?
The error says there is an issue while connecting to the client – which can be
- Not able to connect due to some unknown reason -(Try restarting the EAC services (i.e Platform services)
- Not able to connect to dgraph host/port – details in ‘fix’ below
- Not able to connect to EAC – Stop EAC services services, delete the state folder which is at location – ENDECA_CONF/state , start the EAC services
Fix
In my case the issue was number 2. The reason behind this was host and port were not correctly set in LiveDgraphCluster.xml . Fix the port – fix the error.