Bug 1100591
| Summary: | CMR recovery problem with DB2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Hayk Hovsepyan <hhovsepy> | ||||
| Component: | Transaction Manager | Assignee: | Michael <mmusgrov> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondrej Chaloupka <ochaloup> | ||||
| Severity: | high | Docs Contact: | Russell Dickenson <rdickens> | ||||
| Priority: | unspecified | ||||||
| Version: | 6.3.0 | CC: | hhovsepy, ochaloup, tom.jenkinson | ||||
| Target Milestone: | ER9 | ||||||
| Target Release: | EAP 6.3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 14:34:50 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
|
Description
Hayk Hovsepyan
2014-05-23 07:27:40 UTC
Created attachment 898566 [details]
DB2-10TRACE
One more strange thing is that XID and ACTIONUID columns have Null value in "xids" table. Even when making XID and ACTIONUID columns to be NOT NULL while creating "xids" table, they still have NULL values. Here is a log message which can be the cause of problem: "14:12:06,051 WARN [com.arjuna.ats.arjuna] (Periodic Recovery) Could not handle connection: com.ibm.db2.jcc.am.SqlSyntaxErrorException: [jcc][t4][1092][11638][4.13.127] Invalid data conversion: Wrong result column type for requested conversion. ERRORCODE=-4461, SQLSTATE=42815" Hi Hayk, I can confirmed the issue is just with the create table syntax we are using: https://github.com/tomjenkinson/narayana/commit/fd01f015041fbf6c2d8a8c2a49a7cb6ad39ad943 It should be: create table xids (xid VARCHAR(255) for bit data not null, transactionManagerID varchar(64), actionuid VARCHAR(255) for bit data not null) Please can you verify it works for your test and if so we can raise a documentation issue. Thanks, Tom Hi Tom, Thank you for doing research. I confirm that test scenarios work with the new "create table" syntax. So putting the issue verified. Thanks, Hayk. |