users@glassfish.java.net

Re: RE: Global (User) Transaction Not Timing Out

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 May 2009 11:48:07 PDT

I believe I'm using an XA Transaction...Am I wrong?

The connection pool I'm using is defined as follows in the domain.xml (note the res-type is XADataSource):

    <jdbc-connection-pool allow-non-component-callers="false"
                          associate-with-thread="false"
                          connection-creation-retry-attempts="0"
                          connection-creation-retry-interval-in-seconds="10"
                          connection-leak-reclaim="true"
                          connection-leak-timeout-in-seconds="30"
                          connection-validation-method="auto-commit"
                          datasource-classname="com.microsoft.sqlserver.jdbc.SQLServerXADataSource"
                          fail-all-connections="false"
                          idle-timeout-in-seconds="30"
                          is-connection-validation-required="true"
                          is-isolation-level-guaranteed="true"
                          lazy-connection-association="false"
                          lazy-connection-enlistment="false"
                          match-connections="false"
                          max-connection-usage-count="0"
                          max-pool-size="32"
                          max-wait-time-in-millis="30000"
                          name="connectionPool"
                          non-transactional-connections="false"
                          pool-resize-quantity="2"
                          res-type="javax.sql.XADataSource"
                          statement-timeout-in-seconds="-1"
                          steady-pool-size="8"
                          transaction-isolation-level="serializable"
                          validate-atmost-once-period-in-seconds="0"
                          wrap-jdbc-objects="true">
      <property name="Password" value="******************"/>
      <property name="User" value="******************"/>
      <property name="databaseName" value="******************"/>
      <property name="serverName" value="******************"/>
    </jdbc-connection-pool>

TIA
[Message sent by forum member 'christopherrued' (christopherrued)]

http://forums.java.net/jive/thread.jspa?messageID=347354