<?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 Cache InterSystems DB connection and troubleshooting with Cache JDBC driver in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340899#M108893</link>
    <description>&lt;P&gt;Hi Everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried multiple methods to connect to the Cache InterSystems database, but&amp;nbsp;have yet to successfully reach it. If anyone has prior experience with their system, I'd be grateful to hear how you set it up.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cache provides a JDBC driver (CacheDB.jar) which I’ve placed on the server hosting TOS for Data Integration (6.4), and within the .m2 folder of TOS-DI&amp;nbsp;itself. Since Cache doesn’t have an .xml mapping file, and is not readily available in the “download modules” GUI, the straightforward approaches haven’t worked so well.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To connect to the DB, I’m using the component tab of “tJDBCInput_1”, with the following information:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;JDBC URL: “jdbc:Cache://&amp;lt;HostIP&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;DB Name&amp;gt;”&lt;/P&gt; 
&lt;P&gt;Driver JAR: cachedb.jar &amp;nbsp; *Imported from external file&lt;/P&gt; 
&lt;P&gt;Class name: “com.intersys.jdbc.CacheDriver”&lt;/P&gt; 
&lt;P&gt;Username: “SYSADMIN” Password: “Password”&lt;/P&gt; 
&lt;P&gt;Schema (Built-In)&lt;/P&gt; 
&lt;P&gt;Table Name: “MY_TABLE”&lt;/P&gt; 
&lt;P&gt;Query: “SELECT * FROM MY_TABLE”&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I run the job, this is the error I get:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Exception in component tJDBCInput_1 (test_DB_move)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;java.lang.ClassNotFoundException: com.intersys.jdbc.CacheDriver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.findClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.forName0(Native Method)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.forName(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at local_project.test_db_move_0_1.test_DB_move.tJDBCInput_1Process(test_DB_move.java:779)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at local_project.test_db_move_0_1.test_DB_move.runJobInTOS(test_DB_move.java:1417)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at local_project.test_db_move_0_1.test_DB_move.main(test_DB_move.java:1266)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Host IP, port, DB name, and User/Psswrd all work fine under the ODBC drivers on the server (Windows 2012 R2). Is there a way to ensure the Job finds the “com.intersys.jdbc.CacheDriver” class?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks, and any suggestions are appreciated,&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 09:18:11 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T09:18:11Z</dc:date>
    <item>
      <title>Cache InterSystems DB connection and troubleshooting with Cache JDBC driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340899#M108893</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have tried multiple methods to connect to the Cache InterSystems database, but&amp;nbsp;have yet to successfully reach it. If anyone has prior experience with their system, I'd be grateful to hear how you set it up.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Cache provides a JDBC driver (CacheDB.jar) which I’ve placed on the server hosting TOS for Data Integration (6.4), and within the .m2 folder of TOS-DI&amp;nbsp;itself. Since Cache doesn’t have an .xml mapping file, and is not readily available in the “download modules” GUI, the straightforward approaches haven’t worked so well.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;To connect to the DB, I’m using the component tab of “tJDBCInput_1”, with the following information:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;JDBC URL: “jdbc:Cache://&amp;lt;HostIP&amp;gt;:&amp;lt;port&amp;gt;/&amp;lt;DB Name&amp;gt;”&lt;/P&gt; 
&lt;P&gt;Driver JAR: cachedb.jar &amp;nbsp; *Imported from external file&lt;/P&gt; 
&lt;P&gt;Class name: “com.intersys.jdbc.CacheDriver”&lt;/P&gt; 
&lt;P&gt;Username: “SYSADMIN” Password: “Password”&lt;/P&gt; 
&lt;P&gt;Schema (Built-In)&lt;/P&gt; 
&lt;P&gt;Table Name: “MY_TABLE”&lt;/P&gt; 
&lt;P&gt;Query: “SELECT * FROM MY_TABLE”&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When I run the job, this is the error I get:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;Exception in component tJDBCInput_1 (test_DB_move)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;java.lang.ClassNotFoundException: com.intersys.jdbc.CacheDriver&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.net.URLClassLoader.findClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.ClassLoader.loadClass(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.forName0(Native Method)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.Class.forName(Unknown Source)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at local_project.test_db_move_0_1.test_DB_move.tJDBCInput_1Process(test_DB_move.java:779)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at local_project.test_db_move_0_1.test_DB_move.runJobInTOS(test_DB_move.java:1417)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#FF0000"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at local_project.test_db_move_0_1.test_DB_move.main(test_DB_move.java:1266)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The Host IP, port, DB name, and User/Psswrd all work fine under the ODBC drivers on the server (Windows 2012 R2). Is there a way to ensure the Job finds the “com.intersys.jdbc.CacheDriver” class?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks, and any suggestions are appreciated,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 09:18:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340899#M108893</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T09:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cache InterSystems DB connection and troubleshooting with Cache JDBC driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340900#M108894</link>
      <description>Hi
&lt;BR /&gt;Have a try to use a tLibraryLoad component in the beginning of job to load this driver jar.
&lt;BR /&gt;
&lt;BR /&gt;Regards
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 13 Sep 2017 06:33:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340900#M108894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T06:33:18Z</dc:date>
    </item>
    <item>
      <title>Re: Cache InterSystems DB connection and troubleshooting with Cache JDBC driver</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340901#M108895</link>
      <description>&lt;P&gt;Thanks Shong,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Looks like the problem is a bit deeper, involving Cache-related accessibility issues. The&amp;nbsp;suggested component does seem to address the external class import problem though. Much appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2017 19:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Cache-InterSystems-DB-connection-and-troubleshooting-with-Cache/m-p/2340901#M108895</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-09-13T19:12:25Z</dc:date>
    </item>
  </channel>
</rss>

