Seto Kaiba wrote:
I have to use -Djava.net.preferIPv4Stack=true to run in 9.0.0.Beta1.
But I don't need it in 8.2.5.Final.
Is it a bug?
To be honest I am surprised you haven't run across this yet This is a well known thing with JGroups which handles the cluster communication [1]
Seto Kaiba wrote:
infinispan/CustomRequestCorrelator.java at master · infinispan/infinispan · GitHub
This one will call the remote executor. That's why it's working in 9.0.0.Beta1.
Yes I figured as much but to be honest I didn't look deep into it. As I mentioned in my previous post you can go ahead and log a bug for the lazy executor saying it it shutdown when it hasn't yet been initialized.
Sebastian Łaskawiec wrote:
I think Will answered all your doubts Seto!
Just a side note, yes, not injecting Cache into Runnables in CDI is a bug. I filled JIRA for this: ISPN-7363. Perhaps you'd like to contribute to the Infinispan code base and fix it? It's seems pretty easy.
Hi. Here's maybe working fix I commit.
I imported the projects in IDEA but it seems that it can't solve the dependencies.
I can't test it. I make RunnableAdapter<T> public and judge the type during injection.
Maybe you can test whether it works or not.