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

Designer has generated the wrong jar in the JDG module


    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: 10.0.2
    • Fix Version/s: 10.0.2
    • Component/s: None
    • Labels:
    • Steps to Reproduce:
      1. Import project
      2. Generate jdg module (in the windows)


      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.

        Gliffy Diagrams


          1. express-zip-contents-on-windows.png
            15 kB
            Barry LaFond
          2. jarInFedora.png
            25 kB
            Matej Kralik
          3. jarInWindows.png
            25 kB
            Matej Kralik
          4. screenshotJar_4.11.2016.png
            21 kB
            Matej Kralik



              • Assignee:
                blafond Barry LaFond
                mkralik Matej Kralik
              • Votes:
                1 Vote for this issue
                4 Start watching this issue


                • Created: