Support H2 XA for WAS Community Edition

Technote (troubleshooting)


Problem(Abstract)

Customer with using H2 XA can not deploy their packages. It throws ClassCastException when deploying packages.

Cause

WAS Community Edition does not support H2 XA

Resolving the problem

Develop a tranql-connector-h2-xa.rar for customer use. Here is the instrument on how to use:

1. Modify the h2-ra-sample.xml as needed

2. Add H2 driver jar file to repository via admin console

1) Click Repository link and Browse and add the jar file

2) Click Install

3) Check the jar file is installed in the [your installation path]/repository

3. Deploy H2 XA rar with the h2-ra-sample.xml plan via admin console

1) Click Deployer on the admin console

2) Browse and add the tranql-connector-h2-xa.rar and h2-ra-sample.xml

3) Click Install

Note that WAS Community Edition just support deploying H2 XA rar with plan directly, you can not use the creating database pool wizard from admin console to create H2 XA database pool.


Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Application Server Community Edition
TranQLRAR

Software version:

2.1, 2.1.1.2, 2.1.1.4, 2.1.1.5, 2.1.1.6, 3.0, 3.0.0.0, 3.0.0.1

Operating system(s):

Linux, Windows

Software edition:

Enhanced

Reference #:

1588395

Modified date:

2012-12-13

Translate my page

Machine Translation

Content navigation