Jerome Green Jerome Green - 7 months ago 23
Apache Configuration Question

Apache Ignite not resolving properties in configuration XML

I am looking to load a number of values into my server configuration.xml from a properties file.
However, on adding the placeholders I start getting, property cannot be resolved errors. Preferably I would like to use Jasypt, which has loaded up fine, but has the same issue, property cannot be resolved.

Sample placeholder:

<bean id="placeholderConfig" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
<property name="location" value=""/>

Sample Bean:

<property name="sslContextFactory">
<bean class="org.apache.ignite.ssl.SslContextFactory">
<property name="keyStoreFilePath" value="ignite.jks"/>
<property name="keyStorePassword" value="${some.password}"/>
<property name="keyStoreType" value="JKS"/>
<property name="protocol" value="TLSv1.2"/>
<property name="trustManagers">
<bean class="org.apache.ignite.ssl.SslContextFactory" factory-method="getDisabledTrustManager"/>

Is it possible, is there a library I should have added, it otherwise runs fine if I do not use properties.


The configuration is parsed by Spring and Ignite has nothing to do with it. I believe there are two possible reasons:

  • Incorrect file path. Note that if the file is on the classpath, the location should be
  • Incorrect property name.