Server Timeout during 2 phase commit with MQSeries 5.2 , oracle 8i , bea6.0

          My application tests 2 PC commit using Oracle 8i and MQSeries
          JMS as two resources and BEA Weblogic 6.0 as the resource manager
          1. I have a Java Application which writes a message onto a
          MQSeries Queue
          2. The Application then invokes the EJB
          3. The Bean starts a transaction
          4. The bean now tries to retrieve the message put on the
          MQSeries queue by the Java Application within the transaction (At this point
          the message disappears from the queue and i am able to see it thru MQSeries explorer)
          5. It then calls a method on another bean
          6. This method performs two Database updates
          7. After return the TprocessBean writes a new message to the queue
          8. The transaction ends
          Now steps 4 to 7 are participating in the transaction. If at
          all anything goes wrong in step 4, step 6 or step 7 then the
          transaction should be rolled back. It means that
          a) The database transactions should be rolled back
          b) The message should return back to the queue
          The transaction spans two resources that is MQSeries and oracle 8i
          When i issue a rollback() on getting an exception, I am getting the database
          transactions to rollback, but the server timesout while rolling back the MQseries
          read transaction i.e. the message that was read within this transaction is not
          visible on the queue
          However when i shut down weblogic, then that message returns back to the queue.
          The timeout exception that i get is
          EJB Exception caught - Rolling back Transactionjavax.ejb.EJBException
          javax.transaction.SystemException: Timeout during rollback processing
          at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:2
          80)
          at weblogic.transaction.internal.TransactionManagerImpl.rollback(TransactionManagerImpl.java
          :229)
          at myexamples.jms.tbean.TProcessBean.processJMSMessage(TProcessBean.java:117)
          at myexamples.jms.tbean.TProcessBeanImpl.processJMSMessage(TProcessBeanImpl.java:130)
          at myexamples.jms.tbean.TProcessBeanEOImpl.processJMSMessage(TProcessBeanEOImpl.java:68)
          at myexamples.jms.tbean.TProcessBeanEOImpl_WLSkel.invoke(TProcessBeanEOImpl_WLSkel.java:125)
          at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
          at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:128)
          at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
          at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
          at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
          at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
          at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          could not rollback....javax.transaction.SystemException: Timeout during rollback
          processing
          Context for InXMLProcess bean is =weblogic.ejb20.internal.SessionEJBContextImpl@201f91
          

          Did you enlist the MQSeries XAResource with the transaction via either static or
          dynamic enlistment?
          Regards,
          Priscilla
          "Anshuman" <[email protected]> wrote:
          >
          > JMS as two resources and BEA Weblogic 6.0 as the resource manager
          >
          > 1. I have a Java Application which writes a message onto a
          > MQSeries Queue
          > 2. The Application then invokes the EJB
          > 3. The Bean starts a transaction
          > 4. The bean now tries to retrieve the message put on the
          > MQSeries queue by the Java Application within the transaction (At this
          >point
          >the message disappears from the queue and i am able to see it thru MQSeries
          >explorer)
          > 5. It then calls a method on another bean
          > 6. This method performs two Database updates
          > 7. After return the TprocessBean writes a new message to the queue
          > 8. The transaction ends
          >
          > Now steps 4 to 7 are participating in the transaction. If at
          > all anything goes wrong in step 4, step 6 or step 7 then the
          > transaction should be rolled back. It means that
          >a) The database transactions should be rolled back
          >b) The message should return back to the queue
          >The transaction spans two resources that is MQSeries and oracle 8i
          >
          > When i issue a rollback() on getting an exception, I am getting the
          >database
          >transactions to rollback, but the server timesout while rolling back
          >the MQseries
          >read transaction i.e. the message that was read within this transaction
          >is not
          >visible on the queue
          >
          >
          >However when i shut down weblogic, then that message returns back to
          >the queue.
          >
          >
          >The timeout exception that i get is
          >
          >EJB Exception caught - Rolling back Transactionjavax.ejb.EJBException
          >javax.transaction.SystemException: Timeout during rollback processing
          > at weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:2
          >80)
          > at weblogic.transaction.internal.TransactionManagerImpl.rollback(TransactionManagerImpl.java
          >:229)
          > at myexamples.jms.tbean.TProcessBean.processJMSMessage(TProcessBean.java:117)
          > at myexamples.jms.tbean.TProcessBeanImpl.processJMSMessage(TProcessBeanImpl.java:130)
          > at myexamples.jms.tbean.TProcessBeanEOImpl.processJMSMessage(TProcessBeanEOImpl.java:68)
          > at myexamples.jms.tbean.TProcessBeanEOImpl_WLSkel.invoke(TProcessBeanEOImpl_WLSkel.java:125)
          >
          > at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:373)
          > at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:128)
          > at weblogic.rmi.internal.BasicServerAdapter.invoke(BasicServerAdapter.java:237)
          > at weblogic.rmi.internal.BasicRequestHandler.handleRequest(BasicRequestHandler.java:118)
          > at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:17)
          > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:137)
          > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
          >could not rollback....javax.transaction.SystemException: Timeout during
          >rollback
          >processing
          >Context for InXMLProcess bean is =weblogic.ejb20.internal.SessionEJBContextImpl@201f91
          

Similar Messages

  • 2 phase commit with MQSeries 5.2

              Hi,
              Wondering if anyone can help with this:
              We'd like to have 2PC with DB and JMS. Understand that we need to use XAConnectionFactory
              in MQ in order for 2PC to work. However, MQ XAQCF only support binding mode which
              requires the client and MQ mgr to reside in the same machine. This is not feasible
              for us since our WL server and MQ reside in different machine and we use TCP/IP
              mode to communicate with MQ.
              We are running WL6.1sp3 and MQSeries 5.2.
              Is there a way to have 2PC with this kind of setting?
              Appreciate your advice
              fendy
              

    The easy solution is to run the weblogic server on the
              MQSeries machine, or vice-versa.
              - You could run a JMS client on the MQSeries machine and write
              your own store-and-forward application.
              The application will need to register the JMS resource
              manager (session.getXAResource()) with the IBM transaction monitor.
              To run on the client, you will need to use an unsupported API to
              get the resource manager
              (weblogic.jms.client.XASession.getXAResource(context,servername).
              I'm not sure if the IBM tpmonitor is available with plain-old
              MQSeries.
              - An alternative may be to register the IBM resource manager
              with BEA's tpmon - but I'm not sure if this can be done
              remotely.
              - There is a whitepaper on integrating JTA with MQSeries
              somewhere on dev2dev, which details the above approaches.
              - I suggest posting to the transactions newsgroup for more info.
              Tom, BEA
              P.S. Rumor has it that the next MQSeries will support transactions
              with remote clients. But as an added cost option.
              fendy wrote:
              > Hi,
              >
              > Wondering if anyone can help with this:
              >
              > We'd like to have 2PC with DB and JMS. Understand that we need to use XAConnectionFactory
              > in MQ in order for 2PC to work. However, MQ XAQCF only support binding mode which
              > requires the client and MQ mgr to reside in the same machine. This is not feasible
              > for us since our WL server and MQ reside in different machine and we use TCP/IP
              > mode to communicate with MQ.
              >
              > We are running WL6.1sp3 and MQSeries 5.2.
              >
              > Is there a way to have 2PC with this kind of setting?
              >
              > Appreciate your advice
              >
              > fendy
              

  • Two Phase Commit with WLS6.1 SP2

              Hi,
              I am testing two phase commit using my own resource adapter on WLS 6.1 SP2. And
              I saw something rather strange. The two phase commit process went well at first.
              The first resource manager (RM) was start-ended and then prepare-committed without
              any error. The second RM was also start-ended and then prepare-committed. But
              before the second RM's XAResource.commit() could finish, the first RM's XAResource.commit()
              was called AGAIN, three times, all at the same time, on three different threads,
              with three different XIDs, none of them had ever appeared before, all with onePhase=true.
              Anyone has any similar experience?
              Thanks.
              Yongtao
              

              Hi,
              I am testing two phase commit using my own resource adapter on WLS 6.1 SP2. And
              I saw something rather strange. The two phase commit process went well at first.
              The first resource manager (RM) was start-ended and then prepare-committed without
              any error. The second RM was also start-ended and then prepare-committed. But
              before the second RM's XAResource.commit() could finish, the first RM's XAResource.commit()
              was called AGAIN, three times, all at the same time, on three different threads,
              with three different XIDs, none of them had ever appeared before, all with onePhase=true.
              Anyone has any similar experience?
              Thanks.
              Yongtao
              

  • How to enable 2 phase commit in oracle11g(for distributed oracle databases)

    Hi All,
    We have three oracle servers(11g) and we need to update the data from one server to remaining servers. Want to know, is "two phase commit" automaticly enabled/installed in 11g or we need to enable it. If we need to enable it then what are the all steps required for the same.
    Thanks & Regards
    Ravi

    It is always very nice to see people think they are so unique their question has not already been answered in the documentation.
    Yes, two phase commit is enabled.
    No, depending on what you want, automatically updating records from one server to other servers is likely a very bad idea, as Oracle has documented facilities for that.
    You have amongst others
    - Materialized views
    - Oracle Streams
    Those solutions definitely scale much better as your approach, as they are asynchronous. In your approach the master server will slow down as a result of updating slaves.
    In distributed databases 'push' approaches are to be avoided and 'pull' approaches to be preferred. Which is exactly what materialized views and Streams do.
    Sybrand Bakker
    Senior Oracle DBA

  • How to recover in a two phase commit ?

    I am implementing a two phase commit with Oracle XA in Oracle 8.1.6. I am wondering how I can recover from failures occur between the PREPARE and the COMMIT stage. If I lose the database connection after the changes have been prepared, then I can't find a way to rollback or commit the changes.
    Appreciate any helps.
    Sam

    The iPod OS takes care of where/how to store the files on the iPod and it has not done this. This is why you need to get the files off your iPod first.
    My goal is to connect my iPod to my Mac, launch iTunes, and all of what's on my iPod displays in iTunes after single-clicking the iPod's icon in the Source pane of iTunes' window.
    This is very, very simple. This is how iTunes works normally.
    Since you now have the stuff from your iPod on your computer (using Ollie's iPod Extractor), load them into iTunes.
    Sync them to the iPod. This will update the iPod database so all of the files are seen/identified correctly by the iPod.
    Set the iPod prefs in iTunes to manually update.
    Now you can delete the stuff on your computer and iTunes and view/edit/delete the stuff on the iPod using iTunes.
    The outcome of using the utilities suggested in previous posts is that all of what's on my iPod gets copied to my Mac's hard drive (which is not what I'm trying to accomplish) and then that displays in iTunes' Library.
    Only because the files on the iPod are not "useable" with the iPod or iTunes right now.
    This is not something you will have to do everytime.
    Once you get them on your computer, you can do the above steps and you will not have to use any utilities.
    Just use iTunes.

  • Server Exception during PPR

    Hi. I use JDeveloper 11g and JHeadstart. I work with ADF BC Technology. I have custom base java classes. After adding new record in table, I receive this message on one of my pages: "0 For more information, please see the server's error log for an entry beginning with: Server Exception during PPR".
    I tried more times to find out it's reason but...
    And I found the following message at server log:
    ------------> doDML Method
    04/11/2009 08:42:06 ص org.apache.myfaces.trinidadinternal.context.RequestContextImpl addPartialTriggerListeners
    WARNING: Could not find partial trigger Item from RichNavigationPane[UIXFacesBeanImpl, id=Menu2]
    04/11/2009 08:42:06 ص oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator handleError
    SEVERE: Server Exception during PPR, #1
    java.lang.ArrayIndexOutOfBoundsException: 0
         at oracle.adf.model.binding.DCIteratorBinding.reserveRowWithKey(DCIteratorBinding.java:3798)
         at oracle.jbo.uicli.binding.JUIteratorBinding.reserveRowWithKey(JUIteratorBinding.java:482)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.setupRegionIteratorBinding(JUCtrlHierNodeBinding.java:1923)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getRegionBinding(JUCtrlHierNodeBinding.java:1884)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.getBindings(JUCtrlHierNodeBinding.java:1740)
         at oracle.jbo.uicli.binding.JUCtrlHierNodeBinding.internalGet(JUCtrlHierNodeBinding.java:1362)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlHierNodeBinding.internalGet(FacesCtrlHierNodeBinding.java:122)
         at oracle.adf.model.binding.DCControlBinding.get(DCControlBinding.java:742)
         at oracle.adfinternal.view.faces.model.HierNodeBindingELResolver.getValue(HierNodeBindingELResolver.java:52)
         at oracle.adfinternal.view.faces.model.AdfELResolver.getValue(AdfELResolver.java:86)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:82)
         at com.sun.el.parser.AstValue.isReadOnly(AstValue.java:126)
         at com.sun.el.ValueExpressionImpl.isReadOnly(ValueExpressionImpl.java:230)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.getReadOnly(EditableValueRenderer.java:400)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.wasSubmitted(EditableValueRenderer.java:341)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.decodeInternal(EditableValueRenderer.java:113)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.decodeInternal(LabeledInputRenderer.java:55)
         at oracle.adf.view.rich.render.RichRenderer.decode(RichRenderer.java:241)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.__rendererDecode(UIXComponentBase.java:1107)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:701)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:802)
         at org.apache.myfaces.trinidad.component.UIXEditableValue.processDecodes(UIXEditableValue.java:236)
         at org.apache.myfaces.trinidad.component.ChildLoop$Decode.process(ChildLoop.java:94)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
         at org.apache.myfaces.trinidad.component.UIXColumn.processDecodes(UIXColumn.java:80)
         at oracle.adf.view.rich.component.rich.data.RichColumn.processDecodes(RichColumn.java:249)
         at org.apache.myfaces.trinidad.component.UIXCollection.processComponent(UIXCollection.java:950)
         at org.apache.myfaces.trinidad.component.TableUtils$3.process(TableUtils.java:283)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
         at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
         at org.apache.myfaces.trinidad.component.TableUtils.__processStampedChildren(TableUtils.java:278)
         at org.apache.myfaces.trinidad.component.UIXTable._processStamps(UIXTable.java:518)
         at org.apache.myfaces.trinidad.component.UIXTable.processFacetsAndChildren(UIXTable.java:374)
         at org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:196)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:974)
         at org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:190)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl$ApplyRequestValuesCallback.invokeContextCallback(LifecycleImpl.java:1150)
         at org.apache.myfaces.trinidad.component.UIXCollection.invokeOnComponent(UIXCollection.java:1024)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1362)
         at org.apache.myfaces.trinidad.component.UIXDecorateCollection.invokeOnComponent(UIXDecorateCollection.java:121)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:188)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:123)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnNamingContainerComponent(UIXComponentBase.java:1362)
         at oracle.adf.view.rich.component.fragment.UIXRegion.invokeOnComponent(UIXRegion.java:529)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.invokeOnComponent(ContextSwitchingComponent.java:188)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at oracle.adf.view.rich.component.fragment.UIXInclude.invokeOnComponent(UIXInclude.java:123)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnChildrenComponents(UIXComponentBase.java:1312)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.invokeOnComponent(UIXComponentBase.java:1406)
         at oracle.adf.view.rich.component.rich.RichDocument.invokeOnComponent(RichDocument.java:159)
         at javax.faces.component.UIComponent.invokeOnComponent(UIComponent.java:731)
         at javax.faces.component.UIComponentBase.invokeOnComponent(UIComponentBase.java:675)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:301)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.jheadstart.controller.jsf.AuthenticationFilter.doFilter(AuthenticationFilter.java:284)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Hi Frank,
    Thank you for your answer.
    I investigated the problem a bit and my main concern is how do I get to display an error page?
    As stated in my first post, the exception arise during a PPR/Ajax request. So when the request comes back, some javascript code handles the response which in this case has a 500 status code. Even though I configure the web container to display an error page when there's a 500 error, i'm pretty sure it won't show up.
    So, is there any way to change this behavior? Is there any javascript hook that gets callbacked when a PPR/Ajax request completes?
    Thanx!
    Olivier

  • Tuxedo 12c - Do mainframe adapters support two-phase commit?

    With Oracle Tuxedo 12c, do the Tuxedo mainframe adapters support two-phase commit?  I see there is support for two-phase commit with Tuxedo COBRA, for relational databases.  My customer has a requirement to integrate with their mainframe systems and require two-phase commit (for rollback functionality) with the Tuxedo mainframe adapters.

    Hi,
    The Tuxedo Mainframe Adapter for SNA supports two phase commit protocol, or in IBM mainframe parlance syncpoint level 2.
    Regards,
    Todd Little
    Oracle Tuxedo Chief Architect

  • Javax.transaction.SystemException: Timeout during commit processing

              In my Workshop 8.1 SP2 project I have a Custom Java Control whose methods I call
              from my JPF. From that custom control I create a remote connection to a Weblogic
              6.1 Application server. I execute remote methods and get the expected objects
              back with no problem. The problem is that I cannot return that object from my
              custom control back to my jpf. As soon as the method's return statement is executed,
              the process hangs for a considerable period of time and then throws the following
              Exception:
              An error has occurred:
              Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0005BF0F3E6E72419698(655489),Status=Unknown,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds
              since begin=217,seconds left=42983,XAServerResourceInfo[BMResourceManager]=(ServerResourceInfo[BMResourceManager]=(state=new,assigned=none),xar=null),SCInfo[midway+cgServer]=(state=active),SCInfo[prdsdomain+prdsserver]=(state=active),properties=({weblogic.transaction.name=[EJB
              com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)]}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=cgServer+172.23.83.174:7001+midway+t3+,
              XAResources={},NonXAResources={})],CoordinatorURL=prdsserver+172.23.4.109:7041+prdsdomain+t3+);
              nested exception is:
              javax.transaction.SystemException: Timeout during commit processing
              Start server side stack trace:
              javax.transaction.SystemException: Timeout during commit processing
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:243)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
              at weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68)
              at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              End server side stack trace
              caused by: : javax.transaction.SystemException: Timeout during commit processing
              Start server side stack trace:
              javax.transaction.SystemException: Timeout during commit processing
              at weblogic.transaction.internal.ServerTransactionImpl.internalCommit(ServerTransactionImpl.java:243)
              at weblogic.transaction.internal.ServerTransactionImpl.commit(ServerTransactionImpl.java:189)
              at weblogic.transaction.internal.CoordinatorImpl.commit(CoordinatorImpl.java:68)
              at weblogic.transaction.internal.CoordinatorImpl_WLSkel.invoke(Unknown Source)
              at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
              at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
              at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
              End server side stack trace
              As soon as I take out RMI calls from my custom control's code, I can return any
              object I want back to my JPF. Here is the what I am thinking is happenning.
              The system that runs on Weblogic 6.1 manages its own transactions and begins a
              new transaction every time a session bean residing on that server is invoked.
              In addition, Weblogic 8.1 starts an internal transaction when the Custom Java
              Control makes a call. Could there be some kind conflict? If yes, is it possible
              to disable transactions from the Java Control?
              Thank you very much
              Alex Mayzlin
              

    Horst,
              "aa aa" <[email protected]> wrote in message news:20701457.1093414960276.JavaMail.root@jserv5...
              > we are getting the same Exception. As nobody replied to your question, it would be interesting, if you found any solution
              yourself?
              >
              > Additional info:
              > We are also getting these error messages from BEA when testing connections in pool before and after the exception:
              >
              > <20.08.2004 19.32 Uhr CEST> <Error> <JDBC> <BEA-001112> <Test "SELECT count(*) FROM invoice" set up for pool "ABCConnection Pool"
              failed with exception: "java.sql.SQLException: ORA-01591: lock held by in-doubt distributed transaction 4.47.141655".>
              Generally it's a good idea to use Oracle's system DUAL table
              for testing connections on reserve. Try to change your ABCConnection
              connection pool configuration to use DUAL as the test table
              instead of "invoice".
              Regards,
              Slava Imeshev
              

  • Timeout during commit processing

    Hi All,
    I am facing time out exception on test environment. It is clustered environment with 2 nodes. I have set trust domain between the two weblogic domains.
    In one of my EJB method having tranaction attrbiute set as Required. In this method I also make a remote ejb call to different system for which I have set Trust.
    When i execute this method , I see all my debug statement entering the method and exiting the method, after it exits my method , my client still waiting on response from this method and finally he get the java.rmi.RemoteException.
    Detailed exception as below....
    java.rmi.RemoteException: EJB Exception: ; nested exception is:
         com.bea.control.ServiceControlException: <xml-fragment xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <faultcode> SOAP-ENV:Client </faultcode> <faultstring> Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </faultstring> <detail>
    Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </detail></xml-fragment>
         at weblogic.ejb20.internal.EJBRuntimeUtils.throwRemoteException(EJBRuntimeUtils.java:102)
         at weblogic.ejb20.internal.BaseEJBHome.handleSystemException(BaseEJBHome.java:307)
         at weblogic.ejb20.internal.BaseEJBObject.postInvoke(BaseEJBObject.java:263)
         at weblogic.ejb20.internal.StatelessEJBObject.postInvoke(StatelessEJBObject.java:140)
         at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:56)
         at com.bea.wlw.runtime.core.dispatcher.Dispatcher.remoteDispatch(Dispatcher.java:161)
         at com.bea.wlw.runtime.core.dispatcher.ServiceHandleImpl.invoke(ServiceHandleImpl.java:436)
         at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl._invoke(WlwProxyImpl.java:326)
         at com.bea.wlw.runtime.core.dispatcher.WlwProxyImpl.invoke(WlwProxyImpl.java:315)
         at $Proxy17.updatePurchaseOrder(Unknown Source)
         at newpageflow1.Newpageflow1Controller.begin(Newpageflow1Controller.jpf:75)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at com.bea.wlw.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:1519)
         at com.bea.wlw.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:1445)
         at com.bea.wlw.netui.pageflow.FlowController.internalExecute(FlowController.java:776)
         at com.bea.wlw.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:211)
         at com.bea.wlw.netui.pageflow.FlowController.execute(FlowController.java:606)
         at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:1354)
         at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:650)
         at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
         at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:326)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.superForward(PageFlowRequestProcessor.java:1301)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor$DefaultHttpRedirector.forward(PageFlowRequestProcessor.java:1317)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1199)
         at com.bea.wlw.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:637)
         at com.bea.wlw.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:527)
         at com.bea.wlw.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:152)
         at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006)
         at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at com.bea.p13n.servlets.PortalServletFilter.doFilter(PortalServletFilter.java:293)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6724)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764)
         at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
    Caused by: com.bea.control.ServiceControlException: <xml-fragment xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"> <faultcode> SOAP-ENV:Client </faultcode> <faultstring> Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </faultstring> <detail>
    Exception while commiting Tx : Name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)],Xid=BEA1-0074571ED882A67DA1E5(11375621),Status=Committing,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=118,seconds left=2,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=NodeOne),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@190af6,re-Registered = false),SCInfo[p2pDomain+NodeOne]=(state=committed),SCInfo[mycompany+NodeOne]=(state=committing),properties=({weblogic.transaction.name=[EJB com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(com.bea.wlw.runtime.core.request.Request)], weblogic.jdbc=t3://192.168.86.61:7001}),OwnerTransactionManager=ServerTM[ServerCoordinatorDescriptor=(CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+, XAResources={},NonXAResources={})],CoordinatorURL=NodeOne+192.168.86.61:7001+p2pDomain+t3+); nested exception is:
         javax.transaction.SystemException: Timeout during commit processing </detail></xml-fragment>
         at com.bea.wlw.runtime.core.control.ServiceControlImpl.invoke(ServiceControlImpl.jcs:1233)
         at com.bea.wlw.runtime.core.dispatcher.DispMethod.invoke(DispMethod.java:377)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:423)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:396)
         at com.bea.wlw.runtime.core.container.Invocable.invoke(Invocable.java:248)
         at com.bea.wlw.runtime.jcs.container.JcsContainer.invoke(JcsContainer.java:85)
         at com.bea.wlw.runtime.core.bean.BaseContainerBean.invokeBase(BaseContainerBean.java:224)
         at com.bea.wlw.runtime.core.bean.SLSBContainerBean.invoke(SLSBContainerBean.java:103)
         at com.bea.wlwgen.StatelessContainer_ly05hg_ELOImpl.invoke(StatelessContainer_ly05hg_ELOImpl.java:99)
         at com.bea.wlwgen.GenericStatelessSLSBContAdpt.invokeOnBean(GenericStatelessSLSBContAdpt.java:62)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.runAsInvoke(BaseDispatcherBean.java:153)
         at com.bea.wlw.runtime.core.bean.BaseDispatcherBean.invoke(BaseDispatcherBean.java:54)
         at com.bea.wlw.runtime.core.bean.SyncDispatcherBean.invoke(SyncDispatcherBean.java:168)
         at com.bea.wlw.runtime.core.bean.SyncDispatcher_k1mrl8_EOImpl.invoke(SyncDispatcher_k1mrl8_EOImpl.java:46)
         ... 53 more
    appreciated any help on this .....
    hitesh

    Hi skrai,
              From the moment the begin call is made, the timer starts ticking independently of the flow of your processing. When the timeout expires, the Transaction Manager will roll the transaction back. The first you hear of that happening may be when calls you make in the thread associated with the transaction start to throw exceptions, since it is not possible to propagate a rolled-back transaction (what would be the point, the results of the call will not persist under any circumstances?).
              Therefore suspending a transaction has no impact whatsoever on its timeout; it simply breaks the association between transaction and thread. If your code suspends a transaction and then goes to sleep for a week, it should expect to find that the transaction has timed out while it slept.
              So when U invoke an EJB with "NotSupported" tx attribute, the clock with the tx manager is still ticking.
              Hope my explanation helped to resolve your issue.
              Thanks
              -Rais

  • MDB (2-phase commit) behavior during abnormal JMS termination

    Hello to everyone!
    I plan to test the following scenario tomorrow (sort of a bug replication in our system).
    Anyway, wanted to know in advance the expected behavior (just in case one of you already know
    or have an experience related to this test). Thank you in advance.
    Scenario:
    I want to test/know the behavior of a 2-phase commit (2PC) MDB when JMS server abnormally exits
    (say the process was killed).
    Test flow:
    start app server --> deploy 2pc-mdb --> send dummy data --> kill jms process --> restart jms process
    1. will the connection be closed properly?
    2. when jms server restarts, will the value of active consumer(count) doubled?
    note: i think after mdb deployment, corresponding destination consumer count is 1.
    the problem that occurred in our system was that the consumer count doubled after server restarted.
    it seem like the previous connection was not closed when the jms server abnormally terminated.
    any inputs will be greatly appreciated.
    thanks and best regards.

    You have to use TxDataSource for container managed tx or if you are using JTA (in
    addition to ofcourse doing 2PC).
    S
    "Dale Olzer" <[email protected]> wrote:
    >
    Using weblogic 6.1 SP 4
    I have a simple container managed Message Driven Bean. Using a destination
    type
    javax.jms.Queue.
    When the onMessage method finishes the Message is still Pending on the
    queue.
    see the ejb-jar.xml below
    <ejb-jar>
    <enterprise-beans>
    <message-driven>
    <display-name>IvrMessageBean</display-name>
    <ejb-name>IvrMsgBean</ejb-name>
    <ejb-class>com.edocs.ps.ivr.IvrMsgBean</ejb-class>
    <transaction-type>Container</transaction-type>
    <acknowledge-mode>Auto-acknowledge</acknowledge-mode>
    <message-driven-destination>
    <destination-type>javax.jms.Queue</destination-type>
    </message-driven-destination>
    </message-driven>
    </enterprise-beans>
    </ejb-jar>
    I noticed when I set a JDBC TX DataSource to 2 Phase Commit, the JMS
    transaction
    started commitig and nothing was left pending in the Queue.
    Does 2PC have to be set in a DataSource for Container Managed MDB's to
    work?

  • Connections dropped, DNS and server timeouts from new Lenovo with 802.11n

    New Airport Extreme, works great with Windows XP machine ethernetted into it, and also with a MacBook with wireless-N.
    But my brand new Lenovo T60P with wireless-N is flakey with the Airport. It connects fine with a 100% signal, using the WPA2-PSK / AES setting on the Lenovo (WPA2 Personal security in 802.11n b/g compatibility mode on the Airport). Most of the time it works quite well.
    But very frequently (every five minutes?) one of two things will happen: with the signal still registering fine in the taskbar (and in the laptop's wireless "status" utility), it will become unable to locate any website, including google.com, etc., and refreshes of currently-displayed websites yield server timeouts. The browser (firefox) gives a DNS timeout message. The second thing is just your basic dropped wireless connection. It will reconnect by itself after a while.
    Any advice is hugely appreciated. It ***** to "upgrade" to headaches! (Ha! the forum software doesn't like a synonym for "vaccuums". Apologies to the nuns at Apple for my potty mouth.)

    New Airport Extreme, works great with Windows XP
    machine ethernetted into it, and also with a MacBook
    with wireless-N.
    But my brand new Lenovo T60P with wireless-N is
    flakey with the Airport. It connects fine with a
    100% signal, using the WPA2-PSK / AES setting on the
    Lenovo (WPA2 Personal security in 802.11n b/g
    compatibility mode on the Airport). Most of the time
    it works quite well.
    But very frequently (every five minutes?) one of two
    things will happen: with the signal still registering
    fine in the taskbar (and in the laptop's wireless
    "status" utility), it will become unable to locate
    any website, including google.com, etc., and
    refreshes of currently-displayed websites yield
    server timeouts. The browser (firefox) gives a DNS
    timeout message. The second thing is just your basic
    dropped wireless connection. It will reconnect by
    itself after a while.
    Any advice is hugely appreciated. It ***** to
    "upgrade" to headaches! (Ha! the forum software
    doesn't like a synonym for "vaccuums". Apologies to
    the nuns at Apple for my potty mouth.)
    What you experienced is not a surprise as 802.11n is not a standard yet and each manufacturer has developed it own "pre-n" version. Right now Apple (base station) will work with Apple (notebooks), Dlink (routers) will work with Dlink (PCMCIA cards), etc.
    Lenovo is no different. You can expect 80-90% compatibility, but not 100%. To expect cross-vendor 100% compatibility, you will likely have to wait until 802.11n is "approved" and then the firmware is updated on all devices.

  • Using RS with SAP Netweaver - Timeout during allocate /CPIC 'ThSAPCMRCV'

    Hi All,
    I am trying to connect to a remote SAP BI  server from my local SQL server 2005 Reporting Services. I was able to view all info objects in the query builder but when I try to drill down and  view members / drag and drop to create a query / preview the RS report, I get the following error ,
    u201CError occurred  retrieving child nodes - error occurred when starting the parser - timeout during allocate: /CPIC-CALL 'ThSAPCMRCV' u201D.
    I have SAP front end and business explorer installed on my system. We also have the latest patches on SAP BI server.
    I tried changing the timeout value but dint help.
    Any help is appreciated.
    Many Thanks,
    Chitra

    Hi
    I think you should post this in basis and security forum.
    Cheers
    Chanda

  • Error during server installation..(NW2004s installlation with PI)...

    Hi all,
    I am getting this error during server installation..(NW2004s installlation with PI)...
    Execution of the command "C:\j2sdk1.4.2_09\bin\java.exe -classpath migmon.jar -showversion com.sap.inst.migmon.imp.ImportMonitor -dbType ORA -importDirs
    ctsintcosnw1\dump\NW04s_AIX\EXPORT_51031504\EXP1;
    ctsintcosnw1\dump\NW04s_AIX\EXPORT_51031504\EXP2;
    ctsintcosnw1\dump\NW04s_AIX\EXPORT_51031504\EXP3 -installDir "C:\Program Files\sapinst_instdir\NW04S\SYSTEM\ORA\CENTRAL\AS" -orderBy size -r3loadExe C:\usr\sap\LXI\SYS\exe\uc\NTI386\R3load.exe -tskFiles yes -extFiles yes -dbCodepage 4103 -impJobNum 3 -jobNum 3 -monitorTimeout 30 -loadArgs " -stop_on_error" -trace all -sapinst" finished with return code 2. Output: java version "1.4.2_09"Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-b05)Java HotSpot(TM) Client VM (build 1.4.2_09-b05, mixed mode)Required system resources are missing or not available: Import directory '
    ctsintcosnw1\dump\NW04s_AIX\EXPORT_51031504\EXP1' does not exist; Import directory '
    ctsintcosnw1\dump\NW04s_AIX\EXPORT_51031504\EXP2' does not exist; Import directory '
    ctsintcosnw1\dump\NW04s_AIX\EXPORT_51031504\EXP3' does not exist.
    But the fact is the specified files are there in that specified location..(it is in mapped drive and i am working through remote logon)..
    waiting for ur relies..
    Its highly needed..
    Points will be rewarded definitely..
    With regards,
    Manikandan Rajendran,
    Cognizant.

    Hi Manikandan,
    Mapping the drives is not enough, you need to make sure that <sid>adm and SAPservice<sid> have enough rights to access those paths...
    Hope this help!
    Juan

  • Unable to send keystrokes and Mouse strokes in during WinPE phase with iDRAC7

    Primary Site running SCCM 2012 R2
    Unable to send keystrokes and Mouse strokes in during WinPE phase. The system is awaiting response "password" on Task Sequence step however the machine won't accept keyboard and mouse inputs. This happens with iDRAC7 Version1.0.
    Trying to image Dell servers with SCCM 2012 R2. The desktops work fine and able to image.

    Download and install iDRAC7 firmware to revision 1.57.57 or later.

  • One phase commit optimization with AQ as Foreign JMS Provider?

    Hello,
    we currently use Weblogic JMS and Oracle DB in our server. This requires XA and the two phase commit.
    We are considering to switch from Weblogic JMS to Oracle AQ. The main reason is to move persistence from files to the DB (which is RAC). We could use JDBC persistence, but we think AQ will be more efficient and flexible.
    We also hope that using AQ will allow WLS to make use of the one phase commit optimization in XA (when only one resource manager is involved). But I am wondering if the extra abstraction of the Foreign JMS Provider prevents that optimization.
    Anybody know? Have tried this?
    Thanks...
    Roger

    This might be of help to you. https://xa-compliant-oracleaq.projects.dev2dev.bea.com
              In this case, whenever the MDB polls on the bound QCF(This is a Referenceable Object), WebLogic calls the ObjectFactory class and recreates the QCF for the MDB. I think you can take a similar approach. Mind you will have to implement the Referenceable interface for this. This way, you won't have to re-run your startup class.
              cheers !
              Dips

Maybe you are looking for

  • New Barlclaycard rewards going to be chip and pin?

    So now that we know that the rewards card is going to be available with a chip I sent them a message to see when I can get it. This is part of their response:  ------------------------------------------------------------------------------------------

  • OAS407 and Oracle815/816 Package Problem

    Hello !! I have this weird problem .... I am using the PLSQL cartridge It is a registration form with about 27 parameters to be accepted from the user validatd thur javascript and then inserted into the Oracle Database.. Thats it that simple. My code

  • Full text search in contacts

    In my OS X address-book it is very easy to find names even when they're filed under their company's name. I can even search for the name of the road they live in or a key word in the notes attached to a name. With iPhone's contacts this is impossible

  • CC 2014.1.1 Build 6982 buggy as f***

    WTH Adobe! Build # 6982 is worse than garbage - I can't get work done like this! Thanks for the buggy *** update! Event the most mundane of tasks (insert an image????) causes wide-spread chaos! Things that have worked for years are broken! WTH? You u

  • What best to buy for exporting machine

    Hello everyone, My I suggested to buy new workforce to increase our export hours per week so we can deliver more material to our clients per week, and my boss gave me green light to buy 3 computers. I already have 3 machines (2 pc cori7 and cori5 and