1 2 Previous Next 15 Replies Latest reply on Jul 27, 2009 12:23 PM by rodrigobisterco

    Errors from Teiid Designer Plug-In

      Hi,

      I have two errors with the views Connectors and UDFs from Teiid Designer Plug-In.

      Connectors:
      Message:Could not create the view: Plug-in org.teiid.designer.dqp.ui was unable to load class com.metamatrix.modeler.internal.dqp.ui.workspace.ConnectorsView.

      UDFs:
      Message: Could not create the view: Plug-in org.teiid.designer.dqp.ui was unable to load class com.metamatrix.modeler.internal.dqp.ui.workspace.udf.UdfModelView.

      Can you help me?
      Thanks.

        • 1. Re: Errors from Teiid Designer Plug-In
          blafond

          Can you provide installation/config info?

          1) OS
          2) Eclipse version
          3) Teiid Designer version

          BTW, when inquiring about Designer issues please use the forum for Teiid Designer to get the largest applicable audience :)

          Thx

          Barry LaFond
          Teiid Designer Project Lead

          • 2. Re: Errors from Teiid Designer Plug-In

             

            "blafond" wrote:
            Can you provide installation/config info?

            1) OS
            2) Eclipse version
            3) Teiid Designer version

            BTW, when inquiring about Designer issues please use the forum for Teiid Designer to get the largest applicable audience :)

            Thx

            Barry LaFond
            Teiid Designer Project Lead


            Barry,

            Thank you very much per your quickly answer and sorry but i don't knew this other forum.

            1) OS - Windows XP Professional 2002 SP 3 (PT-Brazil)
            2) Eclipse version - Ganymede 3.4.2 Build id: M20090211-1700
            3) Teiid Designer version - 6.1.0.v20090611

            Rodrigo Bisterço - Brazil

            • 3. Re: Errors from Teiid Designer Plug-In
              blafond

              Rodrigo,

              Those should all be compatible.

              What's your Eclipse's Installed JRE? Designer requires 1.6

              Barry

              • 4. Re: Errors from Teiid Designer Plug-In

                 

                "blafond" wrote:
                Rodrigo,

                Those should all be compatible.

                What's your Eclipse's Installed JRE? Designer requires 1.6

                Barry

                Barry,

                I have installed JRE 1.6.0_10.
                It´s better a new version?

                Tks.
                Rodrigo


                • 5. Re: Errors from Teiid Designer Plug-In
                  blafond

                  Did you start with a clean Eclipse install or an existing 3.4.2 IDE used for other purposes?

                  You could also add the args: -consoleLog -debug to the eclipse.ini file (before the -vmargs) to capture start-up info, or close Designer perspective and re-open

                  Barry

                  • 6. Re: Errors from Teiid Designer Plug-In

                    Barry, I installed the Teiid Designer in a "clean" Eclipse.

                    Now I downloaded a new Eclipse (Ganymede Modeling Tools) and reinstall the Designer, but the errors not fixed.

                    I post my startup info in this link below:

                    http://docs.google.com/View?id=dgczfz42_234hfnsrxf6

                    • 7. Re: Errors from Teiid Designer Plug-In
                      rareddy

                      The root error from the exception is "configuration.xml" file is failing from load. This is file is XML file in UTF-8 format.

                      This file exists in org.teiid.designer.dqp_6.1.0.jar plugin under "dqp/config" folder. This plugin also expands to ".metadata" directory under "workspace" under the same plug-in name. Try to open this in browser and see if you have any issues.

                      I one thing I see your OS is

                      OS - Windows XP Professional 2002 SP 3 (PT-Brazil)

                      I am not sure if the UTF-8 parsing is somehow not supported with the JRE you have.

                      • 8. Re: Errors from Teiid Designer Plug-In

                         

                        "rareddy" wrote:
                        The root error from the exception is "configuration.xml" file is failing from load. This is file is XML file in UTF-8 format.

                        This file exists in org.teiid.designer.dqp_6.1.0.jar plugin under "dqp/config" folder. This plugin also expands to ".metadata" directory under "workspace" under the same plug-in name. Try to open this in browser and see if you have any issues.

                        I one thing I see your OS is

                        OS - Windows XP Professional 2002 SP 3 (PT-Brazil)

                        I am not sure if the UTF-8 parsing is somehow not supported with the JRE you have.


                        Hi,
                        The file "configuration.xml" open without fails.




                        • 9. Re: Errors from Teiid Designer Plug-In
                          rareddy

                          Is this from clean install? i.e You installed the eclipse 3.4.2 first and you installed Teiid Designer?

                          May be you can delete the ".metadata" directory in the workspace and try it. Beware that if you had any projects saved before they may be lost if you delete this directory. or make backup copy before delete.

                          If you downloaded the Teiid "embedded" runtime, try to run the example in it. See if that fails with same exception. (there are instructions on http://teiid.org on how to run Quick Start Example)

                          • 10. Re: Errors from Teiid Designer Plug-In

                             

                            "rareddy" wrote:
                            Is this from clean install? i.e You installed the eclipse 3.4.2 first and you installed Teiid Designer?

                            May be you can delete the ".metadata" directory in the workspace and try it. Beware that if you had any projects saved before they may be lost if you delete this directory. or make backup copy before delete.

                            If you downloaded the Teiid "embedded" runtime, try to run the example in it. See if that fails with same exception. (there are instructions on http://teiid.org on how to run Quick Start Example)



                            Yes, I download and installed the eclipse 3.4.2 ganymede.

                            I delete the ".metadata" and when open the Designer perspective, the Connectors and UDFs views the errors occurs.

                            I run the exemple (portifolio) without problems.

                            I will try install the Teiid Designer in a "clean" Eclipse in Win XP - EN.

                            • 11. Re: Errors from Teiid Designer Plug-In

                              As I suspected, the views works fine in a OS Win XP EN.

                              Thank you all

                              • 12. Re: Errors from Teiid Designer Plug-In
                                rareddy

                                I guess that is good and bad news I guess. The Designer *supposed* to work independent of internationalization code.

                                Is it possible for you to help us debug the issue? If it is you can setup remote VM debug session into eclipse instance and debug. You would need to download the source code for it though.

                                • 13. Re: Errors from Teiid Designer Plug-In

                                   

                                  "rareddy" wrote:
                                  I guess that is good and bad news I guess. The Designer *supposed* to work independent of internationalization code.

                                  Is it possible for you to help us debug the issue? If it is you can setup remote VM debug session into eclipse instance and debug. You would need to download the source code for it though.


                                  Cool! But I have no ideia how do it. Can you help me?

                                  Ps.: I did another test copied from Win XP EN the eclipse with Teiid working fine and paste in a Win XP PT and the error with views Connectors e UDFs occurs.

                                  • 14. Re: Errors from Teiid Designer Plug-In
                                    rareddy

                                    Thanks for offering help. Here are steps to start remote debugging session.

                                    1) You need to set up a working Teiid Designer eclipse workspace using instructions at http://www.jboss.org/community/wiki/SettingUpYourTeiidDesignerEclipseEnvironment.

                                    2) In the Designer (not the eclipse with code, the UI tool) edit the "eclipse.ini" file under -vmargs add the following line (this will let you connect remotely and debug)

                                    -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=y


                                    3) Start the Designer, will not proceed until you connect your remote session to it.

                                    4) Now in the eclipse where the designer code you created go the code line add a break point.

                                    5) Go to debug menu, under "debug configurations" add a "remove java application" with "localhost" and "8787" as port number and run.

                                    6) Now the code will stop at the break point you have set in step 4.

                                    from you here you need to walk the code to see why it is failing.

                                    I want to forward a huge Thank You for helping.

                                    1 2 Previous Next