[infinispan-issues] [JBoss JIRA] (ISPN-1907) Infinispan swallowing exceptions when attempting to instantiate invalid cache loader defined in xml

Michael Mogley (JIRA) jira-events at lists.jboss.org
Mon Mar 12 16:47:47 EDT 2012


     [ https://issues.jboss.org/browse/ISPN-1907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Mogley updated ISPN-1907:
---------------------------------

        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 marshalling process in the Infinispan source itself.  (was: 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 issue - other than to simply have it jump out at you in the CacheStore implementation code - is to step through the marshalling process in the Infinispan source itself.)
    Forum Reference: https://community.jboss.org/thread/196438?tstart=0  (was: https://community.jboss.org/thread/196438?tstart=0)

    
> Infinispan swallowing exceptions when attempting to instantiate invalid cache loader defined in xml
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ISPN-1907
>                 URL: https://issues.jboss.org/browse/ISPN-1907
>             Project: Infinispan
>          Issue Type: Feature Request
>          Components: Configuration
>    Affects Versions: 5.1.2.FINAL, 5.2.0.FINAL
>         Environment: Windows XP SP3, Oracle JDK 6 patch 31
>            Reporter: Michael Mogley
>            Assignee: Manik Surtani
>
> 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 marshalling process in the Infinispan source itself.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the infinispan-issues mailing list