[infinispan-issues] [JBoss JIRA] (ISPN-8579) CacheNotFoundException error too noisy
Radim Vansa (JIRA)
issues at jboss.org
Thu Jan 11 04:36:00 EST 2018
[ https://issues.jboss.org/browse/ISPN-8579?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radim Vansa resolved ISPN-8579.
-------------------------------
Resolution: Done
> CacheNotFoundException error too noisy
> --------------------------------------
>
> Key: ISPN-8579
> URL: https://issues.jboss.org/browse/ISPN-8579
> Project: Infinispan
> Issue Type: Enhancement
> Components: Remote Protocols
> Affects Versions: 9.2.0.Beta1, 9.1.3.Final
> Reporter: Galder Zamarreño
> Assignee: Galder Zamarreño
> Fix For: 9.2.0.CR1, 9.2.0.Final
>
>
> For JCache Remote, creating a cache requires checking first of the cache exists server side, and if not create one using admin operations.
> From the server perspective, if the cache is not defined, a noisy exception is logged:
> {code}
> 11:52:22,361 ERROR [org.infinispan.server.hotrod.CacheDecodeContext] (HotRod-ServerWorker-4-5) ISPN005003: Exception reported: org.infinispan.server.hotrod.CacheNotFoundException: Cache with name 'org.jsr107.tck.event.CacheListenerTest' not found amongst the configured caches
> at org.infinispan.server.hotrod.CacheDecodeContext.obtainCache(CacheDecodeContext.java:289)
> {code}
> This is too noisy. The server should log something, on debug maybe but we should not treat this as an error. The client already knows that the cache returned is null, so it needs to create the cache in the server somehow, that should be enough.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list