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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
root
Creator II
Creator II

SAM with SQLSERVER Data Source

I am trying to setup SAM by using MSSQL Server as a data source instead of Derby. 

I installed the SQLSERVER DataSource by adding the sqljdbc*.jar file into
<TalendRuntimePath>/deploy folder



I installed SQLServer DataSource in OSGI by giving the command:
feature:install tesb-datasource-sqlserver


I edited
<TalendRuntimePath>/etc/org.talend.esb.datasource.sqlserver.cfg

and provided my DB connection details

From Karaf, I ran:
tesb:start-sam


This created a Derby Data Source and installed the Derby-starter and tesb-datasource-derby feature. 

Why would this happen? How can I force use only SQLSERVER data source?
Please advise. Thank you.
Labels (3)
2 Replies
Anonymous
Not applicable

Hi,

The "tesb:start-sam" is an aliase command for start the default Derby datasource and SAM server/services.

tesb:start-sam = { feature:install tesb-datasource-derby tesb-derby-starter tesb-sam-service-soap tesb-sam-service-rest } ;

So in case of other datasource you want to use, the "tesb:start-sam" should not be run in your final step, instead, you can do:
feature:install tesb-sam-service-soap
feature:install tesb-sam-service-rest

Regards.
root
Creator II
Creator II
Author

xldai wrote:
Hi,

The "tesb:start-sam" is an aliase command for start the default Derby datasource and SAM server/services.

tesb:start-sam = { feature:install tesb-datasource-derby tesb-derby-starter tesb-sam-service-soap tesb-sam-service-rest } ;

So in case of other datasource you want to use, the "tesb:start-sam" should not be run in your final step, instead, you can do:
feature:install tesb-sam-service-soap
feature:install tesb-sam-service-rest

Regards.

Ahh, I see. Makes sense. Will try that!