[gatein-issues] [JBoss JIRA] (GTNPORTAL-2487) Caused by: java.lang.IllegalStateException: Portlet is not started after hot redeploy of portlet war

Marko Strukelj (JIRA) jira-events at lists.jboss.org
Wed Aug 22 05:32:14 EDT 2012


    [ https://issues.jboss.org/browse/GTNPORTAL-2487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12712934#comment-12712934 ] 

Marko Strukelj commented on GTNPORTAL-2487:
-------------------------------------------

The main question, as I see it, is - do we commit the patch attached to this issue, or is there a better way to fix it. The patch changes the code that has not changed for a very long time - it bypasses using the cached portlet reference every time, going to the 'source' for an up-to-date reference. 
                
> Caused by: java.lang.IllegalStateException: Portlet is not started after hot redeploy of portlet war
> ----------------------------------------------------------------------------------------------------
>
>                 Key: GTNPORTAL-2487
>                 URL: https://issues.jboss.org/browse/GTNPORTAL-2487
>             Project: GateIn Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: PC integration
>    Affects Versions: 3.3.0.Final
>            Reporter: Chris Laprun
>            Assignee: Marko Strukelj
>            Priority: Critical
>             Fix For: 3.4.0.Final
>
>         Attachments: GTNPORTAL-2487.patch
>
>
> Trying to access a portlet that has already been accessed and which WAR has been hot-redeployed leads to the following exception:
> Caused by: java.lang.IllegalStateException: Portlet AdminMenuPortlet is not started
> 	at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.getInfo(PortletContainerImpl.java:186) [pc-portlet-2.3.2-GA.jar:2.3.2-GA]
> 	at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.getInfo(PortletContainerImpl.java:96) [pc-portlet-2.3.2-GA.jar:2.3.2-GA]
> 	at org.gatein.pc.portlet.container.ContainerPortletInvoker$PortletImpl.getInfo(ContainerPortletInvoker.java:233) [pc-portlet-2.3.2-GA.jar:2.3.2-GA]
> 	at org.gatein.pc.federation.impl.FederatedPortlet.getInfo(FederatedPortlet.java:77) [pc-federation-2.3.2-GA.jar:2.3.2-GA]
> 	at org.exoplatform.portal.webui.application.UIPortlet.processRender(UIPortlet.java:1112) [exo.portal.webui.portal-3.3.0-GA.jar:3.3.0-GA]
> 	at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368) [exo.portal.webui.framework-3.3.0-GA.jar:3.3.0-GA]
> 	at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358) [exo.portal.webui.framework-3.3.0-GA.jar:3.3.0-GA]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list