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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
RVeitch_84
Creator
Creator

How to use a resource file in a string for a db connection (Oracle)

I have this dbConnection that works fine with a local wallet file defined as follows for the additional parameters value:

javax.net.ssl.trustStoreType=SSO&javax.net.ssl.keyStoreType=SSO&javax.net.ssl.trustStore=C:/Talend/wallet_nsaw_sb/cwallet.sso&javax.net.ssl.keyStore=C:/Talend/wallet_nsaw_sb/cwallet.sso

 

I would like to try and use a resource file in the above string like this:

 

context.test+context.resource_file_wallet+context.test2+context.resource_file_wallet

 

context.test=javax.net.ssl.trustStoreType=SSO&javax.net.ssl.keyStoreType=SSO&javax.net.ssl.trustSto=context.test2 =&javax.net.ssl.keyStore=

context.resource_file_wallet = the cwallet file that I added to the resource repo

 

But I am getting an error:

The constructor ByteArrayInputStream(String) is undefined

 

 

This is all in prep to move this job to a Cloud Engine...

 

Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hi

I have replied you in question.

 

Regards

Shong

 

 

View solution in original post

1 Reply
Anonymous
Not applicable

Hi

I have replied you in question.

 

Regards

Shong