]
Ivan Chan commented on TEIID-3200:
----------------------------------
And I found a potential workaround:
I tried to swap back to use infinspan-core-5.1.2.jar instead of version 5.2.7 in Teiid
8.8.1, and it seems to work. Do you guys see any issue with this workaround?
Thanks,
Ivan
Teiid 8.8.1 embedded version doesn't work with IBM JDK 6
--------------------------------------------------------
Key: TEIID-3200
URL:
https://issues.jboss.org/browse/TEIID-3200
Project: Teiid
Issue Type: Bug
Components: Embedded
Affects Versions: 8.8
Environment: Running Teiid 8.8.1 with IBM JDK 6
Reporter: Ivan Chan
Assignee: Steven Hawkins
Labels: teiid
Teiid 8.7 used to work with IBM JDK 6, but not Teiid 8.8.1.
It causes the following error:
[java] Caused by: org.infinispan.CacheException: Unable to invoke method public void
org.infinispan.commands.CommandsFactoryImpl.setupDependencies(org.infinispan.container.DataContainer,org.infinispan.notifications.cachelistener.CacheNotifier,org.infinispan.Cache,org.infinispan.interceptors.InterceptorChain,org.infinispan.distribution.DistributionManager,org.infinispan.context.InvocationContextContainer,org.infinispan.transaction.TransactionTable,org.infinispan.configuration.cache.Configuration,java.util.Map,org.infinispan.transaction.xa.recovery.RecoveryManager,org.infinispan.statetransfer.StateProvider,org.infinispan.statetransfer.StateConsumer,org.infinispan.util.concurrent.locks.LockManager,org.infinispan.container.InternalEntryFactory,org.infinispan.distexec.mapreduce.MapReduceManager,org.infinispan.statetransfer.StateTransferManager,org.infinispan.xsite.BackupSender,org.infinispan.commands.CancellationService)
on object of type CommandsFactoryImpl with parameters
[org.infinispan.container.DefaultDataContainer@189b189b,
org.infinispan.notifications.cachelistener.CacheNotifierImpl@400e400e, Cache
'resultset'@43084308,
[java] >> org.infinispan.interceptors.InvocationContextInterceptor, null,
org.infinispan.context.TransactionalInvocationContextContainer@3050305,
org.infinispan.transaction.TransactionTable@54695469, Configuration{classLoader=null,
clustering=ClusteringConfiguration{async=AsyncConfiguration{asyncMarshalling=false,
replicationQueue=null, replicationQueueInterval=5000, replicationQueueMaxElements=1000,
useReplicationQueue=false}, cacheMode=LOCAL,
hash=HashConfiguration{consistentHashFactory=null, hash=MurmurHash3, numOwners=2,
numSegments=60, groupsConfiguration=GroupsConfiguration{enabled=false, groupers=[]},
stateTransferConfiguration=StateTransferConfiguration{chunkSize=10000,
fetchInMemoryState=false, originalFetchInMemoryState=null, timeout=240000,
awaitInitialTransfer=false, originalAwaitInitialTransfer=null}},
l1=L1Configuration{enabled=false, invalidationThreshold=0, lifespan=600000,
onRehash=false, cleanupTaskFrequency=600000},
stateTransfer=StateTransferConfiguration{chunkSize=10000, fetchInMemoryState=false,
originalFetchInMemoryState=null, timeout=240000, awaitInitialTransfer=false,
originalAwaitInitialTransfer=null}, sync=SyncConfiguration{replTimeout=15000}},
customInterceptors=CustomInterceptorsConfiguration{interceptors=[]},
dataContainer=DataContainerConfiguration{dataContainer=null},
deadlockDetection=DeadlockDetectionConfiguration{enabled=false, spinDuration=100},
eviction=EvictionConfiguration{maxEntries=1024, strategy=LIRS, threadPolicy=DEFAULT},
expiration=ExpirationConfiguration{lifespan=7200000, maxIdle=-1, reaperEnabled=true,
wakeUpInterval=60000}, indexing=IndexingConfiguration{enabled=false,
indexLocalOnly=false}, invocationBatching=InvocationBatchingConfiguration{enabled=false},
jmxStatistics=JMXStatisticsConfiguration{enabled=false},
loaders=LoadersConfiguration{cacheLoaders=[], passivation=false, preload=false,
shared=false}, locking=LockingConfiguration{concurrencyLevel=32,
isolationLevel=READ_COMMITTED, lockAcquisitionTimeout=10000, useLockStriping=false,
writeSkewCheck=false}, modules={}, storeAsBinary=StoreAsBinaryConfiguration{enabled=false,
storeKeysAsBinary=true, storeValuesAsBinary=true},
transaction=TransactionConfiguration{autoCommit=true, cacheStopTimeout=30000,
eagerLockingSingleNode=false, lockingMode=OPTIMISTIC, syncCommitPhase=true,
syncRollbackPhase=false,
transactionManagerLookup=org.infinispan.transaction.lookup.GenericTransactionManagerLookup@4da54da5,
transactionSynchronizationRegistryLookup=null, transactionMode=TRANSACTIONAL,
useEagerLocking=false, useSynchronization=true,
recovery=RecoveryConfiguration{enabled=true,
recoveryInfoCacheName='__recoveryInfoCacheName__'}, reaperWakeUpInterval=1000,
completedTxTimeout=15000, use1PcForAutoCommitTransactions=false},
versioning=VersioningConfiguration{enabled=false, scheme=NONE},
unsafe=UnsafeConfiguration{unreliableReturnValues=false},
sites=SiteConfiguration{allBackups=[],
backupFor=BackupForConfiguration{remoteCache='null', remoteSite='null'},
disableBackups=false, inUseBackupSites=[]}}, {}, {}, null, null,
org.infinispan.util.concurrent.locks.LockManagerImpl@15b815b8,
org.infinispan.container.InternalEntryFactoryImpl@1c921c92,
org.infinispan.distexec.mapreduce.MapReduceManagerImpl@6e906e90, null,
org.infinispan.xsite.BackupSenderImpl@39643964,
org.infinispan.commands.CancellationServiceImpl@2ec52ec5]
Actually, this is a bug in infinispan.
https://issues.jboss.org/browse/ISPN-3611
This bug got introduced after upgrading infinspan-core version from 5.1.2 to 5.2.7 in
Teiid 8.8.1.
Maybe Teiid should consider to upgrade infinspan-core to version 6.0 instead.