Igor,

Please hold on for a while. I’ve just started moving all the integrations 
related documentation to a new domain. I’ll let you know when it’s safe to 
update the doc.

—
Denis

> On Nov 29, 2016, at 10:46 AM, Igor Rudyak <[email protected]> wrote:
> 
> Hi Riccardo,
> 
> Thanks for noticing this. There were number of refactorings done and it looks 
> like we need to update the documentation.
> 
> I'll update the documentation for the module.
> 
> Igor
> 
> On Tue, Nov 29, 2016 at 9:26 AM, Denis Magda <[email protected] 
> <mailto:[email protected]>> wrote:
> Igor,
> 
> Would you mind looking through the documentation and updating it whenever is 
> needed?
> 
> —
> Denis
> 
>> On Nov 29, 2016, at 1:58 AM, Riccardo Iacomini <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> Hi Igor,
>> I finally discovered what was causing the issue. The example provided 
>> <https://apacheignite.readme.io/docs/examples> in the Ignite documentation 
>> page has a subtle difference in the package structure of several classes, 
>> for example:
>> 
>> org.apache.ignite.cache.store.cassandra.datasource.DataSource (the class in 
>> the ignite-cassandra.jar) vs 
>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource (in the 
>> example). The same applies also for other classes in the example. I do not 
>> know if this is due to a refactoring performed on the code which did not 
>> propagates through the examples, or simply I used a different version of the 
>> documentation in contrast with the one I was running.
>> 
>> Anyway, thank you for your time.
>> 
>> Best regards
>> 
>> Riccardo Iacomini
>> RDSLab
>> 
>> 
>> On Mon, Nov 28, 2016 at 5:34 PM, Igor Rudyak <[email protected] 
>> <mailto:[email protected]>> wrote:
>> If you are using ignite.sh it should be fine.
>> 
>> Igor
>> 
>> 
>> On Nov 28, 2016 8:29 AM, "Riccardo Iacomini" <[email protected] 
>> <mailto:[email protected]>> wrote:
>> I will try. Yes I am using the ignite.sh command. Any drawbacks?
>> 
>> Il 28 nov 2016 5:26 PM, "Igor Rudyak" <[email protected] 
>> <mailto:[email protected]>> ha scritto:
>> Try to check your classpath. Find ignite process usig something like  ps -es 
>> | grep  Ignite and check java command used to launch ignite.
>> 
>> By the way, how you launching Ignite? Do you use ignite.sh script for this?
>> 
>> Igor
>> 
>> 
>> On Nov 28, 2016 8:05 AM, "Riccardo Iacomini" <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi Igor,
>> I tried your suggestion, but it does find the class. I've also read from the 
>> README files that optional modules must be copied into the libs folder: same 
>> outcome. I've tried also the docker image, adding my configuration xml files 
>> to it, and running the image as specified here 
>> <https://apacheignite.readme.io/v1.5/docs/docker-deployment> in the 
>> documentation. Do you have any other suggestion?
>> 
>> Thanks for your patience.
>> 
>> Best regards
>> 
>> Riccardo Iacomini
>> RDSLab
>> 
>> 
>> On Sun, Nov 27, 2016 at 8:46 PM, Igor Rudyak <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Try to include required jars into IGNITE_LIBS environment variable.
>> 
>> Igor 
>> 
>> On Thu, Nov 24, 2016 at 5:21 AM, Riccardo Iacomini 
>> <[email protected] <mailto:[email protected]>> wrote:
>> Hi Igor,
>> thanks for your reply. I've both tried building ignite from source and 
>> removing CassandraAdminCredentials class specifying username and password in 
>> the bean's properties. Anyway, I cannot get it work. Ignite still cannot 
>> find the required classes, this time 
>> org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource. The 
>> class is indeed located in the jar ignite-cassandra-1.7.0.jar in 
>> IGNITE_HOME/modules/cassandra/target. I tried adding the path to USER_LIBS 
>> and CLASSPATH, no different behavior. Maybe the environment variables got 
>> ignored?
>> 
>> 
>> Riccardo Iacomini
>> RDSLab
>> 
>> 
>> On Wed, Nov 23, 2016 at 7:41 PM, Igor Rudyak <[email protected] 
>> <mailto:[email protected]>> wrote:
>> Hi Riccardo,
>> 
>> CassandraAdminCredentials class is only available in Ignite unit tests 
>> sources. If you want to use it you should build Ignite from source code. 
>> Such way, it will create ignite-cassandra-tests-${project.version}.zip where 
>> jar may find jar file containing all the test classes.
>> 
>> Also if you want to use Cassandra as a persistent store you actually don't 
>> need CassandraAdminCredentials  cause it's just used for tests.
>> 
>> Igor
>> 
>> On Wed, Nov 23, 2016 at 7:33 AM, Riccardo Iacomini 
>> <[email protected] <mailto:[email protected]>> wrote:
>> Following the example <https://apacheignite.readme.io/docs/examples> 
>> provided in the docs, I am trying to setup a basic Ignite cluster using 
>> Cassandra as persistent store. I've downloaded ignite 1.7 and created the 
>> configuration files. Ignite does read them at startup, but I get this error 
>> message:
>> 
>> class org.apache.ignite.IgniteException: Failed to instantiate Spring XML 
>> application context (make sure all classes used in Spring configuration are 
>> present at CLASSPATH
>> 
>> CassandraAdminCredentials is the class not being found. Commenting the bean, 
>> I get the same for the next class. I tried adding the path to the jar 
>> ignite-cassandra-1.7.0.jar to both CLASSPATH and USER_LIBS, still not 
>> getting found. Opening the jar I cannot find the requested class. Am I 
>> missing some dependencies?
>> 
>> Thank you for your help.
>> 
>> Riccardo Iacomini
>> RDSLab
>> 
>> 
>> 
>> 
>> 
>> 
>> 
> 
> 

Reply via email to