3 Replies Latest reply on Dec 15, 2010 2:50 PM by Patrice Lamarque

    MembershipType & Membership in GateIn

    Dhanya Sreejith Newbie

      hiii..... Watz the difference between MembershipType & Membership ?????

        • 2. Re: MembershipType & Membership in GateIn
          Thomas Chacko Newbie

          hii..... I have used

           

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

          LinkedList userGroupList = (LinkedList)orgService.getGroupHandler().findGroupsOfUser(userId);

           

          to retrieve the Groups of User. But I am getting an error.

           

          the stacktrace :

           

           

          [GroupDAOImpl] Identity operation error:
          org.picketlink.idm.common.exception.IdentityException: Cannot find IdentityObjects
          at org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.findIdentityObject(HibernateIdentityStoreImpl.java:915)
          at org.picketlink.idm.impl.repository.WrapperIdentityStoreRepository.findIdentityObject(WrapperIdentityStoreRepository.java:177)
          at org.picketlink.idm.impl.api.session.managers.RelationshipManagerImpl.findRelatedGroups(RelationshipManagerImpl.java:1264)
          at org.picketlink.idm.impl.api.session.managers.RelationshipManagerImpl.findRelatedGroups(RelationshipManagerImpl.java:1308)
          at org.exoplatform.services.organization.idm.GroupDAOImpl.findGroupsOfUser(GroupDAOImpl.java:421)
          at com.radiant.cisms.view.util.GateInPortlet.doView(GateInPortlet.java:67)
          at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
          at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
          at com.radiant.cisms.view.util.GateInPortlet.render(GateInPortlet.java:33)
          at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:569)
          at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:159)
          at org.gatein.pc.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:80)
          at org.gatein.pc.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:506)
          at org.gatein.pc.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:197)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.CCPPInterceptor.invoke(CCPPInterceptor.java:65)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
          at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
          at org.gatein.wci.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:82)
          at sun.reflect.GeneratedMethodAccessor486.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.gatein.wci.command.CommandServlet.doGet(CommandServlet.java:135)
          at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
          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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
          at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
          at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
          at org.gatein.wci.command.CommandServlet.include(CommandServlet.java:84)
          at org.gatein.wci.command.CommandDispatcher.include(CommandDispatcher.java:58)
          at org.gatein.wci.tomcat.TC6ServletContainerContext.include(TC6ServletContainerContext.java:87)
          at org.gatein.wci.impl.DefaultServletContainer.include(DefaultServletContainer.java:198)
          at org.gatein.pc.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
          at org.gatein.pc.portlet.aspects.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.ValveInterceptor.invoke(ValveInterceptor.java:75)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:117)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:231)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.PortletCustomizationInterceptor.invoke(PortletCustomizationInterceptor.java:76)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.portlet.aspects.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:162)
          at org.gatein.pc.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:87)
          at org.gatein.pc.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:152)
          at org.gatein.pc.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:177)
          at org.exoplatform.portal.webui.application.UIPortlet.invoke(UIPortlet.java:903)
          at org.exoplatform.portal.webui.application.UIPortletLifecycle.processRender(UIPortletLifecycle.java:206)
          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.GeneratedMethodAccessor492.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.GeneratedMethodAccessor492.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.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 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.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 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)
          Caused by: java.lang.ClassCastException: org.hibernate.hql.ast.HqlToken cannot be cast to antlr.Token
          at antlr.CharScanner.makeToken(Unknown Source)
          at org.hibernate.hql.ast.HqlLexer.makeToken(HqlLexer.java:62)
          at org.hibernate.hql.antlr.HqlBaseLexer.mIDENT(HqlBaseLexer.java:580)
          at org.hibernate.hql.antlr.HqlBaseLexer.nextToken(HqlBaseLexer.java:264)
          at antlr.TokenBuffer.fill(Unknown Source)
          at antlr.TokenBuffer.LA(Unknown Source)
          at antlr.LLkParser.LA(Unknown Source)
          at org.hibernate.hql.antlr.HqlBaseParser.statement(HqlBaseParser.java:139)
          at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:271)
          at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:180)
          at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134)
          at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:101)
          at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:80)
          at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94)
          at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156)
          at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135)
          at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650)
          at sun.reflect.GeneratedMethodAccessor442.invoke(Unknown Source)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:342)
          at $Proxy408.createQuery(Unknown Source)
          at org.picketlink.idm.impl.store.hibernate.HibernateIdentityStoreImpl.findIdentityObject(HibernateIdentityStoreImpl.java:874)

          • 3. Re: MembershipType & Membership in GateIn
            Patrice Lamarque Novice

            a membership type (MBT)  is a  qualifier for relations between users and groups. For example a user can belong to a group as "member", "admin", "manager, "editor".... whatever makes sense for your business logic.

             

            A membership is the triple that defines a relation : (user, group, membershiptype).

            For example : (john,/platform/users,member)

             

            HTH.