10 Replies Latest reply on Feb 23, 2010 11:28 AM by bmincey

    Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1

    bmincey

      I have been attempting to install the Teiid Designer in JBDS.  Unfortunately, I am getting a ton of errors.  I receive the same errors indicated on this thread http://community.jboss.org/thread/52651

       

      I tried to follow the suggestions made by Ramesh towards the bottom of the thread but it appears the distribution may have changed a bit since the post was made as I cannot find the reference made to

       

      <required namespace='org.eclipse.equinox.p2.iu' name='org.eclipse.uml2.feature.group' range='[2.2.0,3.0.0)'/>
      
      

       

      nor could I find the following section in features.xml

       

      <requires>
       <import feature="org.eclipse.emf" version="2.5.0"/>
       <import feature="org.eclipse.gef" version="3.5.0"/>
       <import feature="org.eclipse.platform" version="3.5"/>
       <import feature="org.eclipse.uml2" version="3.0.0"/>
       <import feature="org.eclipse.xsd" version="2.5.0"/>
       </requires>
      
      

       

      I have attached the error messages displayed within my message log in JBDS in case anyone has any suggestions.

       

      For what it is worth, I am running Fedora 12 with the Sun JDK 1.6.0_18.  I am also using the "export GDK_NATIVE_WINDOWS=true" in the terminal I start JBDS with.  I also installed the additional libraries that Ramesh suggested.

       

      Any ideas and/or suggestions would be appreciated.  Thanks!

        • 1. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
          blafond

          Blaine,

           

          Per the release notes for 6.3 Teiid Designer, this release was targeted to be compatible with 3.5 and 3.5.1 Eclipse which should cover JBDS 3.0.0 CR1 as well.

           

          I did test the installation successfully with that version of JBDS.

           

          Make sure you utilize Eclipse's "Help > Install New Software..." action using the downloaded 6.3 Teiid Designer archive file. There shouldn't be any need to do any work-arounds per Ramesh's previous post.

           

          Barry LaFond

          Teiid Designer Project

          • 2. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
            bmincey

            I am wondering if it has anything to do with some of the GDK issues that some folks have been reporting with using Fedora 12.  I created a new stock FC12 image, added the latest Sun 1.6 JDK, fresh install of JBDS 3.0 CR1, and installed Teiid Designer 6.3.  Still am getting the same exact errors.

             

            What is the OS you are using for your install?

             

            I have an old Windows XP box sitting around.  Let me give that a whirl and I will report back my results.

            • 3. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
              bmincey

              Well, installed JBDS 3.0 CR1 and Teiid Designer 6.3 on a Windows XP box using latest Sun JDK 1.6 and getting the same exact errors.

               

              Guess I will now give this a shot on a plain vanilla Eclipse distro.

              • 4. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                bmincey

                I am batting a big fat ZERO on this!

                 

                Tried to install on a plain, vanilla Eclipse distro and still get the same errors.

                 

                After having done Java development for well over a decade, I am beginning to think this install is outside the realm of my capabilities

                 

                I may have to try this with an older version of Eclipse and Teiid Designer to see if that continues to cause me problems.  Was meeting with a couple of developers next week and was wanting to showcase this.  But, I can just use the MMX Designer for the time being.

                 

                If anyone has any additional suggestions, please pass those along.  I am willing to try anything.

                 

                Thanks!

                • 5. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                  jdoyle

                  Hi Bain,

                   

                  I just performed a fresh install on RHEL, and I did see the errors when eclipse restarted after the install.  Oddly I got a SELinux violation caused by eclipse at that time as well.  But I'm unable to reproduce the exception after the initial time.   Is it reproducabe for you multiple times within the same installation?  Also, do you see anything wrong/broken besides the errors in the MessageLog?

                   

                  ~jd

                  • 6. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                    bmincey

                    When I do a fresh install with a new workspace, I do not get any errors.

                     

                    However, as soon as I create a Metadata Model project and then attempt to import metadata in from a JDBC datasource, I get errors galore.

                    • 7. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                      blafond

                      Blaine,

                       

                      Can you attach the "galore" of errors?

                       

                      Thx

                      • 8. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                        bmincey

                        Attaching the errors from today.  Fedora 12 32-bit, latest Eclipse, latest Sun JDK 1.6.

                         

                        The errors look very similar to those in my original posting.

                         

                        Thanks for taking a look.

                        • 9. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                          blafond

                          Thx Blaine,

                           

                          It appears all the errors have the same place of origin.

                           

                          I'd like you to check for the existence of the Designer's hidden UDF project.

                           

                          Under your runtime workspace's ".metadata" folder there should be the following folder "/.plugins/org.teiid.designer.transformation/org.teiid.designer.udf". This a hidden project containing one "FunctionDefinition.xmi" file. This is your workspace's lone function definition model. The NPE is occuring during the startup of plugin that manages this project.

                           

                          I did test installation on XP with Eclipse 3.5.1 today without error.

                           

                          Thx

                           

                          Barry LaFond

                          Teiid Designer Project

                          • 10. Re: Errors when installing Teiid 6.3 to JBDS 3.0.0.CR1
                            bmincey

                            It is a new week so I wanted to start off fresh.

                             

                            I created a bare Fedora VM image and installed JBDS 3.0 CR1 and immediately installed Teiid Designer.  Had a bare workspace with no existing projects, etc.  This time it worked!  I was able to create a model project and import metadata using JDBC.

                             

                            I have not performed any additional actions (create a Seam project, Drools project, etc.) so I am wondering if one of those other components is not playing nicely with Teiid.  When switching to another perspective, I can also see the org.teiid.designer.udf project.

                             

                            I have several demos I am putting together over the next couple of weeks so let's keep this discussion open so I can report back if I begin getting those errors I originally reported that others have also experienced.

                             

                            Thanks for the assistance Barry.