How to set environment variables when using the Application Server

Started by GerardS, July 16, 2019, 07:41:05 AM

Previous topic - Next topic

GerardS

For a customer we have installed unixodbc for MS SQL Server.  This works great when using a  host/client server interface. We added the following lines to the startscript  "starthost".

# Set ODBC variables
export ODBCINI=/etc/odbc.ini
export ODBCSYSINI=/etc
export LD_LIBRARY_PATH=.....

Our customer however uses "Application Server" to start their application.
Where can we set the environment variables when  using "Application Server"?

Gerard


Mike King

You would need to set the environment variables in the process that runs the Application Server so that they cascade down to the individual sub-processes.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com