Bug 1101282
| Summary: | JDG release is not compatible with JCache releases | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Data Grid 6 | Reporter: | Vojtech Juranek <vjuranek> |
| Component: | Infinispan | Assignee: | Tristan Tarrant <ttarrant> |
| Status: | CLOSED NOTABUG | QA Contact: | Martin Gencur <mgencur> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3.0 | CC: | jdg-bugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-05-27 14:19:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
JCache is not part of the product and is not supported by any means. |
Description of problem: It seems there's no JCache release compatible with JDG ER5 release (probably also with previous ER builds). JCache 6.0.X release fails as it tries to create ReentrantPerEntryLockContainer with a single parameters, while ReentrantPerEntryLockContainer in ER5 requires 2 arguments. JCahce 7.0.0.AlphaX fails with exception bellow. Here the inconsistency is caused by OSGI related changed (JCache ISPN commit f517a93db933fe370765cfedafd622c19866c95b), which instantiate FileLookup, while the change which turned FileLookup from interface to class (ISPN commit 39a21a025db2e0f85019b93d09052b4772abbaa8) is not incorporated into the ER5 build. This issue breaks some CDI functionality, but happens only on EWS/Tomcat container (where Weld is part of the deployment) Version-Release number of selected component (if applicable): JDG 6.3.0.ER5 Additional info: Exception for ER5 with JCache 7.0.0.Alpha4 on Tomcat/EWS: Caused by: java.lang.InstantiationError: org.infinispan.commons.util.FileLookup at org.infinispan.jcache.JCacheManager.getConfigurationBuilderHolder(JCacheManager.java:139) at org.infinispan.jcache.JCacheManager.<init>(JCacheManager.java:91) at org.infinispan.jcache.JCachingProvider.createCacheManager(JCachingProvider.java:164) at org.infinispan.jcache.JCachingProvider.getCacheManager(JCachingProvider.java:70) at org.infinispan.jcache.JCachingProvider.getCacheManager(JCachingProvider.java:83) at org.infinispan.jcache.annotation.DefaultCacheResolver.<init>(DefaultCacheResolver.java:30) at org.infinispan.jcache.annotation.DefaultCacheResolver$Proxy$_$$_WeldClientProxy.<init>(Unknown Source)