<?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 Talend Runtime - API with Snowflake connection : error in Installing and Upgrading</title>
    <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Runtime-API-with-Snowflake-connection-error/m-p/2479707#M12503</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have created a simple REST web service using Talend (Integration and not Route) that connects to a Snowflake table and returns the data from this table. Locally, from my Studio, it works. However, when I deploy and test the web service on Talend Runtime, it generates an error on the component that reads the Snowflake table "tDBInput_2": "java.io.IOException: Error processing query".&lt;/P&gt;
&lt;P&gt;I replaced my query with "SELECT '1' FROM DUAL", but the error remains the same.&lt;/P&gt;
&lt;P&gt;Therefore, I thought I needed to install the Snowflake JDBC Driver in Karaf. I followed this procedure: &lt;A href="https://help.talend.com/en-US/esb-container-administration-guide/8.0/installing-using-simple-copy-to-deploy-folder" target="_new" rel="noopener"&gt;https://help.talend.com/en-US/esb-container-administration-guide/8.0/installing-using-simple-copy-to-deploy-folder&lt;/A&gt; which is not working: I placed my snowflake-jdbc-3.19.0.jar file in all directories and subdirectories of the &amp;lt;TalendRuntimePath&amp;gt;/lib folder, but nothing happens.&lt;/P&gt;
&lt;P&gt;The error in the tesb.log file is as follows:&lt;/P&gt;
&lt;P&gt;2024-09-04T19:13:43,451 | ERROR | qtp1409286757-360 | snowflake.client.log.JDK14Logger 144 | 434 - urw_talend_asi2-eu.WS_Get_Buildings - 0.1.2 | Exception creating result&lt;BR /&gt;java.lang.ExceptionInInitializerError: null&lt;BR /&gt;at net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager.&amp;lt;clinit&amp;gt;(UnsafeAllocationManager.java:27) ~[snowflake-jdbc-3.13.30.jar:3.13.30]&lt;BR /&gt;at net.snowflake.client.jdbc.internal.apache.arrow.memory.DefaultAllocationManagerFactory.&amp;lt;clinit&amp;gt;(DefaultAllocationManagerFactory.java:26) ~[snowflake-jdbc-3.13.30.jar:3.13.30]&lt;BR /&gt;at java.lang.Class.forName0(Native Method) ~[?:?]&lt;/P&gt;
&lt;P&gt;at java.lang.Thread.run(Thread.java:840) ~[?:?]&lt;BR /&gt;Caused by: java.lang.RuntimeException: Failed to initialize MemoryUtil. Was Java started with `--add-opens=java.base/java.nio=ALL-UNNAMED`? (See &lt;A href="https://arrow.apache.org/docs/java/install.html" target="_blank"&gt;https://arrow.apache.org/docs/java/install.html&lt;/A&gt;)&lt;BR /&gt;at net.snowflake.client.jdbc.internal.apache.arrow.memory.util.MemoryUtil.&amp;lt;clinit&amp;gt;(MemoryUtil.java:141) ~[snowflake-jdbc-3.13.30.jar:3.13.30]&lt;BR /&gt;... 85 more&lt;BR /&gt;Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field long java.nio.Buffer.address accessible: module java.base does not "opens java.nio" to unnamed module @7f2c0b06&lt;BR /&gt;at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) ~[?:?]&lt;/P&gt;
&lt;P&gt;Could you help me with this one ?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2024 18:01:09 GMT</pubDate>
    <dc:creator>DerfelCadarn</dc:creator>
    <dc:date>2024-09-04T18:01:09Z</dc:date>
    <item>
      <title>Talend Runtime - API with Snowflake connection : error</title>
      <link>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Runtime-API-with-Snowflake-connection-error/m-p/2479707#M12503</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have created a simple REST web service using Talend (Integration and not Route) that connects to a Snowflake table and returns the data from this table. Locally, from my Studio, it works. However, when I deploy and test the web service on Talend Runtime, it generates an error on the component that reads the Snowflake table "tDBInput_2": "java.io.IOException: Error processing query".&lt;/P&gt;
&lt;P&gt;I replaced my query with "SELECT '1' FROM DUAL", but the error remains the same.&lt;/P&gt;
&lt;P&gt;Therefore, I thought I needed to install the Snowflake JDBC Driver in Karaf. I followed this procedure: &lt;A href="https://help.talend.com/en-US/esb-container-administration-guide/8.0/installing-using-simple-copy-to-deploy-folder" target="_new" rel="noopener"&gt;https://help.talend.com/en-US/esb-container-administration-guide/8.0/installing-using-simple-copy-to-deploy-folder&lt;/A&gt; which is not working: I placed my snowflake-jdbc-3.19.0.jar file in all directories and subdirectories of the &amp;lt;TalendRuntimePath&amp;gt;/lib folder, but nothing happens.&lt;/P&gt;
&lt;P&gt;The error in the tesb.log file is as follows:&lt;/P&gt;
&lt;P&gt;2024-09-04T19:13:43,451 | ERROR | qtp1409286757-360 | snowflake.client.log.JDK14Logger 144 | 434 - urw_talend_asi2-eu.WS_Get_Buildings - 0.1.2 | Exception creating result&lt;BR /&gt;java.lang.ExceptionInInitializerError: null&lt;BR /&gt;at net.snowflake.client.jdbc.internal.apache.arrow.memory.UnsafeAllocationManager.&amp;lt;clinit&amp;gt;(UnsafeAllocationManager.java:27) ~[snowflake-jdbc-3.13.30.jar:3.13.30]&lt;BR /&gt;at net.snowflake.client.jdbc.internal.apache.arrow.memory.DefaultAllocationManagerFactory.&amp;lt;clinit&amp;gt;(DefaultAllocationManagerFactory.java:26) ~[snowflake-jdbc-3.13.30.jar:3.13.30]&lt;BR /&gt;at java.lang.Class.forName0(Native Method) ~[?:?]&lt;/P&gt;
&lt;P&gt;at java.lang.Thread.run(Thread.java:840) ~[?:?]&lt;BR /&gt;Caused by: java.lang.RuntimeException: Failed to initialize MemoryUtil. Was Java started with `--add-opens=java.base/java.nio=ALL-UNNAMED`? (See &lt;A href="https://arrow.apache.org/docs/java/install.html" target="_blank"&gt;https://arrow.apache.org/docs/java/install.html&lt;/A&gt;)&lt;BR /&gt;at net.snowflake.client.jdbc.internal.apache.arrow.memory.util.MemoryUtil.&amp;lt;clinit&amp;gt;(MemoryUtil.java:141) ~[snowflake-jdbc-3.13.30.jar:3.13.30]&lt;BR /&gt;... 85 more&lt;BR /&gt;Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field long java.nio.Buffer.address accessible: module java.base does not "opens java.nio" to unnamed module @7f2c0b06&lt;BR /&gt;at java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) ~[?:?]&lt;/P&gt;
&lt;P&gt;Could you help me with this one ?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 18:01:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Installing-and-Upgrading/Talend-Runtime-API-with-Snowflake-connection-error/m-p/2479707#M12503</guid>
      <dc:creator>DerfelCadarn</dc:creator>
      <dc:date>2024-09-04T18:01:09Z</dc:date>
    </item>
  </channel>
</rss>

