[ 
https://issues.apache.org/jira/browse/FC-226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shawn McKinney resolved FC-226.
-------------------------------
    Resolution: Fixed

done

> ehcache masking security exceptions
> -----------------------------------
>
>                 Key: FC-226
>                 URL: https://issues.apache.org/jira/browse/FC-226
>             Project: FORTRESS
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Shawn McKinney
>            Assignee: Shawn McKinney
>            Priority: Major
>             Fix For: 2.0.1
>
>
> Need to add try/catch block around ehcache mgr instantiation because it is 
> masking important exceptions like access control violations.
>         try
>         {
>             // 1. Construct an instance of Ehcache's CacheManager object.
>             // 2. Requires location of ehcache's config file as parameter.
>             // 3. The CacheManager reference then gets stored as member 
> variable of this class instance.
>             mEhCacheImpl = new CacheManager( ClassUtil.resourceAsStream( 
> cacheConfig ) );
>         }
>         catch(Exception e)
>         {
>             String error = "CacheMgr.init caught Exception=" + e.getMessage();
>             LOG.error( error );
>             throw new CfgRuntimeException( 
> GlobalErrIds.FT_CACHE_NOT_CONFIGURED, error, e );
>         }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to