Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-2956

Designer has generated the wrong jar in the JDG module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 10.0.2
    • 10.0.2
    • None
      1. Import project
      2. Generate jdg module (in the windows)

    Description

      I want to deploy dynamic vdb with JDG materialization on the server and server shows me error that:

       IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: java.lang.ClassNotFoundException: org.teiid.jdg.pojo.Book from [Module "org.teiid.jdg.pojo:main" from local module loader @16f65612 (finder: local module finder @311d617d (roots: C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules,C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules\system\layers\dv,C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules\system\layers\base\.overlays\layer-base-jboss-eap-6.4.9.CP,C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules\system\layers\base))]
      

      I noticed that something is wrong with generated jar file in the windows because when I use jar file which I generated in the fedora, materialization works fine. I uploaded both jar files.

      The strange thing is that when I open .jar (which was generated in the windows ) via 7-file in the windows, file contains folders to Book.class (org/teiid/jdg/pojo) (jarInWindows.png) but when I open this same .jar in the fedora, file contains .class which have name org\teiid\jdg\pojo/Book.class (jarInFedora.png). Maybe this is the problem.

      Attachments

        1. Book_4.11.2016_win.jar
          0.4 kB
        2. Book_fedora.jar
          1 kB
        3. Book_windows10.jar
          1 kB
        4. Book.jar
          1 kB
        5. completeJDGproject3.zip
          188 kB
        6. express-zip-contents-on-windows.png
          express-zip-contents-on-windows.png
          15 kB
        7. jarInFedora.png
          jarInFedora.png
          25 kB
        8. jarInWindows.png
          jarInWindows.png
          25 kB
        9. screenshotJar_4.11.2016.png
          screenshotJar_4.11.2016.png
          21 kB
        10. Stock.jar
          1 kB

        Activity

          People

            blafond Barry LaFond
            mkralik@redhat.com Matej Kralik
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: