1 Reply Latest reply on Dec 21, 2010 11:22 AM by rareddy

    teiid 7.2/designer 7.2 beta 1: lots of errors in eclipse message log...

    m.ardito

      Hi, i'm trying to learn "full" vdb modeling, using teiid 7.2 and designer 7.2 beta 1 connecting from a remote workstation to the server.

       

      I can import source models from jdbc datasource, and preview sql results from the sources

       

      my project is teiid1, source model is apimix_prenotazioni_test. i attach my current project screenshot

       

      Teiid Designer - teiid1apimix_prenotazioni_test_01.png

       

      as soon as i test sql preview from the source model, i see three new files created on the teiid server through ssh or jboss admin web console

      on designer teiid server instance appeared only the second for a while then disappeared... ?

      -rw-r--r--  1 jbadmin jbadmin  1882 2010-12-21 12:45 PREVIEW_aaca5f8a-57fd-4a2b-9039-f5237c1c2bea_teiid1_apimix_prenotazioni_test-ds.xml
      -rw-r--r--  1 jbadmin jbadmin 22243 2010-12-21 12:46 PREVIEW_aaca5f8a-57fd-4a2b-9039-f5237c1c2bea_teiid1_apimix_prenotazioni_test.vdb
      -rw-r--r--  1 jbadmin jbadmin   308 2010-12-21 12:46 PREVIEW_aaca5f8a-57fd-4a2b-9039-f5237c1c2bea_teiid1_project.vdb

       

      if i go further, strange things happen, and my impression is they're not so easy to reproduce... the only rock solid thing is: i can't delete anything i create under project, it has no effect, and some error messages in the eclipse log console, often about: com.metamatrix.modeler.internal.core.workspace.WorkspaceResourceFinderUtil.getDependentResources(WorkspaceResourceFinderUtil.java:399)

       

      i'd like to proceed only when i'm sure the base setup is working, so,  what to check to make sure that:

      - teiid server is connected without problems

      - the model is imported without problems

       

      and what to do next?

       

      Marco

        • 1. Re: teiid 7.2/designer 7.2 beta 1: lots of errors in eclipse message log...
          rareddy

          Marco,

           

          Good eye for detail, I like that! Now for the explanation as to what is happening under the hood.

           

          Teiid exposes its admin functionality through "Admin API", with this API a client can write a management console Teiid. Designer is also such client to Teiid that uses API to deploy VDBs, data sources etc.

           

          Since a single Teiid instance can be shared  by multiple Designers, Designer uses a UUID prefix to all its artifacts so that it can uniquely identify them, thus the naming of these artifacts. For preview to work, Designer deploys each individual model as its own *internal* VDB into Teiid along with required datasource. Since these are temporary artifacts that are maintained only for the duration of session, it tries to hide them as they do not provide any meaningful information to the user. If you would like to see them, you can set the preference to view "Show Preview VDBs" and "Show Preview Data Sources" on the "Teiid" property window.

           

          So, everything is working as designed.

           

          Hope this helps.

           

          Ramesh..