users@glassfish.java.net

Re: JTS5041: The resource manager is doing work outside a global transaction

From: <glassfish_at_javadesktop.org>
Date: Tue, 29 Jul 2008 09:22:02 PDT

That's for the response. Sadly, this is not the issue as allow-non-component-callers is already set to true.

I have 3 datasources defined for our application. Below are the entries in domain.xml

    <jdbc-connection-pool allow-non-component-callers="true" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="com.sybase.jdbc3.jdbc.SybXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="true" is-isolation-level-guaranteed="false" 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="60000" name="cosmosConnectionPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
      <property name="user" value="dbuser"/>
      <property name="password" value="dbpassword"/>
      <property name="BE_AS_JDBC_COMPLIANT_AS_POSSIBLE" value="true"/>
      <property name="IGNORE_DONE_IN_PROC" value="true"/>
      <property name="portNumber" value="2100"/>
      <property name="databaseName" value="ciim"/>
      <property name="APPLICATIONNAME" value="QuoteServer"/>
      <property name="serverName" value="DBSERVER1"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="true" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="com.sybase.jdbc3.jdbc.SybXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="true" is-isolation-level-guaranteed="false" 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="60000" name="partnerConnectionPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
      <property name="user" value="dbuser"/>
      <property name="password" value="dbpassword"/>
      <property name="BE_AS_JDBC_COMPLIANT_AS_POSSIBLE" value="true"/>
      <property name="IGNORE_DONE_IN_PROC" value="true"/>
      <property name="portNumber" value="2100"/>
      <property name="databaseName" value="price"/>
      <property name="APPLICATIONNAME" value="QuoteServer"/>
      <property name="serverName" value="DBSERVER2"/>
    </jdbc-connection-pool>
    <jdbc-connection-pool allow-non-component-callers="true" associate-with-thread="false" connection-creation-retry-attempts="0" connection-creation-retry-interval-in-seconds="10" connection-leak-reclaim="false" connection-leak-timeout-in-seconds="0" connection-validation-method="auto-commit" datasource-classname="com.sybase.jdbc3.jdbc.SybXADataSource" fail-all-connections="false" idle-timeout-in-seconds="300" is-connection-validation-required="true" is-isolation-level-guaranteed="false" 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="60000" name="quotingConnectionPool" non-transactional-connections="false" pool-resize-quantity="2" res-type="javax.sql.XADataSource" statement-timeout-in-seconds="-1" steady-pool-size="8" validate-atmost-once-period-in-seconds="0" wrap-jdbc-objects="false">
      <property name="user" value="dbuser"/>
      <property name="password" value="dbpassword"/>
      <property name="BE_AS_JDBC_COMPLIANT_AS_POSSIBLE" value="true"/>
      <property name="IGNORE_DONE_IN_PROC" value="true"/>
      <property name="portNumber" value="2100"/>
      <property name="databaseName" value="quoting"/>
      <property name="APPLICATIONNAME" value="QuoteServer"/>
      <property name="serverName" value="DBSERVER3"/>
    </jdbc-connection-pool>
[Message sent by forum member 'cmathrusse' (cmathrusse)]

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