<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hello Van,<br></div><div><br></div><div>With your suggestion I was finally able to connect to my runtime server from Dev Studio.<br></div><div>Continuing with my POC for Petrobras, I was able to crate a JDBC-ODBC connection to my excel file, and even query data from sql-scrapbook (see screenshot below):<br></div><div><br></div><div><img src="cid:846fed3f01c9d8698c8d5c7a19a51a45d2e7d673@zimbra" alt="" height="199" width="527"></div><div><br></div><div>But in the next step, which is "Create source model for JDBC data source", I am not able to complete, since there is no table available to be selected (see screenshot sequence below).<br></div><div><img src="cid:350ce0a156842e4fb22588742635f8a268235a62@zimbra" alt="" height="265" width="559"></div><div><br></div><div><img src="cid:f4320bc61d5c5f326c807f07328a5be13bf9ccc0@zimbra" alt="" height="468" width="558"></div><div><br></div><div><img src="cid:61b5291c8617cca369dd8df08d1f7de5ac3f6122@zimbra" alt="" height="477" width="565"></div><div><br></div><div>In the error log that there is the following warning:<br></div><div><strong><em>Unexpected exception while calling sun.jdbc.odbc.JdbcOdbcDatabaseMetadata.getProcedures() and processing results on DatabaseNew Generic JDBC</em></strong><br></div><div><strong><em>java.sql.SQLException [Microsoft][ODBC Driver Manager] The Driver does not offer support for this function.</em></strong><br></div><div><br></div><div>I do not have any preference in the approach to integrate the Excel data source (via Dev Studio or creating the vdb.xml file and mannually deploying it). But in both approaches I am facing much more difficulties than with other data sources (web services, flat files and databases).<br></div><div><br></div><div>Thanks,<br></div><div><br></div><div>Thiago<br></div><div><span></span><br></div><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;" data-mce-style="color: #000000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Van Halbert" &lt;vhalbert@redhat.com&gt;<br><b>To: </b>"Thiago Araki" &lt;taraki@redhat.com&gt;<br><b>Sent: </b>Thursday, March 13, 2014 9:56:26 PM<br><b>Subject: </b>Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XP SP3<br><div><br></div>If you're still looking at options, can you try this:<br><div><br></div>- &nbsp;at command line, run: &nbsp;hostname &nbsp;(to see what its using)<br>- &nbsp;when you start DV server (standalone.bat), pass it -b hostname<br>- &nbsp;in JBDS when configuring server, use hostname<br><div><br></div>Van<br><div><br></div><br>----- Original Message -----<br>From: "Thiago Araki" &lt;taraki@redhat.com&gt;<br>To: "Rob Cernich" &lt;rcernich@redhat.com&gt;<br>Cc: "Robert Stryker" &lt;rstryker@redhat.com&gt;, "Max Rydahl Andersen" &lt;max.andersen@redhat.com&gt;, sme-dataservicesplatform@redhat.com, "jbosstools-dev" &lt;jbosstools-dev@lists.jboss.org&gt;, "Ramesh Reddy" &lt;rareddy@redhat.com&gt;, "Van Halbert" &lt;vhalbert@redhat.com&gt;<br>Sent: Thursday, March 13, 2014 1:33:57 PM<br>Subject: Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;XP SP3<br><div><br></div>Hello all. <br><div><br></div>All ports match, and from Dev Studio I am able to enter in "Teiid Instance" configuration window and "Test Administration Connection" and "Test JDBC Connection" with success. I am using the same configurations which I am used to with my linux instances, and they work fine all the time. <br><div><br></div>I tried Van Halbert approach (described in http://teiid.blogspot.com/2013/06/expose-excel-data-as-odata-feed-using.html ), without success: <br><div><br></div>1. Using the VDB below (copied from the blog), I got the following error: Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.1: Element 'property' must have no character or element information item [children], because the type's content type is empty. <br><div><br></div>&lt;vdb name= "odbc" version= "1" &gt; <br>&lt;property name= "UseConnectorMetadata" value= "true" &gt; <br>&lt;model name= "excel" &gt; <br>&lt;source connection-jndi-name= "java:/odbcDS" name= "connector" translator-name= "jdbc-simple" &gt; <br>&lt;/model&gt; <br>&lt;/property&gt;&lt;/vdb&gt; <br>2. I changed the VDB to the format shown below, and I got the following error: VDB odbc.1 model "excel" metadata failed to load. Reason:TEIID11010 java.sql.SqlException: [Microsoft][ODBC Driver Manager] The driver does not offer support for this function. <br><div><br></div><br>&lt;vdb name= "odbc" version= "1" &gt; <br>&lt;property name= "UseConnectorMetadata" value= "true"/ &gt; <br>&lt;model name= "excel" &gt; <br>&lt;source connection-jndi-name= "java:/odbcDS" name= "connector" translator-name= "jdbc-simple"/ &gt; <br>&lt;/model&gt; <br>&lt;/vdb&gt; <br><div><br></div>I was able to query my Excel data directly using SquirreL SQL client and Microsoft ODBC driver. <br><div><br></div>In both cases depicted above, I was not able to access OData via browser (http://localhost:8080/odata/odbc/excel.Sheet1). After input my credentials I got another error: HTTP Status 403: Access to the requested resource has been denied . <br><div><br></div>I attached my excel file. It is very simple (2 columns), and once I get this working I will have to use the one provided by the customer . <br><div><br></div>Regards, <br><div><br></div>Thiago Araki <br><div><br></div>----- Original Message -----<br><div><br></div>From: "Rob Cernich" &lt;rcernich@redhat.com&gt; <br>To: "Ramesh Reddy" &lt;rareddy@redhat.com&gt; <br>Cc: "Robert Stryker" &lt;rstryker@redhat.com&gt;, "Max Rydahl Andersen" &lt;max.andersen@redhat.com&gt;, sme-dataservicesplatform@redhat.com, "jbosstools-dev" &lt;jbosstools-dev@lists.jboss.org&gt; <br>Sent: Thursday, March 13, 2014 2:34:01 PM <br>Subject: Re: [jbosstools-dev] JBDS 7.1 (Teiid Designer) problem in Windows XP SP3 <br><div><br></div>You might make sure the server configuration in the tools is configured to listen to the management port...and make sure the configured port matches. <br><div><br></div>----- Original Message ----- <br>&gt; Even that needs a ODBC DSN created for Excel on Windows platform, if you <br>&gt; already have VDB configured this will work. If you are trying to build <br>&gt; the VDB and preview while doing so then you will still see below issue. <br>&gt; <br>&gt; Ramesh.. <br>&gt; <br>&gt; On Thu, 2014-03-13 at 09:54 -0400, Van Halbert wrote: <br>&gt; &gt; Here' a blog by Ramesh: <br>&gt; &gt; http://teiid.blogspot.com/2013/06/expose-excel-data-as-odata-feed-using.html <br>&gt; &gt; <br>&gt; &gt; Maybe this is an option for you. <br>&gt; &gt; <br>&gt; &gt; Van <br>&gt; &gt; <br>&gt; &gt; ----- Original Message ----- <br>&gt; &gt; From: "Ted Jones" &lt;tejones@redhat.com&gt; <br>&gt; &gt; To: "Thiago Araki" &lt;taraki@redhat.com&gt;, "Max Rydahl Andersen" <br>&gt; &gt; &lt;max.andersen@redhat.com&gt;, "Robert Stryker" &lt;rstryker@redhat.com&gt;, <br>&gt; &gt; "jbosstools-dev" &lt;jbosstools-dev@lists.jboss.org&gt; <br>&gt; &gt; Cc: sme-dataservicesplatform@redhat.com <br>&gt; &gt; Sent: Thursday, March 13, 2014 8:53:04 AM <br>&gt; &gt; Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3 <br>&gt; &gt; <br>&gt; &gt; Adding Max, Rob and jbosstools-dev for their insights... <br>&gt; &gt; <br>&gt; &gt; ----- Original Message ----- <br>&gt; &gt; <br>&gt; &gt; &gt; From: "Thiago Araki" &lt;taraki@redhat.com&gt; <br>&gt; &gt; &gt; To: "Ted Jones" &lt;tejones@redhat.com&gt; <br>&gt; &gt; &gt; Cc: sme-dataservicesplatform@redhat.com <br>&gt; &gt; &gt; Sent: Thursday, March 13, 2014 8:21:11 AM <br>&gt; &gt; &gt; Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3 <br>&gt; &gt; <br>&gt; &gt; &gt; Hello Ted, <br>&gt; &gt; <br>&gt; &gt; &gt; I did not, but I tried now with this option and unfortunately the same <br>&gt; &gt; &gt; thing <br>&gt; &gt; &gt; happened. <br>&gt; &gt; <br>&gt; &gt; &gt; I am stuck with this problem and my time is running out to deliver this <br>&gt; &gt; &gt; POC. <br>&gt; &gt; &gt; The reason I am using a Windows environment is because I need to <br>&gt; &gt; &gt; integrate <br>&gt; &gt; &gt; data from an Excel data source, and the only way I found to do it is with <br>&gt; &gt; &gt; the Microsoft ODBC driver. <br>&gt; &gt; <br>&gt; &gt; &gt; Regards, <br>&gt; &gt; <br>&gt; &gt; &gt; Thiago <br>&gt; &gt; <br>&gt; &gt; &gt; ----- Original Message ----- <br>&gt; &gt; <br>&gt; &gt; &gt; From: "Ted Jones" &lt;tejones@redhat.com&gt; <br>&gt; &gt; &gt; To: "Thiago Araki" &lt;taraki@redhat.com&gt; <br>&gt; &gt; &gt; Cc: sme-dataservicesplatform@redhat.com <br>&gt; &gt; &gt; Sent: Wednesday, March 12, 2014 6:42:17 PM <br>&gt; &gt; &gt; Subject: Re: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3 <br>&gt; &gt; <br>&gt; &gt; &gt; Hi Thiago, <br>&gt; &gt; <br>&gt; &gt; &gt; When creating your server connection in JBDS, did you check the "Server <br>&gt; &gt; &gt; is <br>&gt; &gt; &gt; externally managed. Assume server is started." radio button? I've <br>&gt; &gt; &gt; attached a <br>&gt; &gt; &gt; screenshot. <br>&gt; &gt; <br>&gt; &gt; &gt; I know this was the way best way to go at one point, so I always do this <br>&gt; &gt; &gt; now <br>&gt; &gt; &gt; out of habit. <br>&gt; &gt; &gt; ----- Original Message ----- <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; From: "Thiago Araki" &lt;taraki@redhat.com&gt; <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; To: sme-dataservicesplatform@redhat.com <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Sent: Wednesday, March 12, 2014 4:27:34 PM <br>&gt; &gt; &gt; <br>&gt; &gt; &gt; &gt; Subject: JBDS 7.1 (Teiid Designer) problem in Windows XP SP3 <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; Hello all, <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; I am having problems with JBoss Dev Studio (with Teiid Designer) 7.1 in <br>&gt; &gt; &gt; &gt; a <br>&gt; &gt; &gt; &gt; Windows environment (Windows XP SP3). <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; When I start my Runtime Server via Dev Studio, the server finishes the <br>&gt; &gt; &gt; &gt; initialization (I can see it in the Console view and and access it via <br>&gt; &gt; &gt; &gt; JBoss <br>&gt; &gt; &gt; &gt; EAP web console) but the progress bar keeps the status "starting JBoss <br>&gt; &gt; &gt; &gt; EAP <br>&gt; &gt; &gt; &gt; 6 <br>&gt; &gt; &gt; &gt; Server..." and never finishes. Because of this situation, every <br>&gt; &gt; &gt; &gt; operation <br>&gt; &gt; &gt; &gt; that needs to sync with my server, for instance, Preview Data, gets <br>&gt; &gt; &gt; &gt; queued <br>&gt; &gt; &gt; &gt; and never executes. <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; If I manually start JBoss EAP 6 outside Dev Studio, them try to connect <br>&gt; &gt; &gt; &gt; via <br>&gt; &gt; &gt; &gt; Server View (acknowledging the server is already started), the problem <br>&gt; &gt; &gt; &gt; is <br>&gt; &gt; &gt; &gt; that the progress bar stays in "Performing pre-launch check..." status <br>&gt; &gt; &gt; &gt; forever, and I also cannot interact with my server from my project. <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; In both cases I am able to enter in "Teiid Instance" configuration <br>&gt; &gt; &gt; &gt; window <br>&gt; &gt; &gt; &gt; and <br>&gt; &gt; &gt; &gt; "Test Administration Connection" and "Test JDBC Connection" with <br>&gt; &gt; &gt; &gt; success. <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; It seems to me that something is being incorrectly locked in the plugin <br>&gt; &gt; &gt; &gt; that <br>&gt; &gt; &gt; &gt; integrates Dev Studio and JBoss EAP for this situation. <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; I tried both Oracle JDK 1.6 and 1.7 with the same results. I have <br>&gt; &gt; &gt; &gt; already <br>&gt; &gt; &gt; &gt; re-installed both JBoss EAP and Dev Studio (including version 7.0) and <br>&gt; &gt; &gt; &gt; every <br>&gt; &gt; &gt; &gt; time this behavior occurs. <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; In my Linux machine this problem never happens. <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; Can anybody help me? <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; Thanks, <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; &gt; &gt; &gt; Thiago Araki <br>&gt; &gt; &gt; <br>&gt; &gt; <br>&gt; <br>&gt; <br>&gt; _______________________________________________ <br>&gt; jbosstools-dev mailing list <br>&gt; jbosstools-dev@lists.jboss.org <br>&gt; https://lists.jboss.org/mailman/listinfo/jbosstools-dev <br>&gt; <br><div><br></div><br></div><div><br></div></div></body></html>