1 Reply Latest reply on Mar 11, 2015 3:14 PM by SHAKTI MOHAPATRA

    Getting Preview error in Teiid desginer perspective in Jboss studio !!!

    SHAKTI MOHAPATRA Newbie

      Hi ,

       

      I am having Jboss Developer studio 8.0 and Teiid designer version 8.7.1 running on top of that. I am able to create a connection profiles in database perspective such as DB2, Teradata. I am able to execute queries for Teradata as well as db2 thru DB Perspective. However when I try to set up a model in Teiid perspective and try to preview the data for a Teradata model , I am getting the below error.

       

      TEIID30481 Failed to find the Connection Factory with JNDI name PREVIEW

       

      I verified the Teiid server and it's instance , both started and admin/jdbc user connection are OK. Please let me know if anybody has any pointers where could it be going wrong.
      Thanks and Regards,
      Shakti
      .
        • 1. Re: Getting Preview error in Teiid desginer perspective in Jboss studio !!!
          SHAKTI MOHAPATRA Newbie

          Hi ,

           

          I was able to track and resolve the issue. The issue was the wrong driver class being saved in model connection profile. Though I updated the driver class in the connection profile in Database Developement perspective , but in model it was not reflecting. So I had to delete the connection profile, delete the model then created new connection profile with correct driver class and then created the model importing the newly created connection profile. Now I am able to preview the data.

           

           

          Note: You can check the connection profile for your model :

          Model explorer > go to the model > right click > Modeling > View Connection Profile Info

           

          Thanks,

          Shakti