Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Error on insertion in database with multithreading

Hi,
I developed a job that inserts data from xml files into a database using multithreading. There are 12 iterations on 12 XML files, and so 12 executions on the component connection to the database(I'm using tAS400Output).
The console shows the error at the end of the execution that are probalblement in conjunction with the number of simultaneous connections. what to do in this case
A screenshot below explain the job architecture
Error in the console :
 connecting to socket on port 3495
connected
Communication link failure. (Software caused connection abort: recv failed) SQLSTATE= CODE
Communication link failure. (Software caused connection abort: recv failed) SQLSTATE= CODE
Communication link failure. (Software caused connection abort: recv failed) SQLSTATE= CODE
Communication link failure. (Software caused connection abort: recv failed) SQLSTATE= CODECommunication link failure. (Software caused connection abor


To see the whole post, download it here
Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Hi,
My colleague told me that he had the some problem with this DB installation. I am trying to solve this problem with the DB administrator.
Thanks

View solution in original post

6 Replies
Anonymous
Not applicable
Author

Hi,
Have you tried to use TalendHelpCenter:tAccessRollback in your job design to avoid involuntary commitment of part of a transaction?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
I modified the job design but the execution still blocked in the last component.
A screenshot below explain the job design and the execution problem
0683p000009MEOw.jpg
Anonymous
Not applicable
Author

I think that it is because of the ability of the DBMS to process request simultaneously
Anonymous
Not applicable
Author

Hi,
Have you tried other DB(oracle, my sql...) to see if this issue repro?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
My colleague told me that he had the some problem with this DB installation. I am trying to solve this problem with the DB administrator.
Thanks
Anonymous
Not applicable
Author

Hi,
It's welcome to share your solution on forum.
Best regards
Sabrina