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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
JK1604346703
Contributor
Contributor

Reading java.exe.config which has app settings from jre bin folder

Hi Team,

I am debugging an old ETL job designed long back and their set up of ETL Jobs is little bit complicated on Azure VM server. The set up is completely custom and different task schedules are created using windows scheduler. There is a root folder ETLComponent and inside we have bin,App_config,config and ETL build folders of various jobs which contains properties and source. JRE bin has java.exe.config file which has app settings and other settings mapped in it. This is all what I see in Prod env.

My understanding is whenever windows scheduler initiates a task using .bat file it is looking for java bin path and reading java.exe config and this is where it loads all app settings required for different dlls. This setup is working fine.

Now the question is I did set up same thing in other staging VM server, but somehow when I run .bat file it does not load java.exe config file and fails to trigger other dlls. I also checked .bat files the first path it reads is java from bin folder "C:\Program Files\Java\jre1.8.0_271\bin\java". i know for sure I am missing something here.

Prod Env is jre 7 and looks like they built jobs almost 5 years back staging is on jre 1.8 with jobs built on talend 7.3.

Is there any way to make .bat file to read java.exe config from jre bin folder and load all app settings????

Thanks

Jay

Labels (2)
0 Replies