Bug 793496 (JBEPP-577) - Concurrency problem (HashMap used in class ConfigurationManager in multithreaded environment)
Summary: Concurrency problem (HashMap used in class ConfigurationManager in multithrea...
Keywords:
Status: CLOSED DUPLICATE of bug 2040112
Alias: JBEPP-577
Product: JBoss Enterprise Portal Platform 5
Classification: JBoss
Component: unspecified
Version: 5.1.0.ER03
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 5.1.0.ER04
Assignee: Thomas Heute
QA Contact:
URL: http://jira.jboss.org/jira/browse/JBE...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-25 07:57 UTC by Thomas Heute
Modified: 2010-11-22 14:47 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2010-11-22 14:47:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 793578 0 high CLOSED java.lang.Exception: Cannot find the configuration for the component 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker JBEPP-577 0 None None None Never

Internal Links: 793578

Description Thomas Heute 2010-10-25 07:57:36 UTC
project_key: JBEPP

Comment 1 Thomas Heute 2010-10-25 07:58:01 UTC
Link: Added: This issue is related to GTNPORTAL-1545


Comment 2 Scott Mumford 2010-11-01 04:07:10 UTC
Release Notes Docs Status: Added: Not Required


Comment 3 Thomas Heute 2010-11-09 08:28:27 UTC
Release Notes Docs Status: Removed: Not Required Added: Documented as Resolved Issue
Release Notes Text: Added: "Cannot find the configuration for the component org.exoplatform.portal.webui.container.UIContainerList, configId null" could be logged under heavy load.


Comment 4 Scott Mumford 2010-11-10 00:27:45 UTC
Release Notes Text: Removed: "Cannot find the configuration for the component org.exoplatform.portal.webui.container.UIContainerList, configId null" could be logged under heavy load. Added: The use of HashMap in the ConfigurationManager class for multithreaded environments in previous versions of EPP caused the following message to appear in logs while using the product under heavy load: "java.lang.Exception: Cannot find the configuration for the component org.exoplatform.portal.webui.container.UIContainerList, configId null".

In the latest release, HashMap has been replaced with ConcurrentHashMap, which accepts default values for initial capacity, load factor and concurrencyLevel and resolves the exception.


Comment 5 Scott Mumford 2010-11-10 00:30:10 UTC
Release Notes Text: Removed: The use of HashMap in the ConfigurationManager class for multithreaded environments in previous versions of EPP caused the following message to appear in logs while using the product under heavy load: "java.lang.Exception: Cannot find the configuration for the component org.exoplatform.portal.webui.container.UIContainerList, configId null".

In the latest release, HashMap has been replaced with ConcurrentHashMap, which accepts default values for initial capacity, load factor and concurrencyLevel and resolves the exception. Added: Previous versions of EPP used HashMap in the ConfigurationManager class for multithreaded environments. This caused the following message to appear in logs while using the product under heavy load: "java.lang.Exception: Cannot find the configuration for the component org.exoplatform.portal.webui.container.UIContainerList, configId null".

In the latest release, HashMap has been replaced with ConcurrentHashMap, which accepts default values for initial capacity, load factor and concurrencyLevel and resolves the exception.


Comment 6 Thomas Heute 2010-11-22 14:47:07 UTC
Link: Added: This issue related JBEPP-657


Comment 7 Thomas Heute 2010-11-22 14:47:22 UTC
Rolledback in favor of the duplicate issue fix


Note You need to log in before you can comment on or make changes to this bug.