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

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

java.sql.SQLException: The syntax of the connection URL jdbc:jtds:sqlserver://:1433;appName Invalid Error

Dear Team,

 

I am performing a an ELT operations using tELTMSSqlInputtELTMSSqlOutput and  tELTMSsqlMap. I was able to connect the database  and retrive the schemas through tELTMSSqlInput and tELTMSSqlOutput. But while running the job i am getting the error as follows,

Exception in component tELTMSSqlOutput_1 (Data_Push)
java.sql.SQLException: The syntax of the connection URL 'jdbc:jtds:sqlserver://:1433;appName=MS_SQL_TEST;' is invalid.
	at net.sourceforge.jtds.jdbc.Driver.setupConnectProperties(Driver.java:242)
	at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at java.sql.DriverManager.getConnection(Unknown Source)
	at ms_sql_test.mstrbi_data_push_0_1.Data_Push.tELTMSSqlMap_1Process(Data_Push.java:414)

Could you please guide how to resolve this, as i was able to connect those database, but while running the job i am getting this error. PFA screenshot of my job for reference.

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hello,

Some errors like 'can not connect to DB' will be logged if you don't fill all the required info.

Best regards

Sabrina

 

rmartin2
Creator II
Creator II

Hi,

 

There's a bug with ELTComponent in JDBC it seems : you can't you a tELTConnection. It doesn't seems to initiate properly.

Try to put your connection info directly in the tELTMap.

 

The tELTMap is the one connecting to the Database not Input and Output.

 

Sincerely,