Opened 8 years ago

Closed 8 years ago

#617 closed (fixed)

Warning message when installing or upgrading

Reported by: fredrik Owned by: olle
Milestone: Proteios SE 2.10 Keywords:
Cc:

Description

When running the installation script the following message is seen:

WARN CacheManager:271 - Creating a new instance of CacheManager? using the diskStorePath "/tmp" which is already used by an existing CacheManager?.

Probably this is related to the upgrade to the hew Hibernate version.

Change History (7)

comment:1 Changed 8 years ago by olle

  • Status changed from new to assigned

Ticket accepted.

comment:2 Changed 8 years ago by olle

Problem analysis:

  • The full text of the warning message is:

    WARN CacheManager::detectAndFixDiskStorePathConflict:271 - Creating a new instance of
    CacheManager using the diskStorePath "/tmp" which is already used by an existing CacheManager.
    The source of the configuration was classpath.
    The diskStore path for this CacheManager will be set to /tmp/ehcache_auto_created_1256040075207.
    To avoid this warning consider using the CacheManager factory methods to create a singleton
    CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each
    CacheManager instance.

  • Internet search for key words "cachemanager" +"diskStorePath" confirmed that the warning is output by class Ehcache, which was indicated by the name "/tmp/ehcache_auto_created_1256040075207" of the path for the CacheManager in the full warning message. See e.g. http://issues.appfuse.org/browse/APF-422 for a discussion of the problem in another project. The ehcache-*.jar JAR file in api/external/ was indeed updated from file ehcache-1.1.jar to ehcache-1.2.3.jar in connection with update of the Hibernate library to version 3.3.2.GA in Ticket #594 (Update hibernate lib), see comment added to the latter ticket 2009-07-29 13:09:29.
  • The warning is not described as critical by most web references (after all, it is a warning, not an error message).

comment:3 Changed 8 years ago by olle

Traceability note:

  • Ehcache JAR file in api/external/ was updated from ehcache-1.1.jar to ehcache-1.2.3.jar in changeset [3383] in Ticket #594 (Update hibernate lib).

comment:4 Changed 8 years ago by olle

An entry regarding the warning message was added to wiki page Known Issues 2009-10-12 10:59:54 (In [12]).

comment:5 Changed 8 years ago by olle

(In [16]) Wiki page Known Issues updated in wiki formatting.

comment:6 Changed 8 years ago by olle

(In [59]) Proteios wiki page Proteios 2 Installation updated in section "Quick Install" with new sub-section "Note on Warning Messages".

comment:7 Changed 8 years ago by olle

  • Resolution set to fixed
  • Status changed from assigned to closed

Ticket closed as search results for the warning message on the web indicates that the warning can be ignored for now, and a note on the warning message has been added to the Proteios wiki page "Proteios 2 Installation" in the "Quick Install" section.

Note: See TracTickets for help on using tickets.