Bug 780480 (SOA-2908) - Deploying VDB XML file before data sources leads to failed deployment
Summary: Deploying VDB XML file before data sources leads to failed deployment
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-2908
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.1.0.CR1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: FUTURE
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-14 16:49 UTC by Paul Nittel
Modified: 2011-02-24 18:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-02-24 18:30:16 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 780413 0 high CLOSED API to force metadata read 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker SOA-2908 0 Major Closed Deploying VDB XML file before data sources leads to failed deployment 2013-09-25 15:30:00 UTC
Red Hat Issue Tracker TEIID-1470 0 Major Closed Deploying VDB XML file before data sources leads to failed deployment 2013-09-25 15:29:59 UTC

Internal Links: 780413

Description Paul Nittel 2011-02-14 16:49:38 UTC
Workaround Description: Copy the file with the data source first (or simultaneously), or restart the server.
project_key: SOA

Using the dynamic portfolio example, the readme instructs the user to:

Copy the following files to the <jboss.home>/server/default/deploy directory.
	- portfolio-vdb.xml
	- marketdata-file-ds.xml

If the user, in fact, deploys the files in that order, and waits to see the VDB deploy before copying the data source, here's what happens.

The VDB deploys (inactive state)
The data source deploys successfully
The VDB status changes to active.

Queries will fail however as the VDB does not have access to the metadata. Had the file been copied in the reverse order, it would have all worked.

Issues at play are:
1) The readme's copying instructions are backwards, and
2) The VDB is marked as active when it should not be

Both should be corrected.

Comment 1 Van Halbert 2011-02-14 18:18:32 UTC
There is actually a bug in Teiid that's results in having to deploy the datasoure(s) prior to deploying the dynamic vdb.   Until the bug is fixed, the user will need to deploy the files in the specified order (i.e., first, datasources, then the -vdb.xml file).

Comment 2 Van Halbert 2011-02-14 18:18:48 UTC
Link: Added: This issue Cloned to SOA-2909


Comment 3 Van Halbert 2011-02-24 18:29:17 UTC
Link: Added: This issue is related to SOA-2844



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