3 Replies Latest reply on May 26, 2010 2:39 AM by Trong Tran

    How to create a UI portlet with groovy templates?

    Jason Jia Newbie

      I created a portlet named UIAddressBookPortlet which is extend UIPortletApplication. The portlet’s lifecycle is UIFormLifecycle.  Then it ran well.

       

      But when I clicked delete icon to try to delete one record. It didn’t work and made some errors.

       

      17:36:28,453 ERROR [portal:UIPortletLifecycle] Error processing the action: Portlet AddressBooks is not started
      java.lang.IllegalStateException: Portlet AddressBooks is not started
      at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.getInfo(PortletContainerImpl.java:186)
      at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.getInfo(PortletContainerImpl.java:96)
      at org.gatein.pc.portlet.container.ContainerPortletInvoker$PortletImpl.getInfo(ContainerPortletInvoker.java:220)
      at org.gatein.pc.federation.impl.FederatedPortlet.getInfo(FederatedPortlet.java:77)
      at org.exoplatform.portal.webui.application.UIPortlet.supportsPublicParam(UIPortlet.java:559)
      at org.exoplatform.portal.webui.application.UIPortletActionListener.setupPublicRenderParams(UIPortletActionListener.java:665)
      at org.exoplatform.portal.webui.application.UIPortletActionListener$ProcessActionActionListener.execute(UIPortletActionListener.java:95)
      at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
      at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:126)
      at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:61)
      at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:73)
      at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processAction(UIPortalApplicationLifecycle.java:37)
      at org.exoplatform.webui.core.UIComponent.processAction(UIComponent.java:137)
      at org.exoplatform.webui.core.UIApplication.processAction(UIApplication.java:115)
      at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:105)
      at org.exoplatform.web.WebAppController.service(WebAppController.java:143)
      at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
      at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:116)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:68)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
      at org.exoplatform.sample.ext.web.SampleFilter.doFilter(SampleFilter.java:46)
      at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:108)
      at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
      at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:92)
      at org.exoplatform.web.login.RememberMeFilter.doFilter(RememberMeFilter.java:53)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
      at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
      at java.lang.Thread.run(Unknown Source)