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
- In the case of multiple EAC agents setup, it could be that the Endeca EAC central server is not able to connect to the EAC agents defined in LiveDgraphCluster.xml . For this you can test the connectivity by hitting following command in linux –
> nc <EAC-Agent-Host> 15000
> Ncat: Connection refused.
If you get this connection refused, work with your network team to open the ports.
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.