Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
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 (4)
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