Hi All,
Ignite server node not starting with the following configuration( all
configuration files attached)
1. created org/apache/ignite/tests/cassandra/ and
placed connection-settings.xml
2. created /org/apache/ignite/tests/cassandra/persistence and
placed persistence-settings-1.xml
3. placed Ignite server bean xml (ignite-config-cassandra) under
/home/soft/apache-ignite-2.10.0-bin/config
4. starting Ignite by command nohup
/home/soft/apache-ignite-2.10.0-bin/bin/ignite.sh
/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml &

below error while starting server node
Caused by:
org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Failed to import bean definitions from URL location
[classpath:/org/apache/ignite/tests/cassandra/connection-settings.xml]
Offending resource: URL
[file:/home/soft/apache-ignite-2.10.0-bin/config/ignite-config-cassandra.xml];
nested exception is
org.springframework.beans.factory.BeanDefinitionStoreException: IOException
parsing XML document from class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml]; nested
exception is java.io.FileNotFoundException: class path resource
[org/apache/ignite/tests/cassandra/connection-settings.xml] cannot be
opened because it does not exist

Regards,
Charlin


On Tue, 3 Jan 2023 at 21:52, Pavel Tupitsyn <[email protected]> wrote:

> Leave it as is. You can grab the settings file at
>
> https://github.com/apache/ignite/blob/231ead01d186c75ebb48f1d19e5a95fc9c459202/modules/cassandra/store/src/test/resources/org/apache/ignite/tests/persistence/primitive/persistence-settings-1.xml
>
> There is nothing C# specific at all in this example, just start the node
> with the config file and you should be set.
>
> On Tue, Jan 3, 2023 at 6:08 PM Charlin S <[email protected]> wrote:
>
>> Hi Pavel,
>> Thanks for updating, how does the support below xml config  works in C#,
>> or do I need to skip this part for cassandra persistence
>> storage implementation in c#.
>>
>> <bean id="cache1_persistence_settings" 
>> class="org.apache.ignite.cache.store.cassandra.utils.persistence.KeyValuePersistenceSettings">
>>     <constructor-arg type="org.springframework.core.io.Resource" 
>> value="classpath:org/apache/ignite/tests/persistence/blob/persistence-settings-1.xml"
>>  /></bean>
>>
>> Regards,
>> Charlin
>>
>> On Tue, 3 Jan 2023 at 21:07, Pavel Tupitsyn <[email protected]> wrote:
>>
>>> Hi Charlin, happy new year!
>>>
>>> Those examples are mostly XML configs, you can use them as is in C#,
>>> something like:
>>> var cfg = new IgniteConfiguration { SpringConfigUrl =
>>> "ignite-cassandra.xml" };
>>> Ignition.Start(cfg);
>>>
>>> Let me know if you need more details.
>>>
>>> Pavel
>>>
>>> On Tue, Jan 3, 2023 at 1:50 PM Charlin S <[email protected]> wrote:
>>>
>>>> Hi All,
>>>> Happy new year to all !
>>>>
>>>>
>>>> https://ignite.apache.org/docs/latest/extensions-and-integrations/cassandra/usage-examples
>>>>
>>>> As per documentation, we see examples for support of data types in
>>>> Java. we have not seen support for dotnet data types.
>>>> Could you please advise on this for C# implementation?
>>>>
>>>> Regards,
>>>> Charlin
>>>>
>>>>

<<attachment: Ignite-Cassandra-Integration.zip>>

Reply via email to