Bug 780807 - EDS - unable to browse the VDB tables using the 'Data Source Explorer'
Summary: EDS - unable to browse the VDB tables using the 'Data Source Explorer'
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: unspecified
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-09 03:14 UTC by Gary Lamperillo
Modified: 2012-07-13 04:22 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: SOA-3252
Environment:
RHEl 6.1 JBoss Developer Studio 4.0.0 Stand Alone linux-gtk x86_64 Binary 64 bit JDK - Both Sun and OpenJDK
Last Closed: 2011-08-12 15:47:46 UTC
Type: Bug


Attachments (Terms of Use)
eds_test.tar.gz (7.25 KB, application/x-gzip)
2011-08-09 03:16 UTC, Gary Lamperillo
no flags Details
datasource_explorer.tiff (76.03 KB, image/tiff)
2011-08-11 18:51 UTC, Van Halbert
no flags Details
teiid-client.jar (551.21 KB, application/java-archive)
2011-08-11 21:26 UTC, Van Halbert
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3252 0 None None None Never

Description Gary Lamperillo 2011-08-09 03:14:37 UTC
++ This bug is a clone of bug 780806 ++

project_key: SOA

1. Create a simple physical model in a JBDS Teiid Model Project

2. Create a VDB

3. Execute the VDB

4. The tables are not viewable in the database explorer

This is probably an environment issue and not related to the project.  I'm using 64 bit JBDS and a 64 bit jdk.  I will try the 32 bit combination and write back.  I will attach the simple project.

Comment 1 Gary Lamperillo 2011-08-09 03:16:04 UTC
Attachment: Added: eds_test.tar.gz


Comment 2 Gary Lamperillo 2011-08-11 17:04:20 UTC
I have downloaded the 32 bit JBDS and repeated the same test case.  The results are the same.  So, it does not appear to be related to JBDS 64/32 bit or the JDK version.
Also, the 64 bit JBDS was patched for the new teiid plugins, and the JBDS 32 bit was not patched.

Comment 3 Van Halbert 2011-08-11 18:48:10 UTC
Before I test your project set, wanted to make sure the process works.

I did the following:
-  imported a few tables from a SQL Server database to create the physical model
-  created the vdb (Test2)
-  right mouse click on physical model to create the data source on the server
-  had to manually deploy the vdb to the server, because the there's a AS5 issue when running on a mac.  Otherwise, you can deploy it from designer.
-  Opened up Data Source Explorer, created a Database Connection to teiid server.
-  doubled clicked the connection and proceeded to traverse the tree to view the tables (see attachment).

Hm, it worked for me.


Comment 4 Van Halbert 2011-08-11 18:51:17 UTC
Image displaying the ability to view the tables from a Teiid Connection using Database Explorer.

Comment 5 Van Halbert 2011-08-11 18:51:17 UTC
Attachment: Added: datasource_explorer.tiff


Comment 6 Van Halbert 2011-08-11 19:55:35 UTC
I duplicated your issue.   For some reason (TBD), the way that designer is creating the database connection versus manually creating the database connection (from Data Source Explorer) are different.  I'm not sure yet, but if Designer creates it, you cannot view the tables.

Comment 7 Gary Lamperillo 2011-08-11 20:58:56 UTC
I have manually created the connection and I have the same issue.

1. go to Database explorer

2. Connection Profiles -> select Teiid (the name of the VDB is preset to PREVIEW_3a26f9f7-06a2-4456-b0a1-34c19f3f3b9a_brokerinfo_project)

3.  enter your user and password, connection test works (ping is fine)

4. under catalogs the vdb name is listed as PREVIEW_3a26f9f7-06a2-4456-b0a1-34c19f3f3b9a_brokerinfo_project

5.  I can not go below schemas.





Comment 8 Van Halbert 2011-08-11 21:09:12 UTC
I found if I changed the driver to be a new (different) Teiid driver, instead of the one created for preview, mine worked.   The vdb name shouldn't have "PREVIEW..." in the name.  It should be there name of the vdb that you deployed.   At the moment, I can't find (after several other eyes looking on) how to remove all my drivers (6 of them) and start fresh to see how Designer is creating the drivers.  I think its reusing "Teiid Preview Driver" (in my case) instead of creating one that uses the actual vdb name.

Comment 10 Van Halbert 2011-08-11 21:26:53 UTC
Attachment: Added: teiid-client.jar


Comment 11 Gary Lamperillo 2011-08-12 15:47:19 UTC
Hi Van,

  The new Teiid Driver works!  

Thanks!
Gary


Note You need to log in before you can comment on or make changes to this bug.