emmartins

Untitled

Feb 10th, 2014
35
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. 18:00:31,951 ERROR [org.jboss.as.ejb3.invocation] (default task-7) JBAS014134: EJB Invocation failed on component UserDaoImpl for method public abstract org.jboss.as.quickstarts.tasksJsf.User org.jboss.as.quickstarts.tasksJsf.UserDao.getForUsername(java.lang.String): javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  2. at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:190) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  3. at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  4. at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  5. at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  6. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  7. at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  8. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  9. at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  10. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  11. at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  12. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  13. at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  14. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  15. at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  16. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  17. at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  18. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  19. at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  20. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  21. at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  22. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  23. at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
  24. at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)
  25. at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  26. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  27. at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
  28. at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  29. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  30. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  31. at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
  32. at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
  33. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  34. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  35. at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  36. at org.jboss.as.quickstarts.tasksJsf.UserDao$$$view9.getForUsername(Unknown Source) [classes:]
  37. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  38. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  39. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  40. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  41. at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:401) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  42. at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:99) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  43. at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  44. at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:65) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  45. at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  46. at org.jboss.as.quickstarts.tasksJsf.UserDao$671939963$Proxy$_$$_Weld$EnterpriseProxy$.getForUsername(Unknown Source) [classes:]
  47. at org.jboss.as.quickstarts.tasksJsf.AuthController.authenticate(AuthController.java:88) [classes:]
  48. at org.jboss.as.quickstarts.tasksJsf.AuthController$Proxy$_$$_WeldClientProxy.authenticate(Unknown Source) [classes:]
  49. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  50. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  51. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  52. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  53. at javax.el.ELUtil.invokeMethod(ELUtil.java:326) [javax.el-3.0.0.jar:3.0.0]
  54. at javax.el.BeanELResolver.invoke(BeanELResolver.java:536) [javax.el-3.0.0.jar:3.0.0]
  55. at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256) [javax.el-3.0.0.jar:3.0.0]
  56. at com.sun.el.parser.AstValue.invoke(AstValue.java:269) [javax.el-3.0.0.jar:3.0.0]
  57. at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304) [javax.el-3.0.0.jar:3.0.0]
  58. at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  59. at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  60. at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  61. at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  62. at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.2.5-jbossorg-3.jar:]
  63. at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  64. at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.2.5-jbossorg-3.jar:]
  65. at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  66. at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  67. at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  68. at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.2.5-jbossorg-3.jar:]
  69. at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.5-jbossorg-3.jar:]
  70. at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.5-jbossorg-3.jar:]
  71. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  72. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  73. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  74. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  75. at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  76. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  77. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  78. at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  79. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  80. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  81. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  82. at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  83. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  84. at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  85. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  86. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  87. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:101) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  88. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  89. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  90. at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  91. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  92. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  93. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  94. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
  95. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
  96. at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
  97. Caused by: java.lang.IllegalStateException: EntityManager is closed
  98. at org.hibernate.jpa.internal.EntityManagerImpl.checkOpen(EntityManagerImpl.java:105) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  99. at org.hibernate.jpa.internal.EntityManagerImpl.checkOpen(EntityManagerImpl.java:96) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  100. at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1567) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  101. at org.jboss.as.jpa.transaction.TransactionUtil.registerExtendedUnderlyingWithTransaction(TransactionUtil.java:82) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  102. at org.jboss.as.jpa.container.ExtendedEntityManager.internalAssociateWithJtaTx(ExtendedEntityManager.java:136) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  103. at org.jboss.as.jpa.container.ExtendedEntityManager.getEntityManager(ExtendedEntityManager.java:113) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  104. at org.jboss.as.jpa.container.AbstractEntityManager.createQuery(AbstractEntityManager.java:118) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  105. at org.jboss.as.quickstarts.tasksJsf.UserDaoImpl.getForUsername(UserDaoImpl.java:39) [classes:]
  106. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  107. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  108. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  109. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  110. at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  111. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  112. at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  113. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  114. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  115. at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  116. at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  117. at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  118. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  119. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  120. at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  121. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  122. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  123. at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  124. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  125. at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  126. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  127. at org.jboss.as.jpa.interceptor.SFSBInvocationInterceptor.processInvocation(SFSBInvocationInterceptor.java:57) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  128. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  129. at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:127) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  130. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  131. at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  132. at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  133. at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  134. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  135. at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  136. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  137. at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  138. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  139. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  140. at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
  141. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  142. at org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:66) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  143. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  144. at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  145. ... 93 more
  146.  
  147. 18:00:31,966 WARNING [javax.enterprise.resource.webcontainer.jsf.lifecycle] (default task-7) #{authController.authenticate(username)}: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed: javax.faces.FacesException: #{authController.authenticate(username)}: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  148. at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118) [jsf-impl-2.2.5-jbossorg-3.jar:]
  149. at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  150. at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  151. at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  152. at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.2.5-jbossorg-3.jar:]
  153. at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.5-jbossorg-3.jar:]
  154. at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.5-jbossorg-3.jar:]
  155. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  156. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  157. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  158. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  159. at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  160. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  161. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  162. at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  163. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  164. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  165. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  166. at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  167. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  168. at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  169. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  170. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  171. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:101) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  172. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  173. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  174. at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  175. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  176. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  177. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  178. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
  179. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
  180. at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
  181. Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  182. at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  183. at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.2.5-jbossorg-3.jar:]
  184. ... 32 more
  185. Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  186. at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:190) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  187. at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  188. at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  189. at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  190. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  191. at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  192. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  193. at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  194. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  195. at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  196. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  197. at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  198. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  199. at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  200. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  201. at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  202. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  203. at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  204. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  205. at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  206. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  207. at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
  208. at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)
  209. at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  210. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  211. at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
  212. at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  213. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  214. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  215. at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
  216. at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
  217. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  218. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  219. at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  220. at org.jboss.as.quickstarts.tasksJsf.UserDao$$$view9.getForUsername(Unknown Source) [classes:]
  221. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  222. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  223. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  224. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  225. at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:401) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  226. at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:99) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  227. at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  228. at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:65) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  229. at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  230. at org.jboss.as.quickstarts.tasksJsf.UserDao$671939963$Proxy$_$$_Weld$EnterpriseProxy$.getForUsername(Unknown Source) [classes:]
  231. at org.jboss.as.quickstarts.tasksJsf.AuthController.authenticate(AuthController.java:88) [classes:]
  232. at org.jboss.as.quickstarts.tasksJsf.AuthController$Proxy$_$$_WeldClientProxy.authenticate(Unknown Source) [classes:]
  233. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  234. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  235. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  236. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  237. at javax.el.ELUtil.invokeMethod(ELUtil.java:326) [javax.el-3.0.0.jar:3.0.0]
  238. at javax.el.BeanELResolver.invoke(BeanELResolver.java:536) [javax.el-3.0.0.jar:3.0.0]
  239. at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256) [javax.el-3.0.0.jar:3.0.0]
  240. at com.sun.el.parser.AstValue.invoke(AstValue.java:269) [javax.el-3.0.0.jar:3.0.0]
  241. at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304) [javax.el-3.0.0.jar:3.0.0]
  242. at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  243. at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  244. at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  245. at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  246. at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.2.5-jbossorg-3.jar:]
  247. at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  248. ... 33 more
  249. Caused by: java.lang.IllegalStateException: EntityManager is closed
  250. at org.hibernate.jpa.internal.EntityManagerImpl.checkOpen(EntityManagerImpl.java:105) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  251. at org.hibernate.jpa.internal.EntityManagerImpl.checkOpen(EntityManagerImpl.java:96) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  252. at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1567) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  253. at org.jboss.as.jpa.transaction.TransactionUtil.registerExtendedUnderlyingWithTransaction(TransactionUtil.java:82) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  254. at org.jboss.as.jpa.container.ExtendedEntityManager.internalAssociateWithJtaTx(ExtendedEntityManager.java:136) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  255. at org.jboss.as.jpa.container.ExtendedEntityManager.getEntityManager(ExtendedEntityManager.java:113) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  256. at org.jboss.as.jpa.container.AbstractEntityManager.createQuery(AbstractEntityManager.java:118) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  257. at org.jboss.as.quickstarts.tasksJsf.UserDaoImpl.getForUsername(UserDaoImpl.java:39) [classes:]
  258. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  259. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  260. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  261. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  262. at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  263. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  264. at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  265. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  266. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  267. at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  268. at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  269. at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  270. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  271. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  272. at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  273. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  274. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  275. at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  276. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  277. at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  278. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  279. at org.jboss.as.jpa.interceptor.SFSBInvocationInterceptor.processInvocation(SFSBInvocationInterceptor.java:57) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  280. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  281. at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:127) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  282. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  283. at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  284. at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  285. at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  286. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  287. at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  288. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  289. at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  290. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  291. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  292. at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
  293. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  294. at org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:66) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  295. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  296. at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  297. ... 93 more
  298.  
  299. 18:00:31,978 ERROR [io.undertow.request] (default task-7) UT005023: Exception handling request to /jboss-as-tasks-jsf/index.jsf: javax.servlet.ServletException: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  300. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:659) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  301. at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  302. at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:61) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  303. at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  304. at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
  305. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  306. at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:113) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  307. at io.undertow.security.handlers.AuthenticationCallHandler.handleRequest(AuthenticationCallHandler.java:52) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  308. at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:45) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  309. at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:61) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  310. at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:70) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  311. at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  312. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  313. at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
  314. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  315. at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:25) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  316. at io.undertow.servlet.handlers.SessionRestoringHandler.handleRequest(SessionRestoringHandler.java:101) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  317. at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:240) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  318. at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:227) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  319. at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:73) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  320. at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:146) [undertow-servlet-1.0.0.CR4.jar:1.0.0.CR4]
  321. at io.undertow.server.Connectors.executeRootHandler(Connectors.java:168) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  322. at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:687) [undertow-core-1.0.0.CR4.jar:1.0.0.CR4]
  323. at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_45]
  324. at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_45]
  325. at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_45]
  326. Caused by: javax.faces.el.EvaluationException: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  327. at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:101) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  328. at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) [jsf-impl-2.2.5-jbossorg-3.jar:]
  329. at javax.faces.component.UICommand.broadcast(UICommand.java:315) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  330. at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:790) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  331. at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1282) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  332. at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:81) [jsf-impl-2.2.5-jbossorg-3.jar:]
  333. at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101) [jsf-impl-2.2.5-jbossorg-3.jar:]
  334. at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:198) [jsf-impl-2.2.5-jbossorg-3.jar:]
  335. at javax.faces.webapp.FacesServlet.service(FacesServlet.java:646) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  336. ... 25 more
  337. Caused by: javax.ejb.EJBException: java.lang.IllegalStateException: EntityManager is closed
  338. at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:190) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  339. at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:275) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  340. at org.jboss.as.ejb3.tx.CMTTxInterceptor.required(CMTTxInterceptor.java:340) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  341. at org.jboss.as.ejb3.tx.CMTTxInterceptor.processInvocation(CMTTxInterceptor.java:239) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  342. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  343. at org.jboss.as.ejb3.component.interceptors.CurrentInvocationContextInterceptor.processInvocation(CurrentInvocationContextInterceptor.java:41) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  344. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  345. at org.jboss.as.ejb3.component.invocationmetrics.WaitTimeInterceptor.processInvocation(WaitTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  346. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  347. at org.jboss.as.ejb3.security.SecurityContextInterceptor.processInvocation(SecurityContextInterceptor.java:95) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  348. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  349. at org.jboss.as.ejb3.component.interceptors.ShutDownInterceptorFactory$1.processInvocation(ShutDownInterceptorFactory.java:64) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  350. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  351. at org.jboss.as.ejb3.component.interceptors.LoggingInterceptor.processInvocation(LoggingInterceptor.java:59) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  352. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  353. at org.jboss.as.ee.component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor.java:50)
  354. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  355. at org.jboss.as.ejb3.component.interceptors.AdditionalSetupInterceptor.processInvocation(AdditionalSetupInterceptor.java:55) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  356. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  357. at org.jboss.invocation.ContextClassLoaderInterceptor.processInvocation(ContextClassLoaderInterceptor.java:64)
  358. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  359. at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
  360. at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:448)
  361. at org.jboss.invocation.AccessCheckingInterceptor.processInvocation(AccessCheckingInterceptor.java:61)
  362. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  363. at org.jboss.invocation.InterceptorContext.run(InterceptorContext.java:326)
  364. at org.jboss.invocation.PrivilegedWithCombinerInterceptor.processInvocation(PrivilegedWithCombinerInterceptor.java:80)
  365. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  366. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  367. at org.jboss.as.ee.component.ViewService$View.invoke(ViewService.java:185)
  368. at org.jboss.as.ee.component.ViewDescription$1.processInvocation(ViewDescription.java:182)
  369. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  370. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  371. at org.jboss.as.ee.component.ProxyInvocationHandler.invoke(ProxyInvocationHandler.java:73)
  372. at org.jboss.as.quickstarts.tasksJsf.UserDao$$$view9.getForUsername(Unknown Source) [classes:]
  373. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  374. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  375. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  376. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  377. at org.jboss.weld.util.reflection.Reflections.invokeAndUnwrap(Reflections.java:401) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  378. at org.jboss.weld.bean.proxy.EnterpriseBeanProxyMethodHandler.invoke(EnterpriseBeanProxyMethodHandler.java:99) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  379. at org.jboss.weld.bean.proxy.EnterpriseTargetBeanInstance.invoke(EnterpriseTargetBeanInstance.java:56) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  380. at org.jboss.weld.bean.proxy.InjectionPointPropagatingEnterpriseTargetBeanInstance.invoke(InjectionPointPropagatingEnterpriseTargetBeanInstance.java:65) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  381. at org.jboss.weld.bean.proxy.ProxyMethodHandler.invoke(ProxyMethodHandler.java:100) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  382. at org.jboss.as.quickstarts.tasksJsf.UserDao$671939963$Proxy$_$$_Weld$EnterpriseProxy$.getForUsername(Unknown Source) [classes:]
  383. at org.jboss.as.quickstarts.tasksJsf.AuthController.authenticate(AuthController.java:88) [classes:]
  384. at org.jboss.as.quickstarts.tasksJsf.AuthController$Proxy$_$$_WeldClientProxy.authenticate(Unknown Source) [classes:]
  385. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  386. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  387. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  388. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  389. at javax.el.ELUtil.invokeMethod(ELUtil.java:326) [javax.el-3.0.0.jar:3.0.0]
  390. at javax.el.BeanELResolver.invoke(BeanELResolver.java:536) [javax.el-3.0.0.jar:3.0.0]
  391. at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:256) [javax.el-3.0.0.jar:3.0.0]
  392. at com.sun.el.parser.AstValue.invoke(AstValue.java:269) [javax.el-3.0.0.jar:3.0.0]
  393. at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:304) [javax.el-3.0.0.jar:3.0.0]
  394. at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  395. at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  396. at org.jboss.weld.util.el.ForwardingMethodExpression.invoke(ForwardingMethodExpression.java:40) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  397. at org.jboss.weld.el.WeldMethodExpression.invoke(WeldMethodExpression.java:50) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  398. at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105) [jsf-impl-2.2.5-jbossorg-3.jar:]
  399. at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:87) [jboss-jsf-api_2.2_spec-2.2.5.jar:2.2.5]
  400. ... 33 more
  401. Caused by: java.lang.IllegalStateException: EntityManager is closed
  402. at org.hibernate.jpa.internal.EntityManagerImpl.checkOpen(EntityManagerImpl.java:105) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  403. at org.hibernate.jpa.internal.EntityManagerImpl.checkOpen(EntityManagerImpl.java:96) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  404. at org.hibernate.jpa.spi.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:1567) [hibernate-entitymanager-4.3.1.Final.jar:4.3.1.Final]
  405. at org.jboss.as.jpa.transaction.TransactionUtil.registerExtendedUnderlyingWithTransaction(TransactionUtil.java:82) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  406. at org.jboss.as.jpa.container.ExtendedEntityManager.internalAssociateWithJtaTx(ExtendedEntityManager.java:136) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  407. at org.jboss.as.jpa.container.ExtendedEntityManager.getEntityManager(ExtendedEntityManager.java:113) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  408. at org.jboss.as.jpa.container.AbstractEntityManager.createQuery(AbstractEntityManager.java:118) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  409. at org.jboss.as.quickstarts.tasksJsf.UserDaoImpl.getForUsername(UserDaoImpl.java:39) [classes:]
  410. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_45]
  411. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_45]
  412. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_45]
  413. at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_45]
  414. at org.jboss.as.ee.component.ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptor.java:52)
  415. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  416. at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  417. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  418. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  419. at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  420. at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.doMethodInterception(Jsr299BindingsInterceptor.java:82) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  421. at org.jboss.as.weld.ejb.Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor.java:93) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  422. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  423. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  424. at org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
  425. at org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:63)
  426. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  427. at org.jboss.as.ejb3.component.invocationmetrics.ExecutionTimeInterceptor.processInvocation(ExecutionTimeInterceptor.java:43) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  428. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  429. at org.jboss.as.jpa.interceptor.SBInvocationInterceptor.processInvocation(SBInvocationInterceptor.java:47) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  430. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  431. at org.jboss.as.jpa.interceptor.SFSBInvocationInterceptor.processInvocation(SFSBInvocationInterceptor.java:57) [wildfly-jpa-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  432. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  433. at org.jboss.as.ejb3.component.stateful.StatefulSessionSynchronizationInterceptor.processInvocation(StatefulSessionSynchronizationInterceptor.java:127) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  434. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  435. at org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorContext.java:407)
  436. at org.jboss.weld.ejb.AbstractEJBRequestScopeActivationInterceptor.aroundInvoke(AbstractEJBRequestScopeActivationInterceptor.java:46) [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
  437. at org.jboss.as.weld.ejb.EjbRequestScopeActivationInterceptor.processInvocation(EjbRequestScopeActivationInterceptor.java:83) [wildfly-weld-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  438. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  439. at org.jboss.as.ee.concurrent.ConcurrentContextInterceptor.processInvocation(ConcurrentContextInterceptor.java:45) [wildfly-ee-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  440. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  441. at org.jboss.invocation.InitialInterceptor.processInvocation(InitialInterceptor.java:21)
  442. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  443. at org.jboss.invocation.ChainedInterceptor.processInvocation(ChainedInterceptor.java:61)
  444. at org.jboss.as.ee.component.interceptors.ComponentDispatcherInterceptor.processInvocation(ComponentDispatcherInterceptor.java:53)
  445. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  446. at org.jboss.as.ejb3.component.stateful.StatefulComponentInstanceInterceptor.processInvocation(StatefulComponentInstanceInterceptor.java:66) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  447. at org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:309)
  448. at org.jboss.as.ejb3.tx.CMTTxInterceptor.invokeInOurTx(CMTTxInterceptor.java:273) [wildfly-ejb3-8.0.0.Final-SNAPSHOT.jar:8.0.0.Final-SNAPSHOT]
  449. ... 93 more
RAW Paste Data