Thanks Igor.

Well, I tried using a cache config in the XML to start my C++ client. but,
the factory store is not visible to the JNI.
<bean class="org.apache.ignite.configuration.CacheConfiguration">
                                        <property name="name" 
value="SHOP_ITEM_BITMAP_CACHE" /> 
                                        <property name="cacheMode" 
value="PARTITIONED" />
                                        <property name="cacheStoreFactory">
                                                <bean
class="javax.cache.configuration.FactoryBuilder$SingletonFactory">
                                                  <constructor-arg>
                                                        <bean
class="com.nielsen.poc.aggregation.ignite.datagrid.store.ShopItemBitmapStore">  
                                                         
                                                        </bean>
                                                  </constructor-arg>
                                                </bean>
                                        </property> 
                                        <property name="queryEntities">
                                                ...
                                        </property>
                                </bean>


The error is -
 nested exception is java.lang.ClassNotFoundException:
com.nielsen.poc.aggregation.ignite.datagrid.store.ShopItemBitmapStore

Seems like a class path issue. Is there a way I can pass on my additional
libraries to the C++ client?
I tried the VS2010 -> project properties -> Linker -> General -> Additional
Library Directories.
It did not work.

I also tried to set the 
std::string stdOpt =
"-Djava.class.path=C:/../aggregation-0.0.1-SNAPSHOT.jar;";
in the C++ class, that also did not work. 

Can you please help?

Thanks,
Arthi



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/C-Client-for-SQL-Queries-tp3407p3427.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to