Forum Discussion
Removed the Union and Router snaps if we are getting separate files from upstream and the required output can be achieved.
- stewartbulloch5 years agoNew Contributor
@robin I’ve not looked at configuring this but your guide covers restarting the application in a Windows environment but not where the equivalent /etc/sysconfig/jcc entries for the env variables should be stored. I’m assuming it might be in kcc.bat but it isn’t clear.
@stewartbulloch yes it would be in the
jcc.bat
file but it’s a bit more complicated.In that file you will see a line like:
%CYGRUNSRV% -I %SERVICE_NAME% -1 %SNAPLEX_LOG% -2 %SNAPLEX_ERR% -d %SERVICE_DISPLAY% -p %JAVA_EXE% -c %SNAP_HOME% -f "SnapLogic Snaplex (Java)" -a '%START_OPTIONS%' -o -V -e 'SL_ROOT=%SL_ROOT%' -e 'PATH=%PATH%' -e 'JAVA_HOME=%JAVA_HOME%'
I believe here you can add a new
-e 'http_proxy=VALUE'/'https_proxy=VALUE'
pair and, after the service is reinstalled withjcc.bat install_service; jcc.bat start
, the environment variable should be available now in the Windows environment.If indeed
http_proxy
(and its HTTPS equivalent) is the environment variable a certain Windows utility uses for proxy configuration, then it should work.I’m less familiar with Windows OS though for this use case so I’d be interested to hear from anyone if this worked for them.
Related Content
- 2 years ago
- 3 years ago