Uploaded image for project: 'JBoss Enterprise SOA Platform'
  1. JBoss Enterprise SOA Platform
  2. SOA-2843

Teiid "dynamicvdb-portfolio" example demonstrates dynamic VDB loading sequence issue

    Details

    • Affects:
      Documentation (Ref Guide, User Guide, etc.), Interactive Demo/Tutorial
    • Workaround Description:
      Hide

      To work around this error - the user must:

      1. Stop the server
      2. Delete the teiid cache (server/profile/
      3. Perform steps 1-4 - in the order listed above.

      The problem and workaround seem to be 100% reproducible.

      Show
      To work around this error - the user must: 1. Stop the server 2. Delete the teiid cache (server/profile/ 3. Perform steps 1-4 - in the order listed above. The problem and workaround seem to be 100% reproducible.
    • Release Notes Text:
      Hide
      Dynamic VDBs capture source meta-data when they are deployed. Dynamic VDBs without meta-data caching enabled also do this at every time the server starts. However the captured meta-data will be invalid if the referenced data sources are not available when the dynamic VDB is deployed or if the metadata changes afterwards. This can be fixed by redeploying the dynamic VDB. This will also be fixed in a non-caching dynamic VDB by restarting the server.
      Show
      Dynamic VDBs capture source meta-data when they are deployed. Dynamic VDBs without meta-data caching enabled also do this at every time the server starts. However the captured meta-data will be invalid if the referenced data sources are not available when the dynamic VDB is deployed or if the metadata changes afterwards. This can be fixed by redeploying the dynamic VDB. This will also be fixed in a non-caching dynamic VDB by restarting the server.
    • Release Notes Docs Status:
      Documented as Known Issue

      Description

      If the user executes the example's steps in the order - then the example runs successfully:

      1. Start the server
      2. Create the DB tables
      3. Deploy the .vdb file
      4. At this point - this command returns the expected rows: ./run.sh localhost 31000 dynamicportfolio "select * from product"

      But - if the user performs step #3 first, then the query performed in step #4 fails with an error of:

      Caused by: [TeiidProcessingException]Remote org.teiid.api.exception.query.QueryResolverException: Group does not exist: product

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dmison Dana Mison
                  Reporter:
                  ldimaggio Len DiMaggio
                  Writer:
                  Dana Mison
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: