I have put your suggestions into my plan.xml. but maven still complains?

<?xml version="1.0" encoding="UTF-8"?>
<connector xmlns="http://geronimo.apache.org/xml/ns/j2ee/connector-1.2";>
    <dep:environment
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2";>
        <dep:moduleId>
            <dep:groupId>console.dbpool</dep:groupId>
            <dep:artifactId>my_users</dep:artifactId>
            <dep:version>1.0</dep:version>
            <dep:type>rar</dep:type>
        </dep:moduleId>
        <dep:dependencies>
            <dep:dependency>
                <dep:groupId>mysql</dep:groupId>
                <dep:artifactId>mysql-connector-java</dep:artifactId>
                <dep:version>5.1.7</dep:version>
                <dep:type>jar</dep:type>
            </dep:dependency>
        </dep:dependencies>
    </dep:environment>
    
    <resourceadapter>
        <outbound-resourceadapter>
            <connection-definition>
               
<connectionfactory-interface>javax.sql.DataSource</connectionfactory-interface>
                <connectiondefinition-instance>
                    <name>callingcard_users</name>
                    <config-property-setting
name="Password">josso123$</config-property-setting>
                    <config-property-setting
name="connectionURL">http://localhost:3306/my_users</config-property-setting>
                    <config-property-setting
name="UserName">josso</config-property-setting>
                    <connectionmanager>
                        <xa-transaction>
                            <transaction-caching/>
                        </xa-transaction>
                        <single-pool>
                            <max-size>10</max-size>
                            <min-size>0</min-size>
                            <match-one/>
                        </single-pool>
                    </connectionmanager>
                </connectiondefinition-instance>
            </connection-definition>
        </outbound-resourceadapter>
    </resourceadapter>
</connector>

1. Maven complains that the attribute DatabaseName is not valid, I have to
change to connectionURL
2. Where does it look to find out if the driver is XA or not?
3. I tried to put in the node <ext-module>, maven erred out with message,
<ext-module> is not valid node 

Thanks
-B


bongosdude wrote:
> 
> David,
> 
> I could not figure out how to copy the plan out of the dbpool wizard. Can
> you show me the steps?
> 
> -B
> 
> 
> djencks wrote:
>> 
>> The easiest way is to use the admin console database wizard.  You can  
>> copy the plan out of the wizard to put into your plan.xml source.  You  
>> can duplicate the xa pool and change the tx element to <no- 
>> transaction> for the non-jta datasource
>> 
>> thanks
>> david jencks
>> 
>> On Jan 18, 2009, at 6:47 PM, bongosdude wrote:
>> 
>>>
>>> Can someone show me how to create deployment plan for MySQL XA  
>>> datasource?
>>> How is about MS SQL (local transaction)
>>>
>>> Thanks
>>> -B
>>>
>>> -----
>>> B Amigo:super:
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/deployment-for-MySQL-XA.-tp21536125s134p21536125.html
>>> Sent from the Apache Geronimo - Users mailing list archive at  
>>> Nabble.com.
>>>
>> 
>> 
>> 
> 
> 


-----
B Amigo:super:
-- 
View this message in context: 
http://www.nabble.com/deployment-for-MySQL-XA.-tp21536125s134p21552390.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.

Reply via email to