9 Replies Latest reply on Jun 30, 2010 3:09 PM by Prabhat Jha

    seam portlet trouble

    Sully Zhang Newbie

      gatein 3.1

      portlet bridge 2.0.0CR1 or 2.0.0FINAL

       

      when gatein user add seam portlets on dashboard:

       

      2010-06-16 13:21:05,880 ERROR [http-0.0.0.0-8080-1][portal:UIPortletLifecycle] Error processing the action: Can not find 41fe28cec0a80a2101f8eeab624ac403
      org.exoplatform.portal.config.NoSuchDataException: Can not find 41fe28cec0a80a2101f8eeab624ac403
          at org.exoplatform.portal.pom.config.POMSession.findCustomizationById(POMSession.java:211)
          at org.exoplatform.portal.pom.config.tasks.PreferencesTask$Load.run(PreferencesTask.java:91)
          at org.exoplatform.portal.pom.config.POMSession.execute(POMSession.java:391)
          at org.exoplatform.portal.pom.config.ExecutorDispatcher.execute(ExecutorDispatcher.java:41)
          at org.exoplatform.portal.pom.config.TaskExecutionDecorator.execute(TaskExecutionDecorator.java:38)
          at org.exoplatform.portal.pom.config.cache.DataCache.read(DataCache.java:169)
          at org.exoplatform.portal.pom.config.cache.DataCache.execute(DataCache.java:61)
          at org.exoplatform.portal.pom.config.POMSessionManager.execute(POMSessionManager.java:201)
          at org.exoplatform.portal.pom.config.POMDataStorage.load(POMDataStorage.java:196)
          at org.exoplatform.portal.config.DataStorageImpl.load(DataStorageImpl.java:134)
          at org.exoplatform.portal.webui.application.ModelAdapter$1.getPortletContext(ModelAdapter.java:89)
          at org.exoplatform.portal.webui.application.UIPortlet.getPortletContext(UIPortlet.java:865)
          at org.exoplatform.portal.webui.application.UIPortletActionListener$ChangePortletModeActionListener.execute(UIPortletActionListener.java:783)
          at org.exoplatform.webui.event.Event.broadcast(Event.java:89)
          at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:100)
          at org.exoplatform.portal.webui.application.UIPortletLifecycle.processAction(UIPortletLifecycle.java:62)
          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:107)
          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:72)
          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.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.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:525)
          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(Thread.java:619)
      

       

      portlet.xml like as follows:

       

      <portlet>
            <portlet-name>AssociatesPortlet</portlet-name>
            <portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
            <init-param>
              <name>javax.portlet.faces.defaultViewId.view</name>
              <value>/aaa/aaa.xhtml</value>
            </init-param>
            <init-param>
              <name>javax.portlet.faces.preserveActionParams</name>
              <value>true</value>
            </init-param>
            <expiration-cache>-0</expiration-cache>
            <portlet-info>
              <title>Associates</title>
            </portlet-info>
            <supports>
              <mime-type>text/html</mime-type>
              <portlet-mode>VIEW</portlet-mode>
            </supports>
          </portlet>
      
      

       

      i remember in gatein3.0, portlet bridge 1.0.0CR2, there is no error like that.

       

      Thanks in advance

        • 1. Re: seam portlet trouble
          rafael liu Newbie

          Have you updated your Seam context, or your portlet config? Try importing your Seam portlet again.

          • 2. Re: seam portlet trouble
            Sully Zhang Newbie
            i had update seam to V2.2.0GA, portlet config have no change.
            i simulate in gatein 3.0 and portlet bridge 2.0.0FINAL, it works well.

             

             

             

            i do some other test:
            i download JBossPortletBridge-2.0.0.FINAL.zip, GateIn-3.0.0-FINAL-jbossas.zip and GateIn-3.1.0-CR01-jbossas.zip.
            don't modify any configration files.
            unzip seamIntegration.war from JBossPortletBridge-2.0.0.FINAL.zip.
            put seamIntegration.war to GateIn-3.0.0-FINAL-jbossas and GateIn-3.1.0-CR01-jbossas,  run jbossas.

             

             

             

            operation:
            --click dashboard, create a new portal page;
            --drag two columns container to the portal page, drag seam portlet to two columns container;
            --save;

             

             

             

            result:
            GateIn-3.0.0-FINAL-jbossas     no error
            GateIn-3.1.0-CR01-jbossas       same error: Caused by: org.exoplatform.portal.config.NoSuchDataException: Can not find 47bfbd41c0a80a2101c4282282406c80
            is it a issue?
            Thanks.
            • 3. Re: seam portlet trouble
              Sully Zhang Newbie

              Is anybody has the same question?

              • 4. Re: seam portlet trouble
                Prabhat Jha Master

                Let me try this on our end and will let you know.

                • 5. Re: seam portlet trouble
                  Sully Zhang Newbie

                  why no body help me to solve this issue.

                  wait online....

                  • 6. Re: seam portlet trouble
                    Prabhat Jha Master

                    Jan, one of my team mates, tried following:

                     

                    "

                    - created 3 new dashboard pages as user "John",

                    - Edit page" and inserted seamBookingPortlet, SeamMapPortlet and seamPortlet (from seamIntegration WAR) per every page...

                     

                    Only on page when I inserted seamBookingPortlet I got similar error in log:

                     

                    22:56:40,900 ERROR [portal:UIPortletLifecycle] Error processing the
                    action: Can not find 857f51187f00000177a8c5b0a33bc06e
                    org.exoplatform.portal.config.NoSuchDataException: Can not find
                    857f51187f00000177a8c5b0a33bc06e

                     

                    But portlet is working as expected, and I am able to search hotels, book hotels, and expected welcome message for user John appeared
                    as expected....
                    So, I can say that portlet is working well, only issue is error in log
                    ."

                     

                    Can you upload (full or streamed down version) of your seam portlet?

                    • 7. Re: seam portlet trouble
                      Sully Zhang Newbie

                      my operation:

                       

                      --click dashboard, create a new portal page;
                      --drag two columns container to the portal page first,
                      --drag seam portlet to two columns container;
                      --save;
                      --then maxmize any portlet(or any other operation), popup a error windows.
                      about portlet, just use seamIntegration.war from JBossPortletBridge-2.0.0.FINAL.zip. 
                      that's your own project!
                      Thanks for your help.
                      • 8. Re: seam portlet trouble
                        Sully Zhang Newbie

                        error message in attach file.

                        • 9. Re: seam portlet trouble
                          Prabhat Jha Master

                          I was able to reproduce the problem you are saying but only once when I did the steps you did. Second maximizing ang normalizng the seam portlets did not throw any error. You are more than welcome to create jira at https://jira.jboss.org/browse/GTNPORTAL . Please enter as much details as possible.