]
Matej Kralik updated TEIIDDES-2956:
-----------------------------------
Environment: Windows 10 1607 (was: Windows 10)
Designer has generated the wrong jar in the JDG module
-------------------------------------------------------
Key: TEIIDDES-2956
URL:
https://issues.jboss.org/browse/TEIIDDES-2956
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0.2
Environment: Windows 10 1607
Reporter: Matej Kralik
Priority: Blocker
Attachments: Book_fedora.jar, Book_windows10.jar, completeJDGproject3.zip,
jarInFedora.png, jarInWindows.png
I want to deploy dynamic vdb with JDG materialization on the server and server shows me
error that:
{code:java}
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))]
{code}
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.