I have my hazelcast-config.xml in WEB-INF along with other config files.
I tried to give the custom config file path to 2nd level cache by below property as described in the hazelcast documentation.
<property name="hibernate.cache.provider_configuration_file_resource_path">
{path to applicationContext-hazelcast.xml}
</property>
But I'm getting following exception:
ERROR 14-Sep-16 11:33:36 ContextLoader:initWebApplicationContext:308 Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ... nested exception is org.hibernate.cache.CacheException: org.hibernate.cache.CacheException: Could not find configuration file: WEB-INF/hazelcast.xml
Any suggestions how can I load my config file from WEB-INF?