[JBoss JIRA] (TEIIDDES-2956) Designer has generated the wrong jar in the JDG module
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2956?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-2956:
------------------------------------------
I think the jar contents are different. It looks like the window jar contains a file entry with the fold path as part of the name "org\teiid\jdg\pojo\Book.class" vs being stored under directory entries.
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2956) Designer has generated the wrong jar in the JDG module
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2956?page=com.atlassian.jira.plu... ]
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.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2956) Designer has generated the wrong jar in the JDG module
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2956?page=com.atlassian.jira.plu... ]
Barry LaFond updated TEIIDDES-2956:
-----------------------------------
Attachment: express-zip-contents-on-windows.png
> 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.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2956) Designer has generated the wrong jar in the JDG module
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2956?page=com.atlassian.jira.plu... ]
Barry LaFond reassigned TEIIDDES-2956:
--------------------------------------
Assignee: Barry LaFond
> 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, 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.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2953) Static VDB with JDG materialization has a warning after deploy
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2953?page=com.atlassian.jira.plu... ]
Steven Hawkins commented on TEIIDDES-2953:
------------------------------------------
I would guess that the issue is that the designer .vdb has index metadata associated with the source, so it's not using any of the other runtime supplied metadata. The assumption being that the server shouldn't just inject metadata that wasn't there during modeling such that there may be an issue, like a naming conflict.
> Static VDB with JDG materialization has a warning after deploy
> --------------------------------------------------------------
>
> Key: TEIIDDES-2953
> URL: https://issues.jboss.org/browse/TEIIDDES-2953
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: Fedora 24
> Reporter: Matej Kralik
> Priority: Critical
> Fix For: 10.0.2
>
> Attachments: completeJDGproject2.zip
>
>
> I have a project with JDG materialization. When I want to deploy static VDB, server shows me error that:
> {code:java}
> 15:47:10,347 WARN [org.teiid.MATVIEWS] (Worker1_QueryProcessorQueue9) org.teiid.jdbc.TeiidSQLException: TEIID30168 Couldn't execute the dynamic SQL command "EXECUTE IMMEDIATE array_get(strings, index)" with the SQL statement "execute BookCacheSource.native('truncate cache')" due to: TEIID30357 BookCacheSource.native does not exist.
> {code}
> But when I deploy dynamic VDB, which is generated from that staticVDB, server doesn't shows any errors and materialization works fine.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2953) Static VDB with JDG materialization has a warning after deploy
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2953?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2953:
----------------------------------------
[~mkralik] I would have expected that the VDBs would behave the same.
[~shawkins] Steve? Can you verify that both the following translator overrides should work in both the BookMat-vdb.xml and BookMat.vdb use cases? Note there is a duplicate property entry with camel-case difference, but nothing else suspicious.
The translator override element/xml appears to be the same in both cases:
BookMat-vdb.xml
{code}
<translator description="" name="infinispan1" type="infinispan-cache-dsl">
<property name="supportsDirectQueryProcedure" value="true"/>
<property name="SupportsNativeQueries" value="true"/>
<property name="SupportsCompareCriteriaOrdered" value="true"/>
<property name="supportsNativeQueries" value="true"/>
</translator>
{code}
vdb.xml from BookMat.vdb
{code}
<translator name="infinispan1" type="infinispan-cache-dsl" description="">
<property name="SupportsCompareCriteriaOrdered" value="true"/>
<property name="supportsDirectQueryProcedure" value="true"/>
<property name="SupportsNativeQueries" value="true"/>
<property name="supportsNativeQueries" value="true"/>
</translator>
{code}
> Static VDB with JDG materialization has a warning after deploy
> --------------------------------------------------------------
>
> Key: TEIIDDES-2953
> URL: https://issues.jboss.org/browse/TEIIDDES-2953
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: Fedora 24
> Reporter: Matej Kralik
> Priority: Critical
> Fix For: 10.0.2
>
> Attachments: completeJDGproject2.zip
>
>
> I have a project with JDG materialization. When I want to deploy static VDB, server shows me error that:
> {code:java}
> 15:47:10,347 WARN [org.teiid.MATVIEWS] (Worker1_QueryProcessorQueue9) org.teiid.jdbc.TeiidSQLException: TEIID30168 Couldn't execute the dynamic SQL command "EXECUTE IMMEDIATE array_get(strings, index)" with the SQL statement "execute BookCacheSource.native('truncate cache')" due to: TEIID30357 BookCacheSource.native does not exist.
> {code}
> But when I deploy dynamic VDB, which is generated from that staticVDB, server doesn't shows any errors and materialization works fine.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2960) Synchronized button doesn't work correctly
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2960?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-2960:
-----------------------------------
Priority: Critical (was: Major)
> Synchronized button doesn't work correctly
> ------------------------------------------
>
> Key: TEIIDDES-2960
> URL: https://issues.jboss.org/browse/TEIIDDES-2960
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: Fedora 24
> Reporter: Matej Kralik
> Priority: Critical
> Attachments: test.mkv
>
>
> When I have VDB and I change something in any model, VDB editor shows that the model is not synchronized. I click on the "Synchronize All" and model looks synchronized. When I close VDB editor and open it again, the model is synchronized. It works but when I change something in the model again and I do previous steps (open VDB editor,synchronize,close VDBeditor and open it again), the model is still not synchronized.
> I noticed that only first time it works properly. So when I change something after that I had already synchronized the vdb, I have to delete VDB and create new because any new changes aren't saved. This is very annoying when I have set some properties and overriding translator in the vdb and I have to set it again.
> I attach the video
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2960) Synchronized button doesn't work correctly
by Matej Kralik (JIRA)
Matej Kralik created TEIIDDES-2960:
--------------------------------------
Summary: Synchronized button doesn't work correctly
Key: TEIIDDES-2960
URL: https://issues.jboss.org/browse/TEIIDDES-2960
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 10.0.2
Environment: Fedora 24
Reporter: Matej Kralik
Attachments: test.mkv
When I have VDB and I change something in any model, VDB editor shows that the model is not synchronized. I click on the "Synchronize All" and model looks synchronized. When I close VDB editor and open it again, the model is synchronized. It works but when I change something in the model again and I do previous steps (open VDB editor,synchronize,close VDBeditor and open it again), the model is still not synchronized.
I noticed that only first time it works properly. So when I change something after that I had already synchronized the vdb, I have to delete VDB and create new because any new changes aren't saved. This is very annoying when I have set some properties and overriding translator in the vdb and I have to set it again.
I attach the video
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months
[JBoss JIRA] (TEIIDDES-2953) Static VDB with JDG materialization has a warning after deploy
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2953?page=com.atlassian.jira.plu... ]
Matej Kralik commented on TEIIDDES-2953:
----------------------------------------
I noticed that when I remove SupportsDirectQueryProcedure and SupportsNativeQueries properties from overriding translator from dynamicVDB, the server shows the same error. Maybe in the staticVDB is not set correctly these properties.
> Static VDB with JDG materialization has a warning after deploy
> --------------------------------------------------------------
>
> Key: TEIIDDES-2953
> URL: https://issues.jboss.org/browse/TEIIDDES-2953
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: Fedora 24
> Reporter: Matej Kralik
> Priority: Critical
> Fix For: 10.0.2
>
> Attachments: completeJDGproject2.zip
>
>
> I have a project with JDG materialization. When I want to deploy static VDB, server shows me error that:
> {code:java}
> 15:47:10,347 WARN [org.teiid.MATVIEWS] (Worker1_QueryProcessorQueue9) org.teiid.jdbc.TeiidSQLException: TEIID30168 Couldn't execute the dynamic SQL command "EXECUTE IMMEDIATE array_get(strings, index)" with the SQL statement "execute BookCacheSource.native('truncate cache')" due to: TEIID30357 BookCacheSource.native does not exist.
> {code}
> But when I deploy dynamic VDB, which is generated from that staticVDB, server doesn't shows any errors and materialization works fine.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
7 years, 6 months