[
https://issues.jboss.org/browse/TEIIDDES-885?page=com.atlassian.jira.plug...
]
Dan Florian commented on TEIIDDES-885:
--------------------------------------
The PreviewTableDataContextAction *DOES* check to see if any preview-related jobs are
running. If there are preview jobs running the action informs the user that preview will
not be available until those preview jobs are finished. Since all our VDBs have a version
equal to "1", I suspect that it has something to do with the timing of Teiid
replacing (deleting then adding) the PVDB and Designer preview expecting it to be there.
Preview Data fails if attempted immediately after "Save"
model.
---------------------------------------------------------------
Key: TEIIDDES-885
URL:
https://issues.jboss.org/browse/TEIIDDES-885
Project: Teiid Designer
Issue Type: Bug
Components: Data Preview
Affects Versions: 7.3
Reporter: Barry LaFond
Assignee: Dan Florian
Priority: Critical
Fix For: 7.4
Set up Designer with sample project with source model and connect to Teiid Instance
1) Open Package diagram for model and select Table
2) Select Preview Data action and see successful results
3) Drag diagram component and Save
4) Click Preview Data action right after click save
5) Get query result of: "Remote org.teiid.core.TeiidProcessingException: Failed to
find the Connection Factory with JNDI name
PREVIEW_42463872-ecd7-46dd-93b1-450354a53b55_PartsProject_PartsSourceB. Please check the
name or deploy the Connection Factory with specified name."
6) Wait a few more seconds and try Preview Data again and it'll be successful
Guessing the create/deploy/redeploy VDB and maybe Data Source jobs aren't complete
yet or are waiting for auto-build to run or something.
Maybe in the Preview Data action we can check the PreviewManager and stop the action of
PVDB jobs are running. Or we schedule/wait the new PVDB jobs until existing are finished
running.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira