10 Replies Latest reply on Nov 29, 2010 6:40 AM by Dhanya Sreejith

    How to get the User information in GateIn portlet

    Dhanya Sreejith Newbie

      I've a portlet class which extends GenericFacesPortlet. I want to retrieve the User information in my class. As mentioned in GateIn Reference guide, I've tried :

       

      PortalRequestContext context = Util.getPortalRequestContext();
      String userId = context.getRemoteUser();
      OrganizationService orgService = (OrganizationService)ExoContainerContext.getCurrentContainer().getComponentInstanceOfType(OrganizationService.class) ;
      if (userId != null)  {
             User user = null;
              try {
                      user = orgService.getUserHandler().findUserByName(userId);
              } catch (Exception e) {
                      e.printStackTrace();
              }
            System.out.println(user.getFirstName());

      }

       

      But I'm getting null at Util.getPortalRequestContext();

       

      Jar files used :

           exo.core.component.organization.api-2.3.2-GA.jar

           exo.kernel.container-2.2.2-GA.jar

           exo.portal.component.web-3.1.0-GA.jar

           exo.portal.webui.core-3.1.0-GA.jar

           exo.portal.webui.portal-3.1.0-GA.jar

       

      Is there any other configuration I need to do ?

       

      Anybody plz help me.... thnx in advance........

        • 1. Re: How to get the User information in GateIn portlet
          Trong Tran Master

          As i see what you want is just to retrieve the userId, right ?

           

          If so, why don't you use getRemoteUser() from the javax.portlet.PortletRequest ?

          • 2. Re: How to get the User information in GateIn portlet
            Dhanya Sreejith Newbie

            I need to get UserModule, RoleModule, MembershipModule & UserProfileModule.

            • 3. Re: How to get the User information in GateIn portlet
              Trong Tran Master

              I meant if you want to retrieve userId, you could use javax.portlet.PortletRequest#getRemoteUser() instead of following :

              PortalRequestContext context = Util.getPortalRequestContext();
              String userId = context.getRemoteUser();

              Then to retrieve more information of the user, of course you could use OrganizationService like you did

              • 4. Re: How to get the User information in GateIn portlet
                Dhanya Sreejith Newbie

                hiii Trong... thnx for ur help..... but still I encounter some problems... I'm unable to get 'OrganizationService'......On using, ExoContainerContext.getCurrentContainer(), I'm getting Linkage Error... Is there any configuration which I need to do ?????

                • 5. Re: How to get the User information in GateIn portlet
                  Trong Tran Master

                  Could you give more information about the error that you are having ? like the error trace in log v.v..

                   

                  Moreover, it's easier for me if you can provide simple code of your portlet ( include completely configuration files like web.xml, portlet.xml, faces-config.xml v.v.. )

                  • 6. Re: How to get the User information in GateIn portlet
                    Dhanya Sreejith Newbie

                    hiii Trong...... I'll provide the details......

                     

                     

                     


                    faces-config.xml

                     

                    ---------------------------

                     


                    I've added...

                     


                    <application>
                          <view-handler>org.jboss.portletbridge.application.PortletViewHandler</view-handler>
                          <state-manager>org.jboss.portletbridge.application.PortletStateManager</state-manager>

                     

                    </application>

                     

                     

                     

                    web.xml

                     

                    ------------

                     


                    commented :

                     

                    <context-param>
                            <param-name>
                                org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL
                            </param-name>
                            <param-value>true</param-value>
                        </context-param>

                     

                    which I used earlier while deploying my application in JBoss portal.

                     


                    Added :

                     


                    <servlet-mapping>
                          <servlet-name>FacesServlet</servlet-name>
                          <url-pattern>/faces/*</url-pattern>
                    </servlet-mapping>

                     

                     

                     

                    portlet.xml

                     

                    ----------------

                     


                    <portlet>
                             <description>Customer Portlet</description>
                          <portlet-name>Customer Portlet</portlet-name>
                          <display-name>Customer Portlet</display-name>
                          <portlet-class>javax.portlet.faces.GenericFacesPortlet</portlet-class>
                          <supports>
                             <mime-type>text/html</mime-type>
                             <portlet-mode>VIEW</portlet-mode>       
                          </supports>
                          <portlet-info>
                             <title>Customer</title>
                             <short-title>Customer Portlet</short-title>
                             <keywords>JSF, Portlet</keywords>
                          </portlet-info>
                        
                          <init-param>
                             <name>javax.portlet.faces.defaultViewId.view</name>
                             <value>/views/customer/viewCustomer.jsp</value>
                          </init-param>
                           <init-param>
                             <name>javax.portlet.faces.preserveActionParams</name>
                             <value>true</value>
                          </init-param>
                          <init-param>
                                <name>Administrator</name>
                                <value>true</value>
                          </init-param>
                          <expiration-cache>-1</expiration-cache>
                       </portlet>

                     

                     

                     


                    I'm using portletbridge-api-2.0.0.FINAL.jar  & portletbridge-impl-2.0.0.FINAL.jar.   My JSF version is JSF 1.2.  I've written a class which extends GenericFacesPortlet....My class is defined below :

                     


                    public class GateInPortlet extends GenericFacesPortlet{

                     


                        public void init() throws PortletException{ 
                           
                            super.init();
                        }
                       

                      
                        @Override
                        protected void doView(RenderRequest request, RenderResponse response)throws PortletException, IOException {

                     

                          
                            String userId = request.getRemoteUser();      

                     

                            OrganizationService orgService = (OrganizationService)PortalContainer.getInstance().getComponentInstanceOfType(OrganizationService.class);

                     


                            if (userId != null)
                            {
                                User user = null;
                                try {
                                    user = orgService.getUserHandler().findUserByName(userId);
                                } catch (Exception e) {
                                    e.printStackTrace();
                                }
                             }
                        }
                    }

                     

                     

                     

                    As mentioned in the gateIn Reference Guide there r 3 ways by which we can get OrganizationService. On using PortalContainer.getInstance()  &  also
                    ExoContainerContext.getCurrentContainer() I'm getting Linkage Error on watching the expression for first time. After that I'm getting NoClassDefFoundError.

                     

                    In the above code I've used PortalContainer.getInstance()

                     


                    Jar files used :
                    --------------

                     

                    exo.core.component.organization.api-2.3.2-GA.jar
                    exo.kernel.container-2.2.2-GA.jar
                    exo.portal.component.web-3.1.0-GA.jar
                    exo.portal.webui.core-3.1.0-GA.jar
                    exo.portal.webui.portal-3.1.0-GA.jar
                    exoplatform.container-1.0.jar

                     

                     

                     

                    StackTrace :
                    -----------

                     

                    14:59:04,296 ERROR [STDERR]    java.lang.NoClassDefFoundError: Could not initialize class org.exoplatform.container.PortalContainer
                    14:59:04,296 ERROR [STDERR]     at java.lang.Class.forName0(Native Method)
                    14:59:04,296 ERROR [STDERR]     at java.lang.Class.forName(Class.java:247)
                    14:59:04,296 ERROR [STDERR]     at com.radiant.cisms.view.util.GateInPortlet.doView(GateInPortlet.java:71)
                    14:59:04,296 ERROR [STDERR]     at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
                    14:59:04,296 ERROR [STDERR]     at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:457)
                    14:59:04,296 ERROR [STDERR]     at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
                    14:59:04,296 ERROR [STDERR]     at com.radiant.cisms.view.util.GateInPortlet.render(GateInPortlet.java:55)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor460.invoke(Unknown Source)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
                    14:59:04,296 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
                    14:59:04,296 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:198)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:117)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:231)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:152)
                    14:59:04,296 ERROR [STDERR]     at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:177)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:903)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UIPage.run(UIPage.gtmpl:8)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:44)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UIPageBody.run(UIPageBody.gtmpl:35)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.page.UIPageBody.processRender(UIPageBody.java:171)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UIPortal.run(UIPortal.gtmpl:18)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:41)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:30)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UISiteBody.run(UISiteBody.gtmpl:31)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UIContainer.run(UIContainer.gtmpl:49)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:105)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:96)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UIWorkingWorkspace.run(UIWorkingWorkspace.gtmpl:12)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:104)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    14:59:04,296 ERROR [STDERR]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    14:59:04,296 ERROR [STDERR]     at java.lang.reflect.Method.invoke(Method.java:597)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                    14:59:04,296 ERROR [STDERR]     at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                    14:59:04,296 ERROR [STDERR]     at UIPortalApplicationChildren.run(UIPortalApplicationChildren.gtmpl:25)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:133)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:95)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:37)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:572)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:111)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.WebAppController.service(WebAppController.java:143)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.portal.application.PortalController.onService(PortalController.java:127)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.container.web.AbstractHttpServlet.service(AbstractHttpServlet.java:116)
                    14:59:04,296 ERROR [STDERR]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.CacheUserProfileFilter.doFilter(CacheUserProfileFilter.java:72)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.services.security.web.SetCurrentIdentityFilter.doFilter(SetCurrentIdentityFilter.java:76)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:112)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.sample.ext.web.SampleFilter.doFilter(SampleFilter.java:46)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.filter.ExtensibleFilter$ExtensibleFilterChain.doFilter(ExtensibleFilter.java:108)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.filter.ExtensibleFilter.doFilter(ExtensibleFilter.java:84)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.filter.GenericFilter.doFilter(GenericFilter.java:66)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.exoplatform.web.login.ClusteredSSOFilter.doFilter(ClusteredSSOFilter.java:73)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
                    14:59:04,296 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)
                    14:59:04,296 ERROR [STDERR]     at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
                    14:59:04,296 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
                    14:59:04,296 ERROR [STDERR]     at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
                    14:59:04,296 ERROR [STDERR]     at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
                    14:59:04,296 ERROR [STDERR]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
                    14:59:04,296 ERROR [STDERR]     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
                    14:59:04,296 ERROR [STDERR]     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
                    14:59:04,296 ERROR [STDERR]     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
                    14:59:04,296 ERROR [STDERR]     at java.lang.Thread.run(Thread.java:619)
                    14:59:12,078 ERROR [portal:UIPortletLifecycle] Portlet render threw an exception
                    org.exoplatform.services.portletcontainer.PortletContainerException: Could not initialize class org.exoplatform.container.PortalContainer
                        at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:285)
                        at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:62)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                        at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UIPage.run(UIPage.gtmpl:8)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                        at org.exoplatform.portal.webui.page.UIPageLifecycle.processRender(UIPageLifecycle.java:44)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UIPageBody.run(UIPageBody.gtmpl:35)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.portal.webui.page.UIPageBody.processRender(UIPageBody.java:171)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                        at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UIPortal.run(UIPortal.gtmpl:18)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                        at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:41)
                        at org.exoplatform.portal.webui.portal.UIPortalLifecycle.processRender(UIPortalLifecycle.java:30)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIComponentDecorator.renderChildren(UIComponentDecorator.java:93)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UISiteBody.run(UISiteBody.gtmpl:31)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                        at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UIContainer.run(UIContainer.gtmpl:49)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:105)
                        at org.exoplatform.webui.core.UIComponentDecorator$UIComponentDecoratorLifecycle.processRender(UIComponentDecorator.java:96)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                        at sun.reflect.GeneratedMethodAccessor466.invoke(Unknown Source)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UIWorkingWorkspace.run(UIWorkingWorkspace.gtmpl:12)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.processRender(Lifecycle.java:85)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:368)
                        at org.exoplatform.webui.core.UIContainer.renderChildren(UIContainer.java:358)
                        at org.exoplatform.webui.core.UIApplication.renderChildren(UIApplication.java:104)
                        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                        at java.lang.reflect.Method.invoke(Method.java:597)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:229)
                        at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:52)
                        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:121)
                        at UIPortalApplicationChildren.run(UIPortalApplicationChildren.gtmpl:25)
                        at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:95)
                        at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:112)
                        at org.exoplatform.groovyscript.text.TemplateService.merge(TemplateService.java:116)
                        at org.exoplatform.webui.core.lifecycle.Lifecycle.renderTemplate(Lifecycle.java:132)
                        at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:133)
                        at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:95)
                        at org.exoplatform.portal.webui.workspace.UIPortalApplicationLifecycle.processRender(UIPortalApplicationLifecycle.java:37)
                        at org.exoplatform.webui.core.UIComponent.processRender(UIComponent.java:148)
                        at org.exoplatform.portal.webui.workspace.UIPortalApplication.processRender(UIPortalApplication.java:572)
                        at org.exoplatform.portal.application.PortalRequestHandler.execute(PortalRequestHandler.java:111)
                        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.frameworks.jcr.web.ThreadLocalSessionProviderInitializedFilter.doFilter(ThreadLocalSessionProviderInitializedFilter.java:116)
                        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.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)

                     

                     

                     

                    Is there any jar file that I'm missing......

                    • 7. Re: How to get the User information in GateIn portlet
                      Trong Tran Master

                      Pls  check if there is any exo.* jar files in the lib folder of your portlet war. If yes, it may be the cause of the problem

                      • 8. Re: How to get the User information in GateIn portlet
                        Dhanya Sreejith Newbie

                        thnx a lot Trong.... The issue has been rectified....... could u plz help me with another issue.....I'm unbale to retrieve the form values as a random string preceeds the  form name. (something like _G7idhkasd897_jdhg67 followed by a colon ,  then the original form name).  I'm using FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap()  to retrieve the request parameters in my back-end bean. Is there any method to handle this ??? (Suppose the form name is abc & I want to retrieve the value of a text box with id abc1. Earlier I used FacesContext.getCurrentInstance().getExternalContext().getRequestParameterMap().get('abc:abc1') to retrieve the value of the text box in my back-end bean. But now I cannot get the value by using the same code as that random string preceeds the form name).

                        • 9. Re: How to get the User information in GateIn portlet
                          Trong Tran Master

                          Hi Dhanya,

                           

                          I'm not really familiar with JSF and PortletBridge, so i'm afraid that i can not help.

                           

                          BTW i suggest you to open a new dedicated discussion for the new issue, so JSF masters can be easier to get the context of your problem ( without reading all posts in this thread ) and give correct answers

                           

                          Hope your problem will be solved soon

                           

                          Thanks