You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-dev@portals.apache.org by "David DeWolf (JIRA)" <ji...@apache.org> on 2007/03/06 01:35:24 UTC

[jira] Commented: (PLUTO-332) PortletContextManager.remove(InternalPortletContext) fails

    [ https://issues.apache.org/jira/browse/PLUTO-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12478226 ] 

David DeWolf commented on PLUTO-332:
------------------------------------

Since this is on shutdown, I don't consider it a blocker for 1.1.1 and I will leave the vote open.  I will follow up with a 1.1.2 shortly however.

> PortletContextManager.remove(InternalPortletContext) fails
> ----------------------------------------------------------
>
>                 Key: PLUTO-332
>                 URL: https://issues.apache.org/jira/browse/PLUTO-332
>             Project: Pluto
>          Issue Type: Bug
>          Components: portlet container
>    Affects Versions: 1.1.1
>            Reporter: Eric Dalquist
>         Assigned To: David DeWolf
>             Fix For: 1.1.2
>
>
> The destroy() method of the PortletServlet throws an exception when shutting down the container:
> ERROR [ContainerBackgroundProcessor[StandardEngine[Catalina]]] [localhost].[/uP3] Mar/05 14:44:41.832 - Servlet GenericXsltPortlet threw unload() exception
> javax.servlet.ServletException: Servlet.destroy() for servlet GenericXsltPortlet threw exception
> 	at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1339)
> 	at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1654)
> 	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4345)
> 	at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1081)
> 	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187)
> 	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
> 	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> 	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
> 	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
> 	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
> 	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
> 	at java.lang.Thread.run(Thread.java:595)
> Tracing the code execution this is tracked to the PortletContextManager.remove(InternalPortletContext) call in which a Map keySet Iterator is used but remove() is called on the Map. Instead of calling remove() on the Map it should be called on the Iterator in use to prevent the ConcurrentModificationException.

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