<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ClassNotFound Exception trying to guess schema in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302069#M74099</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Your DB connection is configured to use "JTDS"? What's jtds module and MSSQL DB version you are using?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Mon, 21 Aug 2017 04:24:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-21T04:24:58Z</dc:date>
    <item>
      <title>ClassNotFound Exception trying to guess schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302068#M74098</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm running Talend Open Studio 6.4.1 and have an issue when I click the Guess schema button on a MSSQLInput component. The job can connect to the database fine when it runs but when I try to guess the schema of a query lookup I get an error&amp;nbsp;java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver According to the modules view the jtds module is installed.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I've seen a few similar posts explaining that I should copy the jtds library into the lib folder however this folder is cleaned out when I relaunch open studio. I can also see from the class path that the jtds library is not being included when the guess schema button is pressed.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you advise me how to address this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 06:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302068#M74098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-16T06:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFound Exception trying to guess schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302069#M74099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Your DB connection is configured to use "JTDS"? What's jtds module and MSSQL DB version you are using?&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Mon, 21 Aug 2017 04:24:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302069#M74099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T04:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFound Exception trying to guess schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302070#M74100</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I ran into the same issue. The situation is:&lt;/P&gt; 
&lt;P&gt;The Connection to the&amp;nbsp;MS SQL Server is defined in metadata. For this&amp;nbsp;Database I have to use the MS SQL Driver. The JTDS is (for&amp;nbsp;whatever reason) not working.&amp;nbsp;When I'm using this connection I'm perfectly able to fetch the rows as long as I define the schema manually.&amp;nbsp;As soon as I'm creating a tMSSQLInput and I try to guess the schema, Talend Studio is using the jtds driver desprite of what is configured. This results in in a ClassNotFoundException:&lt;/P&gt; 
&lt;PRE&gt;org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaProcess$1: java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver

        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaProcess.run(GuessSchemaProcess.java:410)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController.runShadowProcess(GuessSchemaController.java:349)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController.access$1(GuessSchemaController.java:333)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController$4$1.run(GuessSchemaController.java:822)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3983)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
        at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:175)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:390)
        at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController.useMockJob(GuessSchemaController.java:814)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController.createButtonCommand(GuessSchemaController.java:222)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController.access$0(GuessSchemaController.java:212)
        at org.talend.designer.core.ui.editor.properties.controllers.GuessSchemaController$1.widgetSelected(GuessSchemaController.java:197)&lt;/PRE&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;For me the expected behaviour would be that Talend Studio is using the driver which has been selected in the connection to guess the schema.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2017 08:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302070#M74100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-13T08:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFound Exception trying to guess schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302071#M74101</link>
      <description>&lt;P&gt;Hello, I'm having this issue, Im using jtds.1.3.1 and TOS_DI 6.4.1.20170623_1246&lt;/P&gt;</description>
      <pubDate>Thu, 19 Oct 2017 06:09:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302071#M74101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-19T06:09:06Z</dc:date>
    </item>
    <item>
      <title>Re: ClassNotFound Exception trying to guess schema</title>
      <link>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302072#M74102</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please try to uninstall and re-install TOS, and then installed all the modules again to see if it works?&lt;/P&gt; 
&lt;P&gt;Please make sure that you have copied the ntlmauth.dll into the usual folders.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 10:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/ClassNotFound-Exception-trying-to-guess-schema/m-p/2302072#M74102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T10:10:24Z</dc:date>
    </item>
  </channel>
</rss>

