<?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: Exceptions in tDBConnection to SQL Server when externally running jar in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347456#M114709</link>
    <description>&lt;P&gt;if ​IntegratedSecurity=false, it will use SQL Server authentication, you need to use standard SQL Server username/password, are you able to login SQL Server management studio with login account?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 16 Feb 2023 11:53:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-02-16T11:53:49Z</dc:date>
    <item>
      <title>Exceptions in tDBConnection to SQL Server when externally running jar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347453#M114706</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been working in Talend Open Studio for a while now, designing a few jobs. They run just fine.&lt;/P&gt;&lt;P&gt;Now I wanted to export them so they can run independently on a server triggered by a scheduled task. I right-click a job, choose "Build Job", and it generates a zip with jar and batch file etc. When I try to run the batch file, I always seem to get Java exceptions that are related to the database connection. I don't have those issues in TOS itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried many suggestions that I found here or elsewhere, like putting the ntlmauth.dll everywhere etc, but I can't get past these exceptions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I configure my &lt;B&gt;tDBConnection (MS SQL Server) to "Open source JTDS"&lt;/B&gt;, I leave username and password empty, and I add "IntegratedSecurity=true" to the "Additional JDBC Parameters". It works in TOS. But when I build the job and execute the batch file, I get this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;I&gt;Exception in component tDBOutput_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;java.lang.NullPointerException&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tWaitForFile_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:2367)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:8200)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:7991)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I configure my &lt;B&gt;tDBConnection (MS SQL Server) to "Microsoft"&lt;/B&gt;, I fill in a username and password, and I leave the "Additional JDBC Parameters" empty. It works in TOS. But when I build the job and execute the batch file, I get this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;Exception in component tDBOutput_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;java.lang.NullPointerException&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tWaitForFile_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:2367)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:8200)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:7991)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;Exception in component tDBConnection_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target". ClientConnectionId:73a555e9-eff5-43c5-9c7a-ca7baed47bef&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:3806)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1907)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3329)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2950)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2790)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1663)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1064)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tDBConnection_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:6765)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:8218)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:7991)&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&lt;I&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use the latest TOS 8.0.1. I deleted and reinstalled TOS. I use the jTDS from &lt;A href="https://sourceforge.net/projects/jtds/" alt="https://sourceforge.net/projects/jtds/" target="_blank"&gt;https://sourceforge.net/projects/jtds/&lt;/A&gt; and put the ntlmauth.dll in several folders (studio, system32). I use the "zulu11.62.17-ca-jdk11.0.18-win_x64" as recommended by Talend docs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can I do to get past these exceptions? This job needs to run on a server in a reliable way and not fall apart unexpectedly. I should be able to have control over the components and versions it needs to run properly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347453#M114706</guid>
      <dc:creator>BartG</dc:creator>
      <dc:date>2024-11-15T22:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions in tDBConnection to SQL Server when externally running jar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347454#M114707</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;​IntegratedSecurity=true means to use  windows authentication,  do you run the job batch on the same windows machine? NullPointerException is always difficult to judge the cause from the error message, sometimes we need to run the Job code in debug mode to find the cause.&lt;/P&gt;&lt;P&gt;When using &lt;B&gt;Microsoft &lt;/B&gt;driver, fill in the username and password, add the following parameters to Additional JDBC Parameters field.&lt;/P&gt;&lt;P&gt;integratedSecurity=false;encrypt=true;trustServerCertificate=true&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you try and let me know if it fixes the issue?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 01:54:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347454#M114707</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-16T01:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions in tDBConnection to SQL Server when externally running jar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347455#M114708</link>
      <description>&lt;P&gt;Hi Shong,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the feedback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All designing and tests are run on the same machine so far.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;With the Microsoft driver, and adding your parameters "integratedSecurity=false;encrypt=true;trustServerCertificate=true" it gives me the following errors when running the job inside TOS:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Starting job Split_FPT_input_to_FLx_output_ViaSQL_edit at 10:16 16/02/2023.&lt;/I&gt;&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3534&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;Exception in component tDBConnection_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/P&gt;&lt;P&gt;com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '&amp;lt;removed&amp;gt;’. ClientConnectionId:751d7c42-5072-475e-93c7-5e99bb4f7cbe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:265)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:300)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:133)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:37)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:6299)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:4911)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:4849)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7620)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3916)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3358)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2950)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2790)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1663)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1064)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tDBConnection_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:733)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:6320)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:6112)&lt;/P&gt;&lt;P&gt;Exception in component tDBOutput_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tWaitForFile_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:3232)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:6344)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:6112)&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;I&gt;Job Split_FPT_input_to_FLx_output_ViaSQL_edit ended at 10:16 16/02/2023. [Exit code&amp;nbsp;= 1]&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;When I build the job (still with you parameters) and run the batch file, it gives the following errors:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Users\&amp;lt;removed&amp;gt;\Desktop\Split_FPT_input_to_FLx_output_ViaSQL_edit&amp;gt;java -Dtalend.component.manager.m2.repository="C:\Users\&amp;lt;removed&amp;gt; \Desktop\Split_FPT_input_to_FLx_output_ViaSQL_edit/../lib" -Xms256M -Xmx1024M -cp .;../lib/routines.jar;../lib/log4j-slf4j-impl-2.13.2.jar;../lib/log4j-api-2.13.2.jar;../lib/log4j-core-2.13.2.jar;../lib/filecopy-2.0.3.jar;../lib/jboss-marshalling-2.0.12.Final.jar;../lib/dom4j-2.1.3.jar;../lib/talend_file_enhanced-1.1.jar;../lib/slf4j-api-1.7.29.jar;../lib/mssql-jdbc.jar;../lib/talendcsv-1.0.0.jar;../lib/crypto-utils-0.31.12.jar;split_fpt_input_to_flx_output_viasql_edit_0_1.jar; flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit --context=Default&lt;/P&gt;&lt;P&gt;Exception in component tDBOutput_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/P&gt;&lt;P&gt;java.lang.NullPointerException&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tWaitForFile_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:2367)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:8200)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:7991)&lt;/P&gt;&lt;P&gt;Exception in component tDBConnection_1 (Split_FPT_input_to_FLx_output_ViaSQL_edit)&lt;/P&gt;&lt;P&gt;com.microsoft.sqlserver.jdbc.SQLServerException: Login failed for user '&amp;lt;removed&amp;gt;’. ClientConnectionId:e258510d-c6c3-4e71-8eac-7011f2bef584&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:265)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSTokenHandler.onEOF(tdsparser.java:300)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:133)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSParser.parse(tdsparser.java:37)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:6299)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:4911)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:4849)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7620)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:3916)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3358)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2950)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2790)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1663)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1064)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.tDBConnection_1Process(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:6765)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.runJobInTOS(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:8218)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;at flx_mapping.split_fpt_input_to_flx_output_viasql_edit_0_1.Split_FPT_input_to_FLx_output_ViaSQL_edit.main(Split_FPT_input_to_FLx_output_ViaSQL_edit.java:7991)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So it unfortunately seems worse: it doesn't even run inside TOS anymore &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 09:27:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347455#M114708</guid>
      <dc:creator>BartG</dc:creator>
      <dc:date>2023-02-16T09:27:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions in tDBConnection to SQL Server when externally running jar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347456#M114709</link>
      <description>&lt;P&gt;if ​IntegratedSecurity=false, it will use SQL Server authentication, you need to use standard SQL Server username/password, are you able to login SQL Server management studio with login account?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Feb 2023 11:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347456#M114709</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-02-16T11:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Exceptions in tDBConnection to SQL Server when externally running jar</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347457#M114710</link>
      <description>&lt;P&gt;Hi, yes I just used my own account and entered the username and password. This account works with integrated security because it's the account that I use on my own system. I also use this account in SQL Server Management Studio to manage all databases and to development, so this account certainly has access to the SQL Server.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 12:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exceptions-in-tDBConnection-to-SQL-Server-when-externally/m-p/2347457#M114710</guid>
      <dc:creator>BartG</dc:creator>
      <dc:date>2023-02-20T12:25:55Z</dc:date>
    </item>
  </channel>
</rss>

