I have tried setting CLASSPATH
$ echo $CLASSPATH
/opt/vdp/ignite/config

and also providing the full path of secret.properties in my spring xml file.
Still I am getting the same error when I try to start the ignite instance.
**code snippet from the xml file : 
    
    <bean id="placeholderConfig"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property value="classpath:/opt/vdp/ignite/config/secret.properties"
name="location"/>
    </bean>


Error :
class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
application context
[springUrl=file:/opt/vdp/apache-ignite-fabric-2.3.0-bin/config/ganesh.xml,
err=Could not load properties; nested exception is
java.io.FileNotFoundException: class path resource
[opt/vdp/ignite/config/secret.properties] cannot be opened because it does
not exist]
        at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:966)

Any thoughts on how to solve this??

Thanks - Ganesh Kumar




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to