You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Randy Watler (JIRA)" <je...@portals.apache.org> on 2009/04/15 04:53:15 UTC

[jira] Created: (JS2-967) Preferences Concurrent Modification Exception

Preferences Concurrent Modification Exception
---------------------------------------------

                 Key: JS2-967
                 URL: https://issues.apache.org/jira/browse/JS2-967
             Project: Jetspeed 2
          Issue Type: Bug
          Components: Portlet Entities and Preferences
    Affects Versions: 2.1.3
         Environment: Jetspeed-2 Performance Test Portal
Websphere/WAS
Oracle
Linux 4-way Server
            Reporter: Randy Watler
            Assignee: Randy Watler
            Priority: Minor
             Fix For: 2.1.4


The following stack trace occurs multiple times, (~5), during long running load tests:

[4/14/09 11:36:05:492 PDT] 00000862 WebApp        A   SRVE0181I: [j2pt#j2pt-app.war] [/j2pt-app] [Servlet.LOG]: JetspeedContaine
rServlet: Error rendering portlet "j2pt-app::PrefsFileContentLarge": java.util.ConcurrentModificationException: concurrent acces
s to HashMap attempted by Thread[WebContainer : 2111,5,main]: java.util.ConcurrentModificationException: concurrent access to Ha
shMap attempted by Thread[WebContainer : 2111,5,main]
        at java.util.HashMap.onExit(HashMap.java:226)
        at java.util.HashMap.transfer(HashMap.java:690)
        at java.util.HashMap.resize(HashMap.java:676)
        at java.util.HashMap.addEntry(HashMap.java:1049)
        at java.util.HashMap.put(HashMap.java:561)
        at org.apache.jetspeed.components.portletentity.PortletEntityImpl.getPreferenceSet(PortletEntityImpl.java:154)
        at org.apache.jetspeed.components.portletentity.PortletEntityImpl.getPreferenceSet(PortletEntityImpl.java:139)
        at org.apache.pluto.core.impl.PortletPreferencesImpl.<init>(PortletPreferencesImpl.java:72)
        at org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl.getPortletPreferences(PortletPreferencesFactoryImpl.java:39)
        at org.apache.pluto.factory.PortletObjectAccess.getPortletPreferences(PortletObjectAccess.java:127)
        at org.apache.pluto.core.impl.RenderRequestImpl.getPreferences(RenderRequestImpl.java:74)
        at com.onehippo.jetspeed.portlets.FileContentPortlet.doView(FileContentPortlet.java:32)


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


[jira] Resolved: (JS2-967) Preferences Concurrent Modification Exception

Posted by "Randy Watler (JIRA)" <je...@portals.apache.org>.
     [ https://issues.apache.org/jira/browse/JS2-967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randy Watler resolved JS2-967.
------------------------------

    Resolution: Fixed

Synchronized access to map of user preferences.

svn commit: 765873

> Preferences Concurrent Modification Exception
> ---------------------------------------------
>
>                 Key: JS2-967
>                 URL: https://issues.apache.org/jira/browse/JS2-967
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Portlet Entities and Preferences
>    Affects Versions: 2.1.3
>         Environment: Jetspeed-2 Performance Test Portal
> Websphere/WAS
> Oracle
> Linux 4-way Server
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>            Priority: Minor
>             Fix For: 2.1.4
>
>
> The following stack trace occurs multiple times, (~5), during long running load tests:
> [4/14/09 11:36:05:492 PDT] 00000862 WebApp        A   SRVE0181I: [j2pt#j2pt-app.war] [/j2pt-app] [Servlet.LOG]: JetspeedContaine
> rServlet: Error rendering portlet "j2pt-app::PrefsFileContentLarge": java.util.ConcurrentModificationException: concurrent acces
> s to HashMap attempted by Thread[WebContainer : 2111,5,main]: java.util.ConcurrentModificationException: concurrent access to Ha
> shMap attempted by Thread[WebContainer : 2111,5,main]
>         at java.util.HashMap.onExit(HashMap.java:226)
>         at java.util.HashMap.transfer(HashMap.java:690)
>         at java.util.HashMap.resize(HashMap.java:676)
>         at java.util.HashMap.addEntry(HashMap.java:1049)
>         at java.util.HashMap.put(HashMap.java:561)
>         at org.apache.jetspeed.components.portletentity.PortletEntityImpl.getPreferenceSet(PortletEntityImpl.java:154)
>         at org.apache.jetspeed.components.portletentity.PortletEntityImpl.getPreferenceSet(PortletEntityImpl.java:139)
>         at org.apache.pluto.core.impl.PortletPreferencesImpl.<init>(PortletPreferencesImpl.java:72)
>         at org.apache.pluto.factory.impl.PortletPreferencesFactoryImpl.getPortletPreferences(PortletPreferencesFactoryImpl.java:39)
>         at org.apache.pluto.factory.PortletObjectAccess.getPortletPreferences(PortletObjectAccess.java:127)
>         at org.apache.pluto.core.impl.RenderRequestImpl.getPreferences(RenderRequestImpl.java:74)
>         at com.onehippo.jetspeed.portlets.FileContentPortlet.doView(FileContentPortlet.java:32)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org