[GLASSFISH-18770] [regression] DTX5016:Error in XA recovery with NPE in loadXAResourcesAndItsConnections Created: 31/May/12  Updated: 20/Dec/16  Resolved: 01/Jun/12

Status: Resolved
Project: glassfish
Component/s: configuration
Affects Version/s: 4.0_dev
Fix Version/s: 4.0_dev

Type: Bug Priority: Critical
Reporter: sherryshen Assignee: Masoud Kalali
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

RHL5, JDK1.6.0_30

Attachments: Text File server_in1_gf4.0_b39.log     Text File server_in2_gf4.0_b38.log     Text File server_in2_gf4.0_b39.log     Text File server_in3_gf4.0_b39.log    
Tags: 3x_regression, 40-regression


DTX5016:Error in XA recovery was observed on b39.
Automatic Delegated Recovery w.r.t. an AS instance crash
tx log in database
The same test passed on b38.

In b39, exceptions are shown in instance server log before inserting data to db.
These exceptions in b39 are not shown in b38.
server.log files are attached,
e.g. server_in2_gf4.0_b39.log.
DTX5016:Error in XA recovery. See logs for more details
at com.sun.enterprise.resource.recovery.JdbcRecoveryResourceHandler.loadXAResourcesAndItsConnections(JdbcRecoveryResourceHandler.java:212)

After tx failures on b39, db lock is not released so that
other tx tests failed even if they passed at the suite level run.

Comment by marina vatkina [ 31/May/12 ]

It looks like the error was introduced by rev 54337 (I don't see the author of the change in the assignees list)

Comment by marina vatkina [ 31/May/12 ]

The previous rev (54321) will cause the same NPE

Comment by Masoud Kalali [ 31/May/12 ]

I am investigating the cause. I am not sure why it didn't show up in the devtests.

Comment by marina vatkina [ 31/May/12 ]

It is reproducible by devtests/transaction/ee/dblogs/base

Comment by sherryshen [ 01/Jun/12 ]

Not sure if other jms failure is related to this zero configuration
change in rev (54321)
Both 18770 and 18778 stopped sqe cluster test execution.

Comment by marina vatkina [ 01/Jun/12 ]

This issue should be marked as fixed. The fix was checked in yesterday and tx/ee devtests are back to normal.

Comment by sherryshen [ 01/Jun/12 ]

Thank Marina for identifying the cause and Masoud Kalali for fixing the issue promptly.
I verified the fix, i.e. cliweb5 test passed on ogs-4.0-b40-06_01_2012.zip
#11306 (May 31, 2012 3:09:19 PM)
54374. Fixing GLASSFISH-18770 — kalali / detail

Comment by Masoud Kalali [ 01/Jun/12 ]

Thank you for closing it. Was too busy and didn't get the chance to update the status after pushing the fix in.

Generated at Tue Jan 24 18:00:27 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.