]
Gustavo Fernandes reassigned ISPN-9097:
---------------------------------------
Assignee: Gustavo Fernandes
java.lang.ClassNotFoundException: org.infinispan.query.Search
-------------------------------------------------------------
Key: ISPN-9097
URL:
https://issues.jboss.org/browse/ISPN-9097
Project: Infinispan
Issue Type: Bug
Affects Versions: 9.2.1.Final
Reporter: Sergey Chernolyas
Assignee: Gustavo Fernandes
Then I call
{code:java}
RemoteCacheManager remoteCacheManager = new RemoteCacheManager(builder.build(true));
remoteCacheManager.administration().reindexCache("pojocache");
{code}
I take exception:
_______________
Apr 22, 2018 10:55:01 AM org.infinispan.client.hotrod.impl.protocol.Codec20
checkForErrorsInResponseStatus
WARN: ISPN004005: Error received from the server: java.lang.NoClassDefFoundError:
org/infinispan/query/Search
java.lang.ClassNotFoundException: org.infinispan.query.Search from [Module
"org.infinispan.server" from local module loader @1ae369b7 (finder: local module
finder @6fffcba5 (roots:
/home/osboxes/java/infinispan-server-9.2.1.Final/modules,/home/osboxes/java/infinispan-server-9.2.1.Final/modules/system/layers/base))]
Exception in thread "main"
org.infinispan.client.hotrod.exceptions.HotRodClientException:Request for messageId=8
returned server error (status=0x85): java.lang.NoClassDefFoundError:
org/infinispan/query/Search
java.lang.ClassNotFoundException: org.infinispan.query.Search from [Module
"org.infinispan.server" from local module loader @1ae369b7 (finder: local module
finder @6fffcba5 (roots:
/home/osboxes/java/infinispan-server-9.2.1.Final/modules,/home/osboxes/java/infinispan-server-9.2.1.Final/modules/system/layers/base))]
at
org.infinispan.client.hotrod.impl.protocol.Codec20.checkForErrorsInResponseStatus(Codec20.java:383)
at
org.infinispan.client.hotrod.impl.protocol.Codec20.readPartialHeader(Codec20.java:177)
at org.infinispan.client.hotrod.impl.protocol.Codec20.readHeader(Codec20.java:163)
at
org.infinispan.client.hotrod.impl.transport.netty.HeaderDecoder.decode(HeaderDecoder.java:85)
at
org.infinispan.client.hotrod.impl.transport.netty.HintedReplayingDecoder.callDecode(HintedReplayingDecoder.java:98)
at
io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
at
io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1414)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
at
io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
at
io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:945)
at
io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:806)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:404)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:304)
at
io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Process finished with exit code 1
_____
I used remote Infinispan.