GitHub user sysoev-a opened a pull request:

    https://github.com/apache/archiva/pull/15

    Specify using separate caches for different data items (users, keys, 
namespaces)

    applicationContext.xml contains incorrect configuration for two caches 
(cache#keys and cache#namespaces).
    Configurations for these caches (together with cache#users) share the same 
name "usersCache", thus in fact the single cache instance is used instead of 
three different.
    This may cause the following problems:
    * incorrect timings for cache resfreshing,
    * ClassCastException in case of adding items (users, repositories, ...) 
with the same name.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sysoev-a/archiva appContext

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/archiva/pull/15.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #15
    
----
commit cd245a85f8984f67714b5f988efae3c91dd241eb
Author: Andrey Sysoev <[email protected]>
Date:   2015-02-17T16:11:31Z

    Specify using separate caches for different data items (users, keys, 
namespaces)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to