Getting Connection timed out error when deploying Talend jobs through Unix server

Six Stars

Getting Connection timed out error when deploying Talend jobs through Unix server

Hi Talend Team, I need a quick help , We are deploying our talend jobs through Unix server , our source is MSsql server and target is Oracle. we are passing the DB connection through a DB properties file to the context variables. When we build and deploy it in Unix server is taking some time and saying Connection time out error ?!! using the same DB connection details we can able to connect sql server in Talend Metadata, usually we deploy the jobs only with Oracle connections So no problem in that. we have copied all our job related lib files into the unix server, but still we are not able to achieve the result. Is that we are missing something ? Please find the error message for your reference. Exception in component tMSSqlInput_7 Exception in component tMSSqlInput_2 Exception in component tMSSqlInput_4 java.sql.SQLException: Network error IOException: Connection timed out at net.sourceforge.jtds.jdbc.JtdsConnection.(JtdsConnection.java:436) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247) at data_migration_sit.archival_blob_data_parallel_childjob_1_0_1.ARCHIVAL_BLOB_DATA_PARALLEL_CHILDJOB_1.tMSSqlInput_4Process(ARCHIVAL_BLOB_DATA_PARALLEL_CHILDJOB_1.java:5108) at data_migration_sit.archival_blob_data_parallel_childjob_1_0_1.ARCHIVAL_BLOB_DATA_PARALLEL_CHILDJOB_1$9.run(ARCHIVAL_BLOB_DATA_PARALLEL_CHILDJOB_1.java:27135) Caused by: java.net.ConnectException: Connection timed out at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:589) at net.sourceforge.jtds.jdbc.SharedSocket.createSocketForJDBC3(SharedSocket.java:288) at net.sourceforge.jtds.jdbc.SharedSocket.(SharedSocket.java:251) at net.sourceforge.jtds.jdbc.JtdsConnection.(JtdsConnection.java:331) ... 5 more

Five Stars

Re: Getting Connection timed out error when deploying Talend jobs through Unix server

Can you ping the MSSQL Server host from UNIX? and, it seems to be MSSQl input component. What is the size of input data?

Six Stars

Re: Getting Connection timed out error when deploying Talend jobs through Unix server

I can able to ping to MSSQL server from Unix server its responding well, we are loading some 32k rows of BLOB data from source MSSQL server to Oracle target, we are executing our job through scripts in Unix server. the DB connection details are passing correctly but we are not able to connect to MSSQL server getting Connection timed out after 2 mins of wait. The same job running fine in the studio and loading into target perfectly. !!!!! Thanks
Highlighted
Six Stars

Re: Getting Connection timed out error when deploying Talend jobs through Unix server

Hi Talend Team, Any help on the below request ? Exception in component tMSSqlInput_4 java.sql.SQLException: Network error IOException: Connection timed out at net.sourceforge.jtds.jdbc.JtdsConnection.(JtdsConnection.java:436) at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:184) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:247)

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Agile Data lakes & Analytics

Accelerate your data lake projects with an agile approach

Watch