Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java in General
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Java in General
db2 as/400 and datasource
mark smith
Ranch Hand
Posts: 264
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
i would like to know how to use XA Resource with db2 as/400
i tried
<datasources> <xa-datasource> <jndi-name>proximeoDatasource</jndi-name> <connection-url>jdbc:as400://test05/EADEV;extended dynamic=true;package=jbpkg;package cache=true;package library=jboss;errors=full</connection-url> <xa-datasource-class>COM.ibm.db2.jdbc.DB2XADataSource</xa-datasource-class> <xa-datasource-property name="User">test</xa-datasource-property> <xa-datasource-property name="Password">test</xa-datasource-property> <min-pool-size>0</min-pool-size> <!-- sql to call when connection is created <new-connection-sql>some arbitrary sql</new-connection-sql> --> <!-- sql to call on an existing pooled connection when it is obtained from pool <check-valid-connection-sql>some arbitrary sql</check-valid-connection-sql> --> <!-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) --> <metadata> <type-mapping>DB2/400</type-mapping> </metadata> </xa-datasource> </datasources>
but connection-url don't exist for xa-datasource
thanks
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Transaction Management between two Data Center
Connection Pooling in JBoss v5.0 with IBM DB2
Not Finding DataSource in JNDI Tree
Connection Pooling in JBoss v5.0 with IBM DB2
Configuring Datasource to use a default schema
More...