1 Reply Latest reply on May 17, 2002 11:52 PM by David Jencks

    Configuration Parameter for setting Autocommit to false

    Shankar Newbie

      Hi,

      I am using JBOSS 2.4.6 and Oracle 8i. There is a stateful session bean which starts user transaction in one method and ends the transaction in other. If I shut JBOSS down after the first method has executed, before the the second method, the transaction gets committed. I am using XADataSourceLoader. The snippet from jboss.jcml is,


      OracleDS
      org.jboss.pool.jdbc.xa.wrapper.XADataSourceImpl

      jdbc:oracle:thin:@localhost:1521:bdnabiz1
      1200000
      biz
      10
      biz
      true
      true
      false
      true
      120000
      1800000
      true
      false
      1.0
      0


      I am sure I am missing some configuration setting somewhere which prevents a transaction being committed on shutdown or timeout. Can anyone point me to it.

      Thanks.

      Shankar