Hi,
i have a simple Pojo
public class Client implements Serializable
private static final long serialVersionUID = 2747772722162744232L;
@QuerySqlField
private final Date registrationDate;
@QuerySqlField(index = true)
private final String lwersion;
...
I have create simple Cache<String,Client>...
cacheCfg.setBackups(0);
cacheCfg.setName(ctx.name());
cacheCfg.setCacheMode(PARTITIONED);
When i use a Query
QueryCursor<List<?>> qryx = cache
.query(new SqlFieldsQuery("select * from " +
valueType.getSimpleName()));
List<V> list = new ArrayList<V>();
for (List<?> row : qryx) {
logger.trace("Query {} List size {}",
cache.getName(), row.size());
logger.trace("Query {} List size {} {}",
cache.getName(), row.get(0),
row.get(1));
logger.trace("Query Cache {} Key found {} {}",
cache.getName(),
row.get(0));
list.add((V) row.get(1));
}
qryx.close();
return list;
When i run this query with a single node all works fine.
When i'll start second Karaf the "last node started" throw a Class Not
Found....
have you any suggestion please?
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Question-about-Class-Not-found-tp8685.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.