<?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: [resolved] MySQL &amp;quot;Enable stream&amp;quot; option generates java.lang.IncompatibleClassChan in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274827#M51388</link>
    <description>Alright, thank you.&lt;BR /&gt;I guess I'll use this solution but that doesn't make me feel confident about the reliability of the interactions Talend/Mysql.</description>
    <pubDate>Wed, 19 Mar 2014 00:14:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-03-19T00:14:23Z</dc:date>
    <item>
      <title>[resolved] MySQL "Enable stream" option generates java.lang.IncompatibleClassChan</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274823#M51384</link>
      <description>Hello,
&lt;BR /&gt;I made several jobs on my local machine and built them. Some of them have tMysqlInput Components with the option "Enable stream". When I run the built job on my local machine, it works fine. When I try to run the same jobs on a test environment, I get this error when executing the tMysqlInput with the enable stream option option :
&lt;BR /&gt;Exception in thread "main" java.lang.IncompatibleClassChangeError: Found interface com.mysql.jdbc.Statement, but class was expected
&lt;BR /&gt;My local environment settings :
&lt;BR /&gt;Mysql : /Applications/MAMP/Library/bin/mysql Ver 14.14 Distrib 5.5.33, for osx10.6 (i386) using EditLine wrapper
&lt;BR /&gt;Java : java version "1.7.0_51"
&lt;BR /&gt;My test environment settings :
&lt;BR /&gt;Mysql : mysql Ver 14.14 Distrib 5.5.21, for Linux (x86_64) using readline 5.1 
&lt;BR /&gt;Java : java version "1.6.0"
&lt;BR /&gt;In TOS, I set the JDK compliance so that it uses the 1.6 level but it's not working.
&lt;BR /&gt;I really need to use the "Enable stream" option here, any idea of how I can make it work ?
&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 17 Mar 2014 16:48:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274823#M51384</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-17T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] MySQL "Enable stream" option generates java.lang.IncompatibleClassChan</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274824#M51385</link>
      <description>I understand you build the job on your Mac and move the artifact to the linux machine ?
&lt;BR /&gt;I guess the problem is the JDBC driver. Di you use the same driver on both systems or on every system the specific driver?</description>
      <pubDate>Mon, 17 Mar 2014 21:59:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274824#M51385</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-17T21:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] MySQL "Enable stream" option generates java.lang.IncompatibleClassChan</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274825#M51386</link>
      <description>Thank you jiolling for your help. 
&lt;BR /&gt;Yes I build the job on my Mac and move it to the linux machine. 
&lt;BR /&gt;Is there a way to build the jobs on the linux machine without having to install Talend ? 
&lt;BR /&gt;I actually found a solution but I'm not sure if it's ideal. 
&lt;BR /&gt;The problem occurs when I'm using the component tMysqlInput with the option "Enable stream". This component by default uses the driver mysql-connector-java-5.1.22-bin.jar. 
&lt;BR /&gt;So I modified the file /TOS_DI-r111943-V5.4.1 2/plugins/org.talend.designer.components.localprovider_5.4.1.r111943/components/tMysqlInput/tMysqlInput_java.xml and I replaced the line 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Mysql_Driver5" MODULE="mysql-connector-java-5.1.22-bin.jar" UrlPath="platform:/plugin/org.talend.libraries.jdbc.mysql/lib/mysql-connector-java-5.1.22-bin.jar" REQUIRED_IF="(DB_VERSION == 'MYSQL_5') AND (USE_EXISTING_CONNECTION == 'false')" /&amp;gt; 
&lt;BR /&gt;by this one 
&lt;BR /&gt;&amp;lt;IMPORT NAME="Mysql_Driver5" MODULE="mysql-connector-java-5.0.8-bin.jar" UrlPath="platform:/plugin/org.talend.libraries.jdbc.mysql/lib/mysql-connector-java-5.0.8-bin.jar" REQUIRED_IF="(DB_VERSION == 'MYSQL_5') AND (USE_EXISTING_CONNECTION == 'false')" /&amp;gt; 
&lt;BR /&gt;Then I added the driver mysql-connector-java-5.0.8-bin.jar to my modules, I rebuilt the job and now it's working on my linux machine. 
&lt;BR /&gt;What do you think of this solution ? This is not clean at all.</description>
      <pubDate>Tue, 18 Mar 2014 18:12:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274825#M51386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T18:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] MySQL "Enable stream" option generates java.lang.IncompatibleClassChan</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274826#M51387</link>
      <description>Your solution is Ok and to be honest I have done similar things. &lt;BR /&gt;This problem is not a problem caused by Talend instead it is a problem caused by Oracle.</description>
      <pubDate>Tue, 18 Mar 2014 22:11:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274826#M51387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-18T22:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] MySQL "Enable stream" option generates java.lang.IncompatibleClassChan</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274827#M51388</link>
      <description>Alright, thank you.&lt;BR /&gt;I guess I'll use this solution but that doesn't make me feel confident about the reliability of the interactions Talend/Mysql.</description>
      <pubDate>Wed, 19 Mar 2014 00:14:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-MySQL-quot-Enable-stream-quot-option-generates-java/m-p/2274827#M51388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-03-19T00:14:23Z</dc:date>
    </item>
  </channel>
</rss>

