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/05/05 00:02:30 UTC

[jira] Resolved: (JS2-986) PAM NodeManager operation not thread-safe

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

Randy Watler resolved JS2-986.
------------------------------

    Resolution: Fixed

Unable to reproduce issue locally using single or multiple core systems running Tomcat6/JDK6.

Added synchronized protection to PAM NodeManager component to prevent multiple thread access to backing files and/or PA version hash map.

Commit: 771461


> PAM NodeManager operation not thread-safe
> -----------------------------------------
>
>                 Key: JS2-986
>                 URL: https://issues.apache.org/jira/browse/JS2-986
>             Project: Jetspeed 2
>          Issue Type: Bug
>          Components: Deployment
>    Affects Versions: 2.2.0
>         Environment: Demo
> Tomcat 6/JDK6
> Multiprocessor Linux
>            Reporter: Randy Watler
>            Assignee: Randy Watler
>             Fix For: 2.2.0
>
>
> Exceptions received during deployment:
>    java.util.ConcurrentModificationException
>           at java.util.HashMap$HashIterator.nextEntry(HashMap.java:810)
>           at java.util.HashMap$EntryIterator.next(HashMap.java:851)
>           at java.util.HashMap$EntryIterator.next(HashMap.java:849)
>           at java.util.HashMap.writeObject(HashMap.java:1016)
>           at sun.reflect.GeneratedMethodAccessor101.invoke(Unknown Source)
>           at
>    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>           at java.lang.reflect.Method.invoke(Method.java:616)
>           at
>    java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:962)
>           at
>    java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1478)
>           at
>    java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1409)
>           at
>    java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1167)
>           at
>    java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:343)
>           at
>    org.apache.jetspeed.cluster.NodeManagerImpl.save(NodeManagerImpl.java:73)
>           at
>    org.apache.jetspeed.cluster.NodeManagerImpl.addNode(NodeManagerImpl.java:142)
>           at
>    org.apache.jetspeed.tools.pamanager.PortletApplicationManager.registerPortletApplication(PortletApplicationManager.java:388)
>           at
>    org.apache.jetspeed.tools.pamanager.PortletApplicationManager.attemptStartPA(PortletApplicationManager.java:528)
>           at
>    org.apache.jetspeed.tools.pamanager.PortletApplicationManager.tryStartPortletApplication(PortletApplicationManager.java:244)

-- 
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