Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1907

Enhance to bubble up exceptions that occur during instantiation/wiring of cache loader defined in xml

    Details

      Description

      When using the SpringEmbeddedCacheManagerFactoryBean, any exception that occurs when attempting to instantiate a CacheStore implementation does not bubble up to the log, even with full error logging turned on. A specific failure case is inadvertently defining the CacheStore implementation property setter method with 'private' scope. Being able to see the error in the log would allow for much quicker diagnosis and resolution of the underlying issue in the implementation. Right now, the only way to find such an issue - other than to simply have it jump out at you in the CacheStore implementation code - is to tediously step through the unmarshalling process in the Infinispan source itself.

      The log is similarly silent about an incorrect setting of the CacheStore class name.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                galder.zamarreno Galder ZamarreƱo
                Reporter:
                mmogley Michael Mogley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: