-
1. Re: Simple program hotrod server: issue with logger
nadirx Mar 17, 2016 7:29 AM (in response to n.dobryukha)Hi Nikita, it's a known issue when mixing various jars on the classpath. The fix is [ISPN-6093] When infinispan-remote and infinispan-embedded are deployed together we get an error - JBoss Issue Tracker which will be included in 8.1.3.Final and 8.2.1.Final soon.
Remove infinispan-server-hotrod and infinispan-query from your pom.xml: you don't need them.
Tristan
-
2. Re: Simple program hotrod server: issue with logger
n.dobryukha Mar 17, 2016 9:35 AM (in response to nadirx)Tristan Tarrant написал(а):
Remove infinispan-server-hotrod and infinispan-query from your pom.xml: you don't need them.
Trinstan,
Sorry, I've not understood. What sould I use instead of?
-
3. Re: Simple program hotrod server: issue with logger
n.dobryukha Mar 17, 2016 9:48 AM (in response to n.dobryukha)Hmm... I've added a dependency infinispan-client-hotrod with other existing dependencies and it's became working.
-
4. Re: Simple program hotrod server: issue with logger
n.dobryukha Mar 17, 2016 9:51 AM (in response to n.dobryukha)I have another question: what should I do with warning
1802 [WARN] IndexingConfigurationBuilder: ISPN000403: No indexable classes were defined for this indexed cache; switching to autodetection (support for autodetection will be removed in Infinispan 9.0).
?
-
5. Re: Simple program hotrod server: issue with logger
nadirx Mar 17, 2016 10:02 AM (in response to n.dobryukha)Nikita Dobryukha wrote:
Tristan Tarrant написал(а):
Remove infinispan-server-hotrod and infinispan-query from your pom.xml: you don't need them.
Trinstan,
Sorry, I've not understood. What sould I use instead of?
Nothing:
- infinispan-server-hotrod is the actual server, and you don't want it in your application.
- infinispan-query is the embedded query module, which you don't need in a remote client (since the actual query execution is handled by the server)
-
6. Re: Simple program hotrod server: issue with logger
nadirx Mar 17, 2016 10:03 AM (in response to n.dobryukha)1802 [WARN] IndexingConfigurationBuilder: ISPN000403: No indexable classes were defined for this indexed cache; switching to autodetection (support for autodetection will be removed in Infinispan 9.0).
It's harmless in server mode.
-
7. Re: Simple program hotrod server: issue with logger
nadirx Mar 17, 2016 10:03 AM (in response to n.dobryukha)Nikita Dobryukha wrote:
Hmm... I've added a dependency infinispan-client-hotrod with other existing dependencies and it's became working.
So now you have both infinispan-client-hotrod and infinispan-remote ? Either one or the other
-
8. Re: Simple program hotrod server: issue with logger
n.dobryukha Mar 17, 2016 11:00 AM (in response to nadirx)Tristan Tarrant написал(а):
Nothing:
- infinispan-server-hotrod is the actual server, and you don't want it in your application.
- infinispan-query is the embedded query module, which you don't need in a remote client (since the actual query execution is handled by the server)
How should I write a unit test for testing a client code who must communicate with a real infinispan server without using infinispan-server-hotrod?
-
9. Re: Simple program hotrod server: issue with logger
nadirx Mar 23, 2016 9:50 AM (in response to n.dobryukha)Ah, I didn't know you wanted to implement a unit test. In that case, yes you can either use infinispan-server-hotrod (but be careful with the configuration, e.g. server equivalence) or infinispan-arquillian.