<?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: DB connection error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328609#M97877</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi &lt;BR /&gt;From the error message, i am sure there must be something wrong in the DB parameters settings, it seems some value are null or empty. Print the value of context variables on the console to see if the context variables are loaded correctly. For example:&lt;BR /&gt;tFileList--iterete--tFileInputDelimited--main--tContextLoad--oncomponentok--tJava--oncomponentok--tmssqlInput---main--tLogRow&lt;BR /&gt;on tJava: print the value of context variable, &lt;BR /&gt;System.out.println(context.host);&lt;BR /&gt;...&lt;BR /&gt;Shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi Shong! I tried it and all context variables were loaded correctly. Unfortunately, I still get this error in tMSSqlInput: 
&lt;BR /&gt;Exception in component tMSSqlInput_1 
&lt;BR /&gt;java.sql.SQLException: The syntax of the connection URL 'jdbc:jtds:sqlserver://;appName=JM;' is invalid. 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.Driver.setupConnectProperties(Driver.java:245) 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:181) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(DriverManager.java:579) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(DriverManager.java:221) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.tMSSqlInput_1Process(dummy.java:1706) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.tJava_1Process(dummy.java:1078) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.tFileList_1Process(dummy.java:972) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.runJobInTOS(dummy.java:2758) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.main(dummy.java:2602) 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Thanks!</description>
    <pubDate>Tue, 16 Jul 2013 08:46:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-07-16T08:46:10Z</dc:date>
    <item>
      <title>DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328604#M97872</link>
      <description>Hi! I'm trying to use tContextLoad to dynamically change the credentials of the input table but i always end up getting this error... 
&lt;BR /&gt;THANKS! 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEcY.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156876iFB74099FA67C3043/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEcY.jpg" alt="0683p000009MEcY.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 16 Jul 2013 07:42:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328604#M97872</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T07:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328605#M97873</link>
      <description>Hi, &lt;BR /&gt;Please refer to component reference about &lt;A href="https://help.talend.com/search/all?query=tContextLoad&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tContextLoad&lt;/A&gt; with related scenario.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 16 Jul 2013 07:49:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328605#M97873</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T07:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328606#M97874</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi, &lt;BR /&gt;Please refer to component reference about &lt;A href="https://help.talend.com/search/all?query=tContextLoad&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tContextLoad&lt;/A&gt; with related scenario.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi! It's exactly the same reference guide I referred in to. I actually followed each and every step and I had problems connecting to sql server. Pls see the error msg. Thanks!</description>
      <pubDate>Tue, 16 Jul 2013 08:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328606#M97874</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T08:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328607#M97875</link>
      <description>Hi 
&lt;BR /&gt;From the error message, i am sure there must be something wrong in the DB parameters settings, it seems some value are null or empty. Print the value of context variables on the console to see if the context variables are loaded correctly. For example: 
&lt;BR /&gt;tFileList--iterete--tFileInputDelimited--main--tContextLoad--oncomponentok--tJava--oncomponentok--tmssqlInput---main--tLogRow 
&lt;BR /&gt;on tJava: print the value of context variable, 
&lt;BR /&gt;System.out.println(context.host); 
&lt;BR /&gt;... 
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 16 Jul 2013 08:14:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328607#M97875</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T08:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328608#M97876</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BR /&gt;In addition, here are some articles about 
&lt;A href="https://help.talend.com/search/all?query=Setting+up+a+database+connection&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;Setting up a DB connection&lt;/A&gt; 
&lt;BR /&gt;See my pic(the SqlServer DB connection is success in talend open studio for Data Integration 5.3.0) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MEnw.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150317iA4A3D8ED956C8086/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MEnw.png" alt="0683p000009MEnw.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Tue, 16 Jul 2013 08:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328608#M97876</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T08:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328609#M97877</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi &lt;BR /&gt;From the error message, i am sure there must be something wrong in the DB parameters settings, it seems some value are null or empty. Print the value of context variables on the console to see if the context variables are loaded correctly. For example:&lt;BR /&gt;tFileList--iterete--tFileInputDelimited--main--tContextLoad--oncomponentok--tJava--oncomponentok--tmssqlInput---main--tLogRow&lt;BR /&gt;on tJava: print the value of context variable, &lt;BR /&gt;System.out.println(context.host);&lt;BR /&gt;...&lt;BR /&gt;Shong&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi Shong! I tried it and all context variables were loaded correctly. Unfortunately, I still get this error in tMSSqlInput: 
&lt;BR /&gt;Exception in component tMSSqlInput_1 
&lt;BR /&gt;java.sql.SQLException: The syntax of the connection URL 'jdbc:jtds:sqlserver://;appName=JM;' is invalid. 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.Driver.setupConnectProperties(Driver.java:245) 
&lt;BR /&gt; at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:181) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(DriverManager.java:579) 
&lt;BR /&gt; at java.sql.DriverManager.getConnection(DriverManager.java:221) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.tMSSqlInput_1Process(dummy.java:1706) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.tJava_1Process(dummy.java:1078) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.tFileList_1Process(dummy.java:972) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.runJobInTOS(dummy.java:2758) 
&lt;BR /&gt; at jm.dummy_0_1.dummy.main(dummy.java:2602) 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 16 Jul 2013 08:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328609#M97877</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T08:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328610#M97878</link>
      <description>Hi, &lt;BR /&gt;Out of context, did you set your mssql DB connection successfully in a usual DB connection? Is your DB in local or server?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 16 Jul 2013 09:02:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328610#M97878</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T09:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: DB connection error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328611#M97879</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi, &lt;BR /&gt;Out of context, did you set your mssql DB connection successfully in a usual DB connection? Is your DB in local or server?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Server. Yes I checked in the usual DB connection set up and it was successful. I just don't get it why I'm having errors in tMSSqlLInput. &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;</description>
      <pubDate>Tue, 16 Jul 2013 09:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-connection-error/m-p/2328611#M97879</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-07-16T09:22:38Z</dc:date>
    </item>
  </channel>
</rss>

