geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Forrest Xia (JIRA)" <...@geronimo.apache.org>
Subject [jira] Created: (DAYTRADER-66) Non-transactional datasource deployment descriptor use transactional definition in db2 and oracle deployment plan
Date Mon, 16 Feb 2009 06:02:59 GMT
Non-transactional datasource deployment descriptor use transactional definition in db2 and
oracle deployment plan
-----------------------------------------------------------------------------------------------------------------

                 Key: DAYTRADER-66
                 URL: https://issues.apache.org/jira/browse/DAYTRADER-66
             Project: DayTrader
          Issue Type: Bug
          Components: buildsystem
    Affects Versions: 2.0
         Environment: daytrader trunk
            Reporter: Forrest Xia
            Assignee: Forrest Xia
            Priority: Minor


In DB2 and Oracle deployment plan, there are deployment descriptor like this:
DB2:
                         <connectiondefinition-instance>
                            <name>jdbc/NoTxTradeDataSource</name>
                            <config-property-setting name="UserName">trade</config-property-setting>
                            <config-property-setting name="Password">trade</config-property-setting>
                            <config-property-setting name="PortNumber">50001</config-property-setting>
                            <config-property-setting name="ServerName">localhost</config-property-setting>
                            <config-property-setting name="DatabaseName">tradedb</config-property-setting>
                            <config-property-setting name="DriverType">4</config-property-setting>
                            <connectionmanager>
                                <xa-transaction>
                                    <transaction-caching/>
                                </xa-transaction>
                                <single-pool>
                                    <max-size>10</max-size>
                                    <min-size>0</min-size>
                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                    <idle-timeout-minutes>30</idle-timeout-minutes>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>
Oracle:
                        <connectiondefinition-instance>
                            <name>jdbc/NoTxTradeDataSource</name>
                            <config-property-setting name="UserName">trade</config-property-setting>
                            <config-property-setting name="Password">trade</config-property-setting>
                            <config-property-setting name="DatabaseName">tradedb</config-property-setting>
                            <config-property-setting name="DataSourceName">TradeDataSource</config-property-setting>
                            <config-property-setting name="ServerName">localhost</config-property-setting>
                            <config-property-setting name="PortNumber">1160</config-property-setting>
                            <config-property-setting name="DriverType">thin</config-property-setting>
                            <connectionmanager>
                                <xa-transaction>
                                    <transaction-caching/>
                                </xa-transaction>
                                <single-pool>
                                    <max-size>10</max-size>
                                    <min-size>0</min-size>
                                    <blocking-timeout-milliseconds>5000</blocking-timeout-milliseconds>
                                    <idle-timeout-minutes>30</idle-timeout-minutes>
                                    <match-one/>
                                </single-pool>
                            </connectionmanager>
                        </connectiondefinition-instance>

Obviously, the snippet "<xa-transaction><transaction-caching/></xa-transaction>"
is not correct for a non-transactional datasource.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message