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: 
Anonymous
Not applicable

Unable to load changed context parameters in file

I am exporting talend job as web service. While calling the web service url, the web service is taking the default context parameter values which is specified inside talend studio.while build job.But after i was changed parameter values from development to staging values but  services  using default parameters i.e.used while deploying service.So please help me how my parameter values can effect while executing service. 

Labels (2)
2 Replies
Anonymous
Not applicable
Author

Hi,
Did you build your job as job script file and change context variable in job script file and pass value from commandline, such as,
 --context=Default --context_param


Or do you want to load context parameters dynamically? Have you already checked talend Implicit Context Load feature or TalendHelpCenter:tContextLoad component?
TalendHelpCenter:Using the Implicit Context Load feature
Please give us more information about your current situation.
Best regards
Sabrina
Anonymous
Not applicable
Author

Hi,
I am creating a rest service where i am loading context values from a config file.When i am deploying this service on talend runtime it uses default context values but not the changed values.
Example:1)I have created  a context variable DB_HOST:=192.168.10.112 and i am reading it from a file.
               2)After my client request i have changed it to DB_HOST:=192.168.10.113 But it doesn't reflect in my created service.
But when i am restarting Talend Run time it executese successfully.So i need to restart Talend Run time always when i am changing values in configuration file i.e.contextfile?