Hide Forgot
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.
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).
Link: Added: This issue Cloned to SOA-2909
Link: Added: This issue is related to SOA-2844