Re: ignite.sh spring xml file secret.properties file not found error

2018-01-16 Thread Ganesh Kumar
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 : 






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/


ignite.sh spring xml file secret.properties file not found error

2018-01-12 Thread Ganesh Kumar
Hi,
I have specified secret.properties file location in the spring xml file and
when it start ignite.sh, I see the below error as its not able to find the
secret.properties file.
- Where does ignite.sh look for this file? & how do I specify the right path
for this file.

$bin/ignite.sh ganesh.xml
class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
application context [springUrl=file:/opt/vdp/ignite/config/ganesh.xml,
err=Could not load properties; nested exception is
java.io.FileNotFoundException: class path resource [secret.properties]
cannot be opened because it does not exist]
at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:966)
at org.apache.ignite.Ignition.start(Ignition.java:350)
at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
instantiate Spring XML application context
[springUrl=file:/opt/vdp/ignite/config/ganesh.xml, err=Could not load
properties; nested exception is java.io.FileNotFoundException: class path
resource [secret.properties] cannot be opened because it does not exist]




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


Spring xml for connecting to Oracle database

2017-11-13 Thread Ganesh Kumar
Hi,
Do we have a sample of the spring xml file to connect to Oracle and perform
a "Read-through" operation?

Ganesh



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