3 Replies Latest reply: Jul 31, 2013 1:59 PM by 956943 RSS

    Error: javax.transaction.InvalidTransactionException, msg=Attempt to resume an inactive transaction

    956943

      Hi,

       

      Jdev version: 11.1.1.4.0

      Weblogic 10.3.4

       

      I have a sharedAM in my application that is in production and I see the below error message once in every 3-4 weeks.

       

      • oracle.jbo.JboException: JBO-29000: Unexpected exception caught: javax.transaction.InvalidTransactionException, msg=Attempt to resume an inactive transaction: BEA1-640EAA8C373A63BD14A3

                      at oracle.jbo.server.JTATxnHandlerImpl.resume(JTATxnHandlerImpl.java:378)

                      at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:308)

                      at oracle.jbo.server.DBTransactionImpl2.connectToDataSource(DBTransactionImpl2.java:331)

                      at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:203)

                      at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:576)

                      at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:419)

                      at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:8933)

                      at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4496)

                      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2458)

                      at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareResource(ApplicationPoolImpl.java:3703)

                      at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:344)

                      at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2266)

                      at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:3168)

                      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:460)

                      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:431)

                      at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:426)

                      at oracle.jbo.client.Configuration.getApplicationModule(Configuration.java:1606)

                      at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1511)

                      at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:1482)

                      at mySharedXXXAM(MyInstanceClass.java:49)

       

      This is how I get the AM instance.

      MyAMImpl myAm = (MyAMImpl)Configuration.createRootApplicationModule("MyAMImpl", "MyAMShared");

       

      The sharedAM has one VO which is a read only view on database.

       

      Any help is appreciated!