Bug 1035892 - JDG resource adapter fails to start when starting server
Summary: JDG resource adapter fails to start when starting server
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Virtualization 6
Classification: JBoss
Component: Teiid
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER6
: 6.0
Assignee: Van Halbert
QA Contact:
URL:
Whiteboard:
Depends On: 1022609
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-28 18:17 UTC by Filip Elias
Modified: 2014-07-09 05:00 UTC (History)
2 users (show)

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.
Clone Of:
Environment:
DV6 ER4
Last Closed: 2014-02-06 15:37:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Server log with the error (2.25 MB, text/x-log)
2013-11-28 18:17 UTC, Filip Elias
no flags Details
Server Configuration (32.15 KB, text/xml)
2013-11-29 08:34 UTC, Filip Nguyen
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.