[JBoss JIRA] (ISPN-9981) org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
by Sammy Chu (Jira)
[ https://issues.jboss.org/browse/ISPN-9981?page=com.atlassian.jira.plugin.... ]
Sammy Chu updated ISPN-9981:
----------------------------
Status: Open (was: New)
> org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-9981
> URL: https://issues.jboss.org/browse/ISPN-9981
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 8.2.4.Final
> Reporter: Sammy Chu
> Priority: Major
>
> {{org.infinispan.jcache.embedded.JCache}} do not call {{org.infinispan.AdvancedCache.with(ClassLoader)}}, so the {{javax.cache.event.CacheEntryListener}} and {{javax.cache.event.CacheEntryEventFilter}} is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
> Suggest to call {{org.infinispan.AdvancedCache.with(ClassLoader)}} in the constructor of {{org.infinispan.jcache.embedded.JCache}}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (ISPN-9981) org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
by Sammy Chu (Jira)
[ https://issues.jboss.org/browse/ISPN-9981?page=com.atlassian.jira.plugin.... ]
Sammy Chu updated ISPN-9981:
----------------------------
Description:
{{org.infinispan.jcache.embedded.JCache}} do not call {{org.infinispan.AdvancedCache.with(ClassLoader)}}, so the {{javax.cache.event.CacheEntryListener}} and {{javax.cache.event.CacheEntryEventFilter}} is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
Suggest to call {{org.infinispan.AdvancedCache.with(ClassLoader)}} in the constructor of {{org.infinispan.jcache.embedded.JCache}}
was:
`org.infinispan.jcache.embedded.JCache` do not call `org.infinispan.AdvancedCache.with(ClassLoader)`, so the `javax.cache.event.CacheEntryListener` and `javax.cache.event.CacheEntryEventFilter` is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
Suggest to call `org.infinispan.AdvancedCache.with(ClassLoader)` in the constructor of `org.infinispan.jcache.embedded.JCache`
> org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-9981
> URL: https://issues.jboss.org/browse/ISPN-9981
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 8.2.4.Final
> Reporter: Sammy Chu
> Priority: Major
>
> {{org.infinispan.jcache.embedded.JCache}} do not call {{org.infinispan.AdvancedCache.with(ClassLoader)}}, so the {{javax.cache.event.CacheEntryListener}} and {{javax.cache.event.CacheEntryEventFilter}} is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
> Suggest to call {{org.infinispan.AdvancedCache.with(ClassLoader)}} in the constructor of {{org.infinispan.jcache.embedded.JCache}}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (ISPN-9981) org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
by Sammy Chu (Jira)
[ https://issues.jboss.org/browse/ISPN-9981?page=com.atlassian.jira.plugin.... ]
Sammy Chu updated ISPN-9981:
----------------------------
Description:
`org.infinispan.jcache.embedded.JCache` do not call `org.infinispan.AdvancedCache.with(ClassLoader)`, so the `javax.cache.event.CacheEntryListener` and `javax.cache.event.CacheEntryEventFilter` is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
Suggest to call `org.infinispan.AdvancedCache.with(ClassLoader)` in the constructor of `org.infinispan.jcache.embedded.JCache`
was:
org.infinispan.jcache.embedded.JCache do not call org.infinispan.AdvancedCache.with(ClassLoader), so the javax.cache.event.CacheEntryListener and javax.cache.event.CacheEntryEventFilter is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
Suggest to call org.infinispan.AdvancedCache.with(ClassLoader) in the constructor of org.infinispan.jcache.embedded.JCache
> org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: ISPN-9981
> URL: https://issues.jboss.org/browse/ISPN-9981
> Project: Infinispan
> Issue Type: Bug
> Components: JCache
> Affects Versions: 8.2.4.Final
> Reporter: Sammy Chu
> Priority: Major
>
> `org.infinispan.jcache.embedded.JCache` do not call `org.infinispan.AdvancedCache.with(ClassLoader)`, so the `javax.cache.event.CacheEntryListener` and `javax.cache.event.CacheEntryEventFilter` is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
> Suggest to call `org.infinispan.AdvancedCache.with(ClassLoader)` in the constructor of `org.infinispan.jcache.embedded.JCache`
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (ISPN-9981) org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
by Sammy Chu (Jira)
Sammy Chu created ISPN-9981:
-------------------------------
Summary: org.infinispan.jcache.embedded.JCache should use ClassLoader provided by org.infinispan.jcache.embedded.JCacheManager
Key: ISPN-9981
URL: https://issues.jboss.org/browse/ISPN-9981
Project: Infinispan
Issue Type: Bug
Components: JCache
Affects Versions: 8.2.4.Final
Reporter: Sammy Chu
org.infinispan.jcache.embedded.JCache do not call org.infinispan.AdvancedCache.with(ClassLoader), so the javax.cache.event.CacheEntryListener and javax.cache.event.CacheEntryEventFilter is created using the class loader of infinispan classes. If the infinispan jars are in shared environment (e.g. installed as a Wildfly module), the user custom cache listeners/ cache entry event filters will not be able to load.
Suggest to call org.infinispan.AdvancedCache.with(ClassLoader) in the constructor of org.infinispan.jcache.embedded.JCache
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month
[JBoss JIRA] (ISPN-2510) PrepareCommands should fail on nodes where the cache is not running
by Dan Berindei (Jira)
[ https://issues.jboss.org/browse/ISPN-2510?page=com.atlassian.jira.plugin.... ]
Dan Berindei closed ISPN-2510.
------------------------------
Fix Version/s: 6.0.0.Final
Resolution: Out of Date
Fixed with ISPN-3367: since 6.0 remote nodes return a {{CacheNotFoundResponse}} if the cache is not running.
> PrepareCommands should fail on nodes where the cache is not running
> -------------------------------------------------------------------
>
> Key: ISPN-2510
> URL: https://issues.jboss.org/browse/ISPN-2510
> Project: Infinispan
> Issue Type: Bug
> Components: Core
> Affects Versions: 5.2.0.Beta3
> Reporter: Dan Berindei
> Priority: Major
> Fix For: 6.0.0.Final
>
>
> When the user stops a cache without stopping the cache manager on that node, subsequent PrepareCommands sent to that node will return a {{SuccessfulResponse}}.
> If that node used to the primary owner of the command's modified key, the originator will proceed with the transaction as if it had acquired a lock on that key. It is thus possible for multiple transactions to think they have acquired the key lock at the same time.
> On the other hand, in replicated caches is is quite possible that a cache is not running on all the cluster node and yet PrepareCommands are broadcasted to everyone in parallel. So the solution should not involve sending exceptions (which have huge stack traces), and the originator should be able to ignore failures responses from nodes that were not targeted in the first place.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 1 month