]
Barry LaFond commented on TEIIDDES-2956:
----------------------------------------
I opened that Windows jar on my windows in ExpressZip. It contained the same META-INF and
org folders as the Linux jar on Linux.
So I 'm thinking the jar contents is OK?
[~vhalbert2] [~shawkins] Either of you know what would cause the error above when dynamic
vdb is deployed? I'm assuming after the JDG module is deployed.
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
Assignee: Barry LaFond
Priority: Blocker
Fix For: 10.0.2
Attachments: Book_fedora.jar, Book_windows10.jar, completeJDGproject3.zip,
express-zip-contents-on-windows.png, 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.