-
Bug
-
Resolution: Done
-
Blocker
-
8.1.0.GA, 8.1 Update 1
-
None
-
False
-
-
False
-
-
-
-
-
-
-
We have decided to go with a change in JBoss Threads – https://github.com/jboss/jboss-threads/pull/275
JBoss Threads upgrade 2.5 is going to be needed to resolve the issue in 8.1.2.
EAP 8.1.1 (and others) contain incompatible versions of Infinispan and JBoss Threads.
Caused by: java.lang.NoSuchMethodError: 'org.jboss.threads.EnhancedQueueExecutor$Builder org.jboss.threads.EnhancedQueueExecutor$Builder.setKeepAliveTime(java.time.Duration)'
at org.infinispan.core@15.0.19.Final-redhat-00001//org.infinispan.factories.threads.EnhancedQueueExecutorFactory.lambda$createExecutor$1(EnhancedQueueExecutorFactory.java:43)
That call is in infinispan-core-15.0.19.Final-redhat-00001.jar
org.infinispan.factories.threads.EnhancedQueueExecutorFactory line 43:
builder.setKeepAliveTime(Duration.of(keepAlive, ChronoUnit.MILLIS));
Which is trying to call jboss-threads-2.4.0.Final-redhat-00001.jar
org.jboss.threads.EnhancedQueueExecutor$Builder line 549
public Builder setKeepAliveTime(final long keepAliveTime, final TimeUnit
keepAliveUnits) {
But is sending (Duration), instead of the (long, TimeUnit) that it expects.
RHDG 8.5.5 that this Infinispan version is from uses the newer jboss-threads-3.6.1.Final-redhat-00001 instead, which has added setKeepAliveTime(Duration) and deprecated the older call.
- is incorporated by
-
JBEAP-31474 (8.1.z) Upgrade JBoss Threads from 2.4.0.Final-redhat-00001 to 2.5.0.redhat-00001
-
- Resolved
-