Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: EAP_EWP 5.2.0 ER4
    • Component/s: None
    • Labels:
      None
    • Release Notes Docs Status:
      Not Required
    • Docs QE Status:
      NEW

      Description

      The org.jboss.test.jca.test.CachedConnectionBankStressTestCase seems to fial due to test method order.

      Error Message
      
      EJBException:; nested exception is:   javax.ejb.EJBException: Could not transfer 1 from Account:4 to Account:3
      Stacktrace
      
      java.rmi.ServerException: EJBException:; nested exception is: 
      	javax.ejb.EJBException: Could not transfer 1 from Account:4 to Account:3
      	at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:365)
      	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:209)
      	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
      	at org.jboss.ejb.Container.invoke(Container.java:1092)
      	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      	at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
      	at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
      	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
      	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
      	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      Caused by: javax.ejb.EJBException: Could not transfer 1 from Account:4 to Account:3
      	at org.jboss.test.jca.bank.ejb.TellerBean.transfer(TellerBean.java:151)
      	at org.jboss.invocation.Invocation.performCall(Invocation.java:397)
      	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
      	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
      	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
      	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      	at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:233)
      	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84)
      	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
      	at org.jboss.ejb.Container.invoke(Container.java:1092)
      	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      	at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
      	at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
      	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
      	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
      	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      	at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:218)
      	at org.jboss.remoting.Client.invoke(Client.java:2084)
      	at org.jboss.remoting.Client.invoke(Client.java:879)
      	at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.java:184)
      	at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:416)
      	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:248)
      	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      	at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
      	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
      	at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)
      	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
      	at $Proxy3.transfer(Unknown Source)
      	at org.jboss.test.jca.test.CachedConnectionBankStressTestCase$TransferThread.run(CachedConnectionBankStressTestCase.java:165)
      	at java.lang.Thread.run(Thread.java:722)
      Caused by: javax.transaction.TransactionRolledbackException: javax.ejb.NoSuchEntityException: Account does not exist 3; nested exception is: 
      	javax.ejb.EJBException: javax.ejb.NoSuchEntityException: Account does not exist 3
      	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:274)
      	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      	at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:233)
      	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84)
      	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      	at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:533)
      	at org.jboss.ejb.Container.invoke(Container.java:1092)
      	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      	at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)
      	at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)
      	at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:260)
      	at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:246)
      	at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
      	at org.jboss.proxy.ejb.SecurityContextInterceptor.invoke(SecurityContextInterceptor.java:64)
      	at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:68)
      	at org.jboss.proxy.ejb.EntityInterceptor.invoke(EntityInterceptor.java:112)
      	at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
      	at $Proxy5488.deposit(Unknown Source)
      	at org.jboss.test.jca.bank.ejb.TellerBean.transfer(TellerBean.java:148)
      	at org.jboss.invocation.Invocation.performCall(Invocation.java:397)
      	at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:233)
      	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
      	at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173)
      	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      	at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)
      	at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)
      	at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:233)
      	at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:100)
      	at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:84)
      	at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)
      	at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138)
      	at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650)
      	at org.jboss.ejb.Container.invoke(Container.java:1092)
      	at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
      	at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
      	at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
      	at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
      	at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
      	at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232)
      	at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:967)
      	at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)
      	at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)
      	at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:586)
      	at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)
      Caused by: javax.ejb.EJBException: javax.ejb.NoSuchEntityException: Account does not exist 3
      	at org.jboss.test.jca.bank.ejb.AccountBean.ejbLoad(AccountBean.java:352)
      	at org.jboss.ejb.plugins.BMPPersistenceManager.loadEntity(BMPPersistenceManager.java:435)
      	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.loadEntity(CachedConnectionInterceptor.java:250)
      	at org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:243)
      	at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156)
      	at org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:123)
      	at org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:279)
      	at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:104)
      	at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:76)
      	at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)
      	at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)
      Caused by: javax.ejb.NoSuchEntityException: Account does not exist 3
      	at org.jboss.test.jca.bank.ejb.AccountBean.ejbLoad(AccountBean.java:345)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  baranowb Bartosz Baranowski
                  Reporter:
                  baranowb Bartosz Baranowski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: