Hi all,

These days I am doing a transaction retry test against geronimo tomcat 2.1.7
snapshot. I know there are some improvements on transaction handling in the
coming G 2.1.7 release and assume the transaction retry should be OK, but
the test results does not show that.

So my question is that, is there any special configuration when we do app
deployment? Can anyone shed a light for me? thanks a lot!

Attached is my application deployment plan for review.

Thanks in advance!

Forrest
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<app:application xmlns:app="http://geronimo.apache.org/xml/ns/j2ee/application-2.0"; xmlns:client="http://geronimo.apache.org/xml/ns/j2ee/application-client-2.0"; xmlns:conn="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2"; xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2"; xmlns:ejb="http://openejb.apache.org/xml/ns/openejb-jar-2.2"; xmlns:log="http://geronimo.apache.org/xml/ns/loginconfig-2.0"; xmlns:name="http://geronimo.apache.org/xml/ns/naming-1.2"; xmlns:pers="http://java.sun.com/xml/ns/persistence"; xmlns:pkgen="http://openejb.apache.org/xml/ns/pkgen-2.1"; xmlns:sec="http://geronimo.apache.org/xml/ns/security-2.0"; xmlns:web="http://geronimo.apache.org/xml/ns/j2ee/web-2.0.1"; application-name="ear1">
    <dep:environment>
        <dep:moduleId>
            <dep:groupId>default</dep:groupId>
            <dep:artifactId>TXBankEAR</dep:artifactId>
            <dep:version>1.0</dep:version>
            <dep:type>car</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>com.ibm.db2</dep:groupId>
                <dep:artifactId>db2jcc</dep:artifactId>
                <dep:version>8.2</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
            <dep:dependency>
                <dep:groupId>com.ibm.db2</dep:groupId>
                <dep:artifactId>db2jcc_license_cu</dep:artifactId>
                <dep:version>8.2</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
        </dep:dependencies>
    </dep:environment>
    <app:ext-module>
        <app:connector>TXBank1DataSource</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-db2-xa</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                        <conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>jdbc/db2/txbank1</conn:name>
                            <conn:config-property-setting name="UserName">inst1</conn:config-property-setting>
                            <conn:config-property-setting name="Password">passw0rd</conn:config-property-setting>
                            <conn:config-property-setting name="PortNumber">50000</conn:config-property-setting>
                            <conn:config-property-setting name="ServerName">txtest1</conn:config-property-setting>
                            <conn:config-property-setting name="DatabaseName">txbank1</conn:config-property-setting>
                            <conn:config-property-setting name="DriverType">4</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:xa-transaction>
                                    <conn:transaction-caching/>
                                </conn:xa-transaction>
                                <conn:single-pool>
                                    <conn:max-size>100</conn:max-size>
                                    <conn:min-size>0</conn:min-size>
                                    <conn:blocking-timeout-milliseconds>5000</conn:blocking-timeout-milliseconds>
                                    <conn:idle-timeout-minutes>30</conn:idle-timeout-minutes>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
    <app:ext-module>
        <app:connector>TXBank2DataSource</app:connector>
        <app:external-path>
            <dep:groupId>org.tranql</dep:groupId>
            <dep:artifactId>tranql-connector-db2-xa</dep:artifactId>
            <dep:type>rar</dep:type>
        </app:external-path>
        <conn:connector>
            <conn:resourceadapter>
                <conn:outbound-resourceadapter>
                    <conn:connection-definition>
                        <conn:connectionfactory-interface>javax.sql.DataSource</conn:connectionfactory-interface>
                        <conn:connectiondefinition-instance>
                            <conn:name>jdbc/db2/txbank2</conn:name>
                            <conn:config-property-setting name="UserName">inst1</conn:config-property-setting>
                            <conn:config-property-setting name="Password">passw0rd</conn:config-property-setting>
                            <conn:config-property-setting name="PortNumber">50000</conn:config-property-setting>
                            <conn:config-property-setting name="ServerName">txtest2</conn:config-property-setting>
                            <conn:config-property-setting name="DatabaseName">txbank2</conn:config-property-setting>
                            <conn:config-property-setting name="DriverType">4</conn:config-property-setting>
                            <conn:connectionmanager>
                                <conn:xa-transaction>
                                    <conn:transaction-caching/>
                                </conn:xa-transaction>
                                <conn:single-pool>
                                    <conn:max-size>100</conn:max-size>
                                    <conn:min-size>0</conn:min-size>
                                    <conn:blocking-timeout-milliseconds>5000</conn:blocking-timeout-milliseconds>
                                    <conn:idle-timeout-minutes>30</conn:idle-timeout-minutes>
                                    <conn:match-one/>
                                </conn:single-pool>
                            </conn:connectionmanager>
                        </conn:connectiondefinition-instance>
                    </conn:connection-definition>
                </conn:outbound-resourceadapter>
            </conn:resourceadapter>
        </conn:connector>
    </app:ext-module>
</app:application>

Reply via email to