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