2 Replies Latest reply on Mar 29, 2010 10:14 AM by Thang Phan

    Error HibernateFilter in JSF Portlet!

    Thang Phan Apprentice

      Hello everybody!
      I'm a developer!
      I have got a  error about use HibernateFilter in JSF Portlet!

      I could not map database to table with Hibernate.

      My error is :

       

      Caused by: java.lang.ClassCastException:  org.jboss.tm.usertx.client.ServerVMClientUserTransaction cannot be cast  to javax.transaction.UserTransaction
          at  org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:79)
           at  org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
           at  org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
           at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
          at  org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:138)
           at org.jboss.seam.Component.callComponentMethod(Component.java:2201)
           at org.jboss.seam.Component.unwrap(Component.java:2227)
          at  org.jboss.seam.Component.getInstance(Component.java:1994)
          at  org.jboss.seam.Component.getInstance(Component.java:1957)
          at  org.jboss.seam.Component.getInstance(Component.java:1951)
          at  org.jboss.seam.Component.getInstance(Component.java:1924)
          at  org.jboss.seam.Component.getInstance(Component.java:1919)
          at  org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
           at  org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:611)
           ... 205 more
      04:29:13,234 ERROR [SeamPhaseListener] swallowing  exception
      java.lang.IllegalStateException: Could not commit  transaction
          at  org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:626)
           at  org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:605)
           at  org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:343)
           at  org.jboss.seam.jsf.SeamPhaseListener.afterPortletPhase(SeamPhaseListener.java:275)
           at  org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:190)
           at com.sun.faces.lifecycle.Phase.handleAfterPhase(Phase.java:175)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:114)
          at  com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           at  org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:847)
           at  org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:350)
           at  javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:323)
           at  org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557)
           at  org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
           at  org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
           at  org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)
           at  org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
           at  org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
           at  org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
           at  org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
           at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130)
           at  org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:161)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           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:654)
           at  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
           at  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
           at  org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79)
           at  org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
           at  org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
           at  org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)
           at  org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
           at  org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145)
           at  org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:149)
           at  org.jboss.portal.core.model.instance.InstanceInvoker.invoke(InstanceInvoker.java:42)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:93)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
           at  org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
           at  org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.internalInvoke(ControllerPortletControllerContext.java:255)
           at  org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.invoke(ControllerPortletControllerContext.java:208)
           at  org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:332)
           at  org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:58)
           at  org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:64)
           at  org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:179)
           at  org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:183)
           at  org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
           at  org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
           at  org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
           at  org.jboss.portal.core.controller.Controller.processCommand(Controller.java:279)
           at  org.jboss.portal.core.controller.Controller.handle(Controller.java:261)
           at  org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
           at  org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at  org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at  org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
           at  org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
           at  org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           at  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           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:230)
           at  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at  org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
           at  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at  org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           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:157)
           at  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Unknown Source)
      Caused by:  java.lang.ClassCastException:  org.jboss.tm.usertx.client.ServerVMClientUserTransaction cannot be cast  to javax.transaction.UserTransaction
          at  org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:79)
           at  org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
           at  org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
           at sun.reflect.GeneratedMethodAccessor439.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
          at  org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:138)
           at org.jboss.seam.Component.callComponentMethod(Component.java:2201)
           at org.jboss.seam.Component.unwrap(Component.java:2227)
          at  org.jboss.seam.Component.getInstance(Component.java:1994)
          at  org.jboss.seam.Component.getInstance(Component.java:1957)
          at  org.jboss.seam.Component.getInstance(Component.java:1951)
          at  org.jboss.seam.Component.getInstance(Component.java:1924)
          at  org.jboss.seam.Component.getInstance(Component.java:1919)
          at  org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
           at  org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:611)
           ... 205 more
      04:29:13,234 ERROR  [javax_portlet_faces_GenericFacesPortlet] The portlet threw an exception
      javax.portlet.PortletException:  Error process faces request
          at  javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:326)
           at  org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557)
           at  org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
           at  org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
           at  org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)
           at  org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
           at  org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
           at  org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
           at  org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
           at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130)
           at  org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:161)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           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:654)
           at  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
           at  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
           at  org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79)
           at  org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
           at  org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
           at  org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)
           at  org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
           at  org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145)
           at  org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:149)
           at  org.jboss.portal.core.model.instance.InstanceInvoker.invoke(InstanceInvoker.java:42)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:93)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
           at  org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
           at  org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.internalInvoke(ControllerPortletControllerContext.java:255)
           at  org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.invoke(ControllerPortletControllerContext.java:208)
           at  org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:332)
           at  org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:58)
           at  org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:64)
           at  org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:179)
           at  org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:183)
           at  org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
           at  org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
           at  org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
           at  org.jboss.portal.core.controller.Controller.processCommand(Controller.java:279)
           at  org.jboss.portal.core.controller.Controller.handle(Controller.java:261)
           at  org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
           at  org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at  org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at  org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
           at  org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
           at  org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           at  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           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:230)
           at  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at  org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
           at  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at  org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           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:157)
           at  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Unknown Source)
      Caused by:  javax.portlet.faces.BridgeException: Error processing render lifecycle
           at  org.jboss.portletbridge.ExceptionHandlerImpl.processActionException(ExceptionHandlerImpl.java:63)
           at  org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:390)
           at  javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:323)
           ... 195 more
      Caused by: javax.faces.FacesException:  #{userBean.save}: org.hibernate.HibernateException: createQuery is not  valid without active transaction
          at  com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:90)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          at  com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           at  org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:847)
           at  org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:350)
           ... 196 more
      Caused by: javax.faces.FacesException:  #{userBean.save}: org.hibernate.HibernateException: createQuery is not  valid without active transaction
          at  com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
           at javax.faces.component.UICommand.broadcast(UICommand.java:387)
           at  org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
           at  org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
           at  org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
           at  org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
           at  com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           ... 200 more
      Caused by: javax.faces.el.EvaluationException:  org.hibernate.HibernateException: createQuery is not valid without  active transaction
          at  javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
           at  com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
           ... 206 more
      Caused by: org.hibernate.HibernateException:  createQuery is not valid without active transaction
          at  org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:297)
           at $Proxy333.createQuery(Unknown Source)
          at  dao.hibernate.HibernateDAOFactory$UserDAOFactory.checkExistUser(HibernateDAOFactory.java:44)
           at dao.bean.UserBean.save(UserBean.java:63)
          at  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at  sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at  sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
           at  org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
           at  org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
           at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
          at  org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
           at  com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
           at  javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
           ... 207 more
      04:29:13,250 ERROR [DefaultPortalControlPolicy]  Rendering portlet window  produced an error
      javax.portlet.PortletException:  Error process faces request
          at  javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:326)
           at  org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557)
           at  org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109)
           at  org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72)
           at  org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505)
           at  org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:97)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
           at  org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
           at  org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N6922078035659651697.invokeNext(TransactionInterceptor$invokeNotSupported_N6922078035659651697.java)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
           at  org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:58)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123)
           at  org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74)
           at sun.reflect.GeneratedMethodAccessor349.invoke(Unknown Source)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130)
           at  org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:161)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           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:654)
           at  org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557)
           at  org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481)
           at  org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79)
           at  org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50)
           at  org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66)
           at  org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190)
           at  org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69)
           at  org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java)
           at  org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java)
           at  org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145)
           at  org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:149)
           at  org.jboss.portal.core.model.instance.InstanceInvoker.invoke(InstanceInvoker.java:42)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:93)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93)
           at  org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82)
           at  org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126)
           at  org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java)
           at  org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java)
           at  org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231)
           at  org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.internalInvoke(ControllerPortletControllerContext.java:255)
           at  org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.invoke(ControllerPortletControllerContext.java:208)
           at  org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:332)
           at  org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:58)
           at  org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:64)
           at  org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:179)
           at  org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:183)
           at  org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
           at  org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50)
           at  org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
           at  org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134)
           at  org.jboss.portal.core.controller.Controller.processCommand(Controller.java:279)
           at  org.jboss.portal.core.controller.Controller.handle(Controller.java:261)
           at  org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
           at  org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at  org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
           at  org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
           at  org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
           at  org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69)
           at  org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130)
           at  org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
           at  org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
           at  org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
           at  org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
           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:230)
           at  org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
           at  org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
           at  org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
           at  org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
           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:157)
           at  org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
           at  org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
           at  org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
           at  org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
           at  org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
           at java.lang.Thread.run(Unknown Source)
      Caused by:  javax.portlet.faces.BridgeException: Error processing render lifecycle
           at  org.jboss.portletbridge.ExceptionHandlerImpl.processActionException(ExceptionHandlerImpl.java:63)
           at  org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:390)
           at  javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:323)
           ... 195 more
      Caused by: javax.faces.FacesException:  #{userBean.save}: org.hibernate.HibernateException: createQuery is not  valid without active transaction
          at  com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:90)
           at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
          at  com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
           at  org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:847)
           at  org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:350)
           ... 196 more
      Caused by: javax.faces.FacesException:  #{userBean.save}: org.hibernate.HibernateException: createQuery is not  valid without active transaction
          at  com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
           at javax.faces.component.UICommand.broadcast(UICommand.java:387)
           at  org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:324)
           at  org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:299)
           at  org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:256)
           at  org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:469)
           at  com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82)
           ... 200 more
      Caused by: javax.faces.el.EvaluationException:  org.hibernate.HibernateException: createQuery is not valid without  active transaction
          at  javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102)
           at  com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
           ... 206 more
      Caused by: org.hibernate.HibernateException:  createQuery is not valid without active transaction
          at  org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:297)
           at $Proxy333.createQuery(Unknown Source)
          at  dao.hibernate.HibernateDAOFactory$UserDAOFactory.checkExistUser(HibernateDAOFactory.java:44)
           at dao.bean.UserBean.save(UserBean.java:63)
          at  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at  sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
          at  sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
           at java.lang.reflect.Method.invoke(Unknown Source)
          at  org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:329)
           at  org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:342)
           at  org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
           at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
          at  org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
           at  com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
           at  javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:88)
           ... 207 more

       

      Can  you fix my error?

      Thank you very much!

        • 1. Re: Error HibernateFilter in JSF Portlet!
          Adam Warski Master

          Try the Hibernate-core forum.

           

          Adam

          • 2. Re: Error HibernateFilter in JSF Portlet!
            Thang Phan Apprentice

            Yes!

            I have tested the Hibernate-code in tomcat.

            It run very good.But when I tested in JBoss, It had thrown a error message:

            Caused by: javax.faces.el.EvaluationException:   org.hibernate.HibernateException: createQuery is not valid without   active transaction.

            That mean is:

             

            I could not open a transaction when i called a action!

            But when I run in Tomcat, It run very well. When I used hibernatefilter and when I created a query, with Tomcat, I did not need call the method

            beginTransaction();.But when I used JBoss, in a action I had to call the method beginTransaction();.

            Can anyone help me fix that problem?

            Thank you very much!

             

            Thang Phan!