portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Randy Watler (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Resolved: (JS2-986) PAM NodeManager operation not thread-safe
Date Mon, 04 May 2009 22:02:30 GMT

     [ 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


Mime
View raw message