Bug 1035892

Summary: JDG resource adapter fails to start when starting server
Product: [JBoss] JBoss Data Virtualization 6 Reporter: Filip Elias <felias>
Component: TeiidAssignee: Van Halbert <vhalbert>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0CC: fnguyen, vhalbert
Target Milestone: ER6   
Target Release: 6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Users are finding, when they are starting JBoss Data Virtualization, that the JBoss Data Grid resource adapter sometimes fails to start if it is configured for local caching. There is a timing issue that will be resolved with the release of JBoss Data Grid version 6.2.
Story Points: ---
Clone Of: Environment:
DV6 ER4
Last Closed: 2014-02-06 15:37:24 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:
Bug Depends On: 1022609    
Bug Blocks:    
Attachments:
Description Flags
Server log with the error
none
Server Configuration none

Description Filip Elias 2013-11-28 18:17:41 UTC
Created attachment 830341 [details]
Server log with the error

JDG resource adapter fails to start sometimes if it is configured for local infinispan cache. This behaviour occurs randomly when starting DV6 server. 
It seems that cache container isn't started yet when JDG resource adapter searches the cache.

See attached log:
Resource adapter fails on lines 723-756
Cache container starts on line  766

Comment 1 Filip Nguyen 2013-11-29 08:34:38 UTC
Created attachment 830520 [details]
Server Configuration

Attaching configuration of the server that exhibits the issue.

Comment 2 Van Halbert 2013-11-29 14:47:13 UTC
There error is:    javax.naming.NameNotFoundException:
because there is a timing issue with the starting of the Infinispan cache(s).  There are changes (https://bugzilla.redhat.com/show_bug.cgi?id=1022609) coming soon to support JDG 6.2, which will include a change regarding this that will delay looking up the cache until its needed.

Comment 4 Filip Elias 2014-01-07 10:18:03 UTC
Verified on DV 6 CR1