0 Replies Latest reply on Dec 14, 2005 12:29 AM by Mohammed Ammar Bayrakdar

    Role Portlet

    Mohammed Ammar Bayrakdar Newbie

      Hello All,

      I am currently using JBoss 4.0.3(SP1) along with JBoss Portal 2.2.

      I am trying to import into the Portal the Role Portlet. When I import the portlet and run the JBoss server the portlet appears but the problem rises when I try to add, edit, and delete roles. I get a hiberate exception.


      Here is a stack trace of the exception:

      ERROR [RoleModuleImpl] Cannot count roles org.hibernate.QueryException: could not resolve property: ID of: org.jboss.portal.core.impl.role.RoleImpl [select count(
      g.ID) from org.jboss.portal.core.impl.role.RoleImpl as g]
      at org.hibernate.persister.entity.AbstractPropertyMapping.throwPropertyException(AbstractPropertyMapping.java:43
      )
      at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:37)
      at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1264)
      at org.hibernate.hql.ast.tree.FromElementType.getPropertyType(FromElementType.java:278)
      at org.hibernate.hql.ast.tree.FromElement.getPropertyType(FromElement.java:372)
      at org.hibernate.hql.ast.tree.DotNode.getDataType(DotNode.java:528)
      at org.hibernate.hql.ast.tree.DotNode.prepareLhs(DotNode.java:221)
      at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:172)
      at org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:94)
      at org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:90)
      at org.hibernate.hql.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:626)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1215)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.aggregateExpr(HqlSqlBaseWalker.java:2883)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.count(HqlSqlBaseWalker.java:2477)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectExpr(HqlSqlBaseWalker.java:1967)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectExprList(HqlSqlBaseWalker.java:1821)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectClause(HqlSqlBaseWalker.java:1392)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:553)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
      at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
      at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:216)
      at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:156)
      at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:103)
      at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:473)
      at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1060)
      at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1010)
      at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
      at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:650)
      at org.jboss.portal.core.impl.role.RoleModuleImpl.getRolesCount(RoleModuleImpl.java:332)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy115.getRolesCount(Unknown Source)
      at org.jboss.portal.core.portlet.role.RolePortlet.getNbRolesString(RolePortlet.java:651)
      at org.jboss.portal.core.portlet.role.RolePortlet.doView(RolePortlet.java:144)
      at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:217)
      at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204)
      at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347)
      at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:499)
      at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:416)
      at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:59)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:37)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:63)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:154)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:38)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:32)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchIntercept
      or.java:71)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispa
      tcherInterceptor.java:116)
      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:585)
      at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:234)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor
      .java:60)
      at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:68)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.ja
      va:66)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor
      .java:97)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:36)

      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:
      56)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:51)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:71)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:
      72)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.jav
      a:156)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:55)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
      at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:128)
      at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:218)
      at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:151)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:
      72)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.jav
      a:156)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:45)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:80)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:64)
      at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      at $Proxy122.handle(Unknown Source)
      at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:
      35)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40
      )
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:58)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.jav
      a:74)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)
      08:34:32,553 INFO [STDOUT] org.jboss.portal.core.modules.ModuleException: Cannot count roles
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.core.impl.role.RoleModuleImpl.getRolesCount(RoleModuleImpl.java:338)

      08:34:32,553 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:34:32,553 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:34:32,553 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      08:34:32,553 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInt
      erceptor.java:127)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      08:34:32,553 INFO [STDOUT] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      08:34:32,553 INFO [STDOUT] at $Proxy115.getRolesCount(Unknown Source)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.core.portlet.role.RolePortlet.getNbRolesString(RolePortlet.java:651)

      08:34:32,553 INFO [STDOUT] at org.jboss.portal.core.portlet.role.RolePortlet.doView(RolePortlet.java:144)
      08:34:32,553 INFO [STDOUT] at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:217)
      08:34:32,553 INFO [STDOUT] at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:204)
      08:34:32,553 INFO [STDOUT] at org.jboss.portlet.JBossPortlet.render(JBossPortlet.java:347)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.portlet.PortletContainer.invokeRender(PortletContainer.java:499)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:416)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66)

      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInte
      rceptor.java:59)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.ja
      va:37)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInte
      rceptor.java:63)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.ja
      va:154)
      08:34:32,553 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.ja
      va:38)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStates
      Interceptor.java:32)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(Sess
      ionPostDispatchInterceptor.java:71)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextComm
      and.execute(ContextDispatcherInterceptor.java:116)
      08:34:32,568 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:34:32,568 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:34:32,568 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      08:34:32,568 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88)
      08:34:32,568 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      08:34:32,568 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      08:34:32,568 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
      in.java:252)
      08:34:32,568 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
      173)
      08:34:32,568 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)

      08:34:32,568 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:5
      39)
      08:34:32,568 INFO [STDOUT] at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499
      )
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContex
      t.java:234)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(Cont
      extDispatcherInterceptor.java:60)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:68)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(Context
      DispatcherInterceptor.java:66)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(Sessi
      onPreDispatchInterceptor.java:97)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTra
      ckerInterceptor.java:36)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTr
      ansportInterceptor.java:56)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.j
      ava:51)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:71
      )
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroa
      dcasterInterceptor.java:72)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEn
      forcementInterceptor.java:156)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInter
      ceptor.java:48)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInter
      ceptor.java:55)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:128)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java
      :218)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:151)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroa
      dcasterInterceptor.java:72)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEn
      forcementInterceptor.java:156)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInter
      ceptor.java:48)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInter
      ceptor.java:45)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:80)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:64)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
      08:34:32,568 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      08:34:32,568 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      08:34:32,568 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      08:34:32,568 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:585)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInt
      erceptor.java:127)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      08:34:32,568 INFO [STDOUT] at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      08:34:32,568 INFO [STDOUT] at $Proxy122.handle(Unknown Source)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAsso
      ciationInterceptor.java:35)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssoci
      ationInterceptor.java:40)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInter
      ceptor.java:55)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:
      58)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)

      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionIn
      validatorInterceptor.java:74)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,568 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,584 INFO [STDOUT] at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterce
      ptor.java:62)
      08:34:32,584 INFO [STDOUT] at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      08:34:32,584 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      08:34:32,584 INFO [STDOUT] at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      08:34:32,584 INFO [STDOUT] at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
      08:34:32,584 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
      08:34:32,584 INFO [STDOUT] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
      in.java:252)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
      173)
      08:34:32,584 INFO [STDOUT] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterCha
      in.java:202)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:
      173)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      08:34:32,584 INFO [STDOUT] at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:3
      9)
      08:34:32,584 INFO [STDOUT] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv
      e.java:159)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:407
      )
      08:34:32,584 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      08:34:32,584 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      08:34:32,584 INFO [STDOUT] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      08:34:32,584 INFO [STDOUT] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Htt
      p11Protocol.java:744)
      08:34:32,584 INFO [STDOUT] at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      08:34:32,584 INFO [STDOUT] at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:1
      12)
      08:34:32,584 INFO [STDOUT] at java.lang.Thread.run(Thread.java:595)
      08:34:32,584 INFO [STDOUT] Caused by: org.hibernate.QueryException: could not resolve property: ID of: org.jboss.portal
      .core.impl.role.RoleImpl [select count(g.ID) from org.jboss.portal.core.impl.role.RoleImpl as g]
      08:34:32,584 INFO [STDOUT] at org.hibernate.persister.entity.AbstractPropertyMapping.throwPropertyException(Abstrac
      tPropertyMapping.java:43)
      08:34:32,584 INFO [STDOUT] at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping
      .java:37)
      08:34:32,584 INFO [STDOUT] at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister
      .java:1264)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.FromElementType.getPropertyType(FromElementType.java:278)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.FromElement.getPropertyType(FromElement.java:372)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.DotNode.getDataType(DotNode.java:528)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.DotNode.prepareLhs(DotNode.java:221)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.DotNode.resolve(DotNode.java:172)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:94)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.tree.FromReferenceNode.resolve(FromReferenceNode.java:90)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.HqlSqlWalker.resolve(HqlSqlWalker.java:626)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1215)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.aggregateExpr(HqlSqlBaseWalker.java:2883)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.count(HqlSqlBaseWalker.java:2477)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectExpr(HqlSqlBaseWalker.java:1967)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectExprList(HqlSqlBaseWalker.java:1821)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectClause(HqlSqlBaseWalker.java:1392)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:553)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:216)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:156)
      08:34:32,584 INFO [STDOUT] at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:103)
      08:34:32,584 INFO [STDOUT] at org.hibernate.impl.SessionFactoryImpl.getQuery(SessionFactoryImpl.java:473)
      08:34:32,584 INFO [STDOUT] at org.hibernate.impl.SessionImpl.getQueries(SessionImpl.java:1060)
      08:34:32,584 INFO [STDOUT] at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1010)
      08:34:32,584 INFO [STDOUT] at org.hibernate.impl.QueryImpl.list(QueryImpl.java:74)
      08:34:32,584 INFO [STDOUT] at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:650)
      08:34:32,584 INFO [STDOUT] at org.jboss.portal.core.impl.role.RoleModuleImpl.getRolesCount(RoleModuleImpl.java:332)

      08:34:32,584 INFO [STDOUT] ... 179 more
      08:34:46,094 ERROR [InvokeWindowActionCommand] An portlet exception occured in portlet portal.RolePortlet
      java.lang.ClassCastException: org.jboss.portal.core.aspects.server.UserInterceptor$AuthenticatedUser
      at org.jboss.portlet.JBossActionRequest.getUser(JBossActionRequest.java:62)
      at org.jboss.portlet.JBossActionRequest.getRoleNames(JBossActionRequest.java:76)
      at org.jboss.portlet.JBossActionRequest.hasPermission(JBossActionRequest.java:100)
      at org.jboss.portal.core.portlet.role.RolePortlet.createRole(RolePortlet.java:404)
      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:585)
      at org.jboss.portlet.JBossPortlet.doDispatch(JBossPortlet.java:140)
      at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:96)
      at org.jboss.portlet.JBossPortlet.processAction(JBossPortlet.java:342)
      at org.jboss.portal.portlet.PortletContainer.invokeAction(PortletContainer.java:470)
      at org.jboss.portal.portlet.PortletContainer.dispatch(PortletContainer.java:411)
      at org.jboss.portal.server.app.ComponentInvocation.dispatch(ComponentInvocation.java:66)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.component.TransactionInterceptor.invoke(TransactionInterceptor.java:59)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.component.HeaderInterceptor.invoke(HeaderInterceptor.java:37)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.NavigationInterceptor.invoke(NavigationInterceptor.java:63)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.CacheInterceptor.invoke(CacheInterceptor.java:154)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.ModesInterceptor.invoke(ModesInterceptor.java:38)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:32)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:36)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.SessionPostDispatchInterceptor.invoke(SessionPostDispatchIntercept
      or.java:71)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispa
      tcherInterceptor.java:116)
      at sun.reflect.GeneratedMethodAccessor169.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:585)
      at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:88)
      at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:136)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
      at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
      at org.jboss.portal.server.app.impl.AbstractRequestContext.include(AbstractRequestContext.java:234)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor
      .java:60)
      at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:68)
      at org.jboss.portal.server.aspects.component.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.ja
      va:66)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.SessionPreDispatchInterceptor.invoke(SessionPreDispatchInterceptor
      .java:97)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.component.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:36)

      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:
      56)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.portlet.aspects.component.ValveInterceptor.invoke(ValveInterceptor.java:51)
      at org.jboss.portal.server.app.ComponentInterceptor.invoke(ComponentInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.core.command.InvokeWindowActionCommand.execute(InvokeWindowActionCommand.java:131)
      at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:65)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:
      72)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.jav
      a:156)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:48)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:45)
      at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:94)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:80)
      at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:64)
      at org.jboss.portal.core.CoreController.handle(CoreController.java:177)
      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:585)
      at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
      at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
      at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:273)
      at $Proxy122.handle(Unknown Source)
      at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:63)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:127)
      at org.jboss.portal.core.aspects.server.SubjectAssociationInterceptor.invoke(SubjectAssociationInterceptor.java:
      35)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.PolicyAssociationInterceptor.invoke(PolicyAssociationInterceptor.java:40
      )
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:55)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:58)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:171)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.jav
      a:74)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java:62)
      at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:25)
      at org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:117)
      at org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:162)
      at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:208)
      at org.jboss.portal.server.servlet.PortalServlet.doPost(PortalServlet.java:136)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39)
      at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:159)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)
      at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
      at java.lang.Thread.run(Thread.java:595)