Bug 1107991

Summary: When password is not defined in xa datasource recovery is not run in any case
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Ondrej Chaloupka <ochaloup>
Component: JCAAssignee: Martin Simka <msimka>
Status: CLOSED DUPLICATE QA Contact: Ondrej Chaloupka <ochaloup>
Severity: high Docs Contact: Russell Dickenson <rdickens>
Priority: unspecified    
Version: 6.3.0CC: hhovsepy, jcacek, myarboro, ochaloup
Target Milestone: ---Keywords: Reopened
Target Release: EAP 6.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-25 09:16: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 Flags
server.log with trace on Narayana none

Description Ondrej Chaloupka 2014-06-11 08:57:55 UTC
Created attachment 907536 [details]
server.log with trace on Narayana

If xa datasource does not define password then recovery is not run neither in case that password is not needed for connection to database.

When you define just:
 <security>
   <user-name>crashrec</user-name>
</security>

Then attempt for recovery ends with WARNING and recovery itself it's not run for the particular XA datasource:
10:12:58,137 WARN  [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000904: No security domain defined for crash recovery: java:jboss/xa-datasources/CrashRecoveryDS
10:12:58,138 WARN  [org.jboss.jca.core.tx.jbossts.XAResourceRecoveryImpl] (Periodic Recovery) IJ000905: Subject for crash recovery was null: java:jboss/xa-datasources/CrashRecoveryDS

Comment 1 Jesper Pedersen 2014-09-02 19:51:03 UTC
Fixed as part of JBJCA-1181

Comment 2 Ondrej Chaloupka 2014-09-03 12:11:29 UTC
Based on bz#1130281 the fix does not work.

This issue is meant for 6.4.0. Setting the versions appropriately.

Comment 3 JBoss JIRA Server 2014-09-12 13:41:35 UTC
Ivo Studensky <istudens> updated the status of jira JBJCA-1181 to Reopened

Comment 4 JBoss JIRA Server 2014-09-12 13:49:15 UTC
Jesper Pedersen <jpederse> updated the status of jira JBJCA-1181 to Closed

Comment 5 Martin Simka 2014-09-25 09:16:50 UTC

*** This bug has been marked as a duplicate of bug 1132192 ***