ICEfaces
  1. ICEfaces
  2. ICE-3617

Seam transaction exception problem for seam-icefaces example when using ejb3 container to synchronize transactions

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.2
    • Fix Version/s: 1.7.2 SP1, 1.8DR#2, 1.8
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      Seam-2.x,

      Description

      I tested seam-icefaces example with the following configurations and report a regression problem(rather than an issue with Seam-2.1):-

      Note that all ICEfaces-1.7.2 refer to build 14 and 16. Had problems with:-

      Seam-2.1.CR1, ICEfaces-1.7.2 on jboss-4.2.3.GA (jsf1.2_09)
      Seam-2.0.3.CR1, ICEfaces-1.7.2 on jboss-4.2.3.GA
      Seam-2.0.2.SP1, ICEfaces-1.7.2 on jboss-4.2.3.GA
      Seam-2.1 Trunk, ICEfaces-1.7.2 on jboss-4.2.3.GA

      Seam-2.0.3.CR1, ICEfaces-1.7.2 on jboss-4.2.2.GA (jsf1.2_04)...I not only got the same stack trace as the above tests but once also locked up the server and the browser and had to restart the server.


      Did NOT have problems with
      Seam-2.1.CR1, ICEfaces-1.7.1 on jboss-4.2.2.GA (jsf1.2_04).
      Seam-2.0.2.SP1, ICEfaces-1.7.1 on jboss-4.2.2.GA

      I wish I could test ICEfaces-1.7.1 on jboss-4.2.3.GA but there is a compatibility problem there so can't do this. Is there any other combinations I can check to affirm this with you guys? I am going back to Greg's scopes application to see if I can't work it harder to trigger this as well. I found it easier to trigger this if I first logged out of the application and then logged in again as the same person. (coincidence???)
       Stack trace follows:-
      0:48:23,456 INFO [STDOUT] RootInvocationContext: proceed() for bean=$Proxy84 method=afterTransactionBegin
      10:48:23,456 ERROR [SeamPhaseListener] before Phase :- uncaught exception
      java.lang.IllegalStateException: Could not start transaction
         at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:620)
         at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:331)
         at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:142)
         at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:115)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
         at com.icesoft.faces.context.View$2.respond(View.java:44)
         at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
         at com.icesoft.faces.context.View.servePage(View.java:274)
         at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
         at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         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.ejb.NoSuchEJBException: Could not find stateful bean: ai1330-8fdew-fm0rligk-1-fm0rn5et-x
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:390)
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:375)
         at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
         at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
         at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
         at $Proxy84.afterTransactionBegin(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor171.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:21)
         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:79)
         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:109)
         at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:56)
         at org.javassist.tmp.java.lang.Object_$$_javassist_0.afterTransactionBegin(Object_$$_javassist_0.java)
         at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:41)
         at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:615)
         ... 50 more
      10:48:23,503 ERROR [SeamPhaseListener] swallowing exception
      java.lang.IllegalStateException: Could not start transaction
         at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:620)
         at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:331)
         at org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:142)
         at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:115)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
         at com.icesoft.faces.context.View$2.respond(View.java:44)
         at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
         at com.icesoft.faces.context.View.servePage(View.java:274)
         at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
         at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         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.ejb.NoSuchEJBException: Could not find stateful bean: ai1330-8fdew-fm0rligk-1-fm0rn5et-x
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:390)
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:375)
         at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
         at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
         at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
         at $Proxy84.afterTransactionBegin(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor171.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:21)
         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:79)
         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:109)
         at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:56)
         at org.javassist.tmp.java.lang.Object_$$_javassist_0.afterTransactionBegin(Object_$$_javassist_0.java)
         at org.jboss.seam.transaction.UTTransaction.begin(UTTransaction.java:41)
         at org.jboss.seam.jsf.SeamPhaseListener.begin(SeamPhaseListener.java:615)
         ... 50 more
      10:48:23,503 INFO [SeamPhaseListener] after phase: RESTORE_VIEW 1
      10:48:23,503 INFO [SeamPhaseListener] before raiseEventsAfterPhase for event=com.sun.faces.lifecycle.LifecycleImpl@874bd3
      10:48:23,503 INFO [SeamPhaseListener] raiseEventsAfterPhase
      10:48:23,503 INFO [SeamPhaseListener] before afterServletPhase for event
      10:48:23,503 INFO [SeamPhaseListener] afterServletPhase
      10:48:23,503 INFO [SeamPhaseListener] afterRestoreView
      10:48:23,503 INFO [SeamPhaseListener] postRestorePage
      10:48:23,503 INFO [SeamPhaseListener] finished restoring view
      10:48:23,503 INFO [SeamPhaseListener] handleTransactionsAfterPhase
      10:48:23,503 INFO [SeamPhaseListener] trying to commit or Rollback for phaseId=RESTORE_VIEW 1
      10:48:23,503 INFO [SeamPhaseListener] commitOrRollback in phaseId=RESTORE_VIEW 1
      10:48:23,503 INFO [STDOUT] before getting synchronizations
      10:48:23,503 INFO [STDOUT] ClientSideInterceptor:invoke() for method=beforeTransactionCommit
      10:48:23,503 INFO [STDOUT] RootInvocationContext: proceed() for bean=$Proxy84 method=beforeTransactionCommit
      10:48:23,503 ERROR [SeamPhaseListener] uncaught exception in After Phase
      java.lang.IllegalStateException: Could not commit transaction
         at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:642)
         at org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsAfterPhase(SeamPhaseListener.java:351)
         at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:247)
         at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:196)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
         at com.icesoft.faces.context.View$2.respond(View.java:44)
         at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
         at com.icesoft.faces.context.View.servePage(View.java:274)
         at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
         at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         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.ejb.NoSuchEJBException: Could not find stateful bean: ai1330-8fdew-fm0rligk-1-fm0rn5et-x
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:390)
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:375)
         at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
         at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
         at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
         at $Proxy84.beforeTransactionCommit(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor173.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:21)
         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:79)
         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:109)
         at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:56)
         at org.javassist.tmp.java.lang.Object_$$_javassist_0.beforeTransactionCommit(Object_$$_javassist_0.java)
         at org.jboss.seam.transaction.UTTransaction.commit(UTTransaction.java:51)
         at org.jboss.seam.jsf.SeamPhaseListener.commitOrRollback(SeamPhaseListener.java:632)
         ... 50 more
      10:48:23,518 INFO [SeamPhaseListener] afterResponseComplete
      10:48:23,518 INFO [STDOUT] ClientSideInterceptor:invoke() for method=destroy
      10:48:23,518 INFO [STDOUT] RootInvocationContext: proceed() for bean=$Proxy84 method=destroy
      10:48:23,518 WARN [Component] Exception calling stateful session bean default @Remove method: org.jboss.seam.transaction.synchronizations
      javax.ejb.NoSuchEJBException: Could not find stateful bean: ai1330-8fdew-fm0rligk-1-fm0rn5et-x
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:390)
         at org.jboss.ejb3.cache.simple.SimpleStatefulCache.get(SimpleStatefulCache.java:375)
         at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:61)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.stateful.StatefulRemoveInterceptor.invoke(StatefulRemoveInterceptor.java:97)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
         at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
         at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
         at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:206)
         at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:119)
         at $Proxy84.destroy(Unknown Source)
         at sun.reflect.GeneratedMethodAccessor299.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:21)
         at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32)
         at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:79)
         at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:109)
         at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:56)
         at org.javassist.tmp.java.lang.Object_$$_javassist_0.destroy(Object_$$_javassist_0.java)
         at sun.reflect.GeneratedMethodAccessor298.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:21)
         at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
         at org.jboss.seam.Component.callComponentMethod(Component.java:2092)
         at org.jboss.seam.Component.callDefaultRemoveMethod(Component.java:1997)
         at org.jboss.seam.Component.destroy(Component.java:1344)
         at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251)
         at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:394)
         at org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:112)
         at org.jboss.seam.jsf.SeamPhaseListener.afterResponseComplete(SeamPhaseListener.java:547)
         at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:211)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
         at com.icesoft.faces.webapp.http.core.JsfLifecycleExecutor.apply(JsfLifecycleExecutor.java:17)
         at com.icesoft.faces.context.View$2.respond(View.java:44)
         at com.icesoft.faces.webapp.http.servlet.ServletRequestResponse.respondWith(ServletRequestResponse.java:167)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet$ThreadBlockingRequestResponse.respondWith(ThreadBlockingAdaptingServlet.java:36)
         at com.icesoft.faces.context.View.servePage(View.java:274)
         at com.icesoft.faces.webapp.http.core.MultiViewServer.service(MultiViewServer.java:62)
         at com.icesoft.faces.webapp.http.common.standard.PathDispatcherServer.service(PathDispatcherServer.java:24)
         at com.icesoft.faces.webapp.http.servlet.MainSessionBoundServlet.service(MainSessionBoundServlet.java:160)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher$1.service(SessionDispatcher.java:38)
         at com.icesoft.faces.webapp.http.servlet.ThreadBlockingAdaptingServlet.service(ThreadBlockingAdaptingServlet.java:19)
         at com.icesoft.faces.webapp.http.servlet.EnvironmentAdaptingServlet.service(EnvironmentAdaptingServlet.java:63)
         at com.icesoft.faces.webapp.http.servlet.SessionDispatcher.service(SessionDispatcher.java:55)
         at com.icesoft.faces.webapp.http.servlet.PathDispatcher.service(PathDispatcher.java:23)
         at com.icesoft.faces.webapp.http.servlet.MainServlet.service(MainServlet.java:91)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
         at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
         at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
         at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
         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)
      10:48:23,550 ERROR [CachedConnectionValve] Application error: Persistent Faces Servlet did not complete its transaction
      10:48:23,581 INFO [SeamPhaseListener] before phase: RESTORE_VIEW 1
      10:48:23,581 INFO [SeamPhaseListener] before Servlet Phase for event=com.sun.faces.lifecyc

        Activity

        Hide
        Judy Guglielmin added a comment -

        add the following links about passivation/activation of stateful session beans:-
        http://wiki.jboss.org/wiki/JbossTimeoutSettingForSeam
        http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/seam/Seam_Reference_Guide/html/Seam_Reference_Guide-Configuring_Seam_and_packaging_Seam_applications-Configuring_SFSB_and_Session_Timeouts_in_JBoss_AS.html

        Am going to try various settings of caching of stateful beans, conversation timeout and session timeouts .

        Show
        Judy Guglielmin added a comment - add the following links about passivation/activation of stateful session beans:- http://wiki.jboss.org/wiki/JbossTimeoutSettingForSeam http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.3/doc/seam/Seam_Reference_Guide/html/Seam_Reference_Guide-Configuring_Seam_and_packaging_Seam_applications-Configuring_SFSB_and_Session_Timeouts_in_JBoss_AS.html Am going to try various settings of caching of stateful beans, conversation timeout and session timeouts .
        Hide
        Judy Guglielmin added a comment -

        just use target = "freshen" after setting build.properties to proper seam, icefaces and server locations. Then can use "deploy" or "explode" to deploy depending on whether you want exploded or archived deployment.

        Show
        Judy Guglielmin added a comment - just use target = "freshen" after setting build.properties to proper seam, icefaces and server locations. Then can use "deploy" or "explode" to deploy depending on whether you want exploded or archived deployment.
        Hide
        Judy Guglielmin added a comment -

        http://server.ice:8888/svn/repo/qa/trunk/Seam/Seam-Booking
        for location of selenium scripts for testing of this sample application.

        Note that taking seam trunk and reverting View.java to rev 17767 will eliminate the exception from being triggered (trunk as of Oct 17th, 2008)

        Show
        Judy Guglielmin added a comment - http://server.ice:8888/svn/repo/qa/trunk/Seam/Seam-Booking for location of selenium scripts for testing of this sample application. Note that taking seam trunk and reverting View.java to rev 17767 will eliminate the exception from being triggered (trunk as of Oct 17th, 2008)
        Hide
        Judy Guglielmin added a comment -

        This one is back to you for 1.8 (trunk) now Mircea. It makes sense to me that establishing the view means that we have a new BridgeExternalContext (since the threads must be clean or closed from previous tx before another tx can be assigned to them and this is the nature of the exception).

        Show
        Judy Guglielmin added a comment - This one is back to you for 1.8 (trunk) now Mircea. It makes sense to me that establishing the view means that we have a new BridgeExternalContext (since the threads must be clean or closed from previous tx before another tx can be assigned to them and this is the nature of the exception).
        Show
        Judy Guglielmin added a comment - seam forum reference:- http://www.seamframework.org/Community/ServletserviceForServletBlockingServletThrewExceptionJavalangIllegalStateException#comment47996
        Hide
        Mircea Toma added a comment -

        Stop copying all the request attributes on *ExternalContext.release() invocation.

        Show
        Mircea Toma added a comment - Stop copying all the request attributes on *ExternalContext.release() invocation.
        Hide
        Ken Fyten added a comment -

        Please backport to icefaces-1.7 branch for SP1.

        Show
        Ken Fyten added a comment - Please backport to icefaces-1.7 branch for SP1.
        Hide
        Mircea Toma added a comment -

        Backport fixes from trunk into 1.7 branch.

        Show
        Mircea Toma added a comment - Backport fixes from trunk into 1.7 branch.

          People

          • Assignee:
            Unassigned
            Reporter:
            Judy Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: