PxPlus User Forum

Twitter Twitter Twitter

Author Topic: How to set environment variables when using the Application Server  (Read 597 times)

GerardS

  • New Member
  • *
  • Posts: 1
    • View Profile
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

« Last Edit: July 16, 2019, 10:06:42 AM by GerardS »

Mike King

  • Administrator
  • Diamond Member
  • *****
  • Posts: 3416
  • Mike King
    • View Profile
    • PVX Plus Technologies
Re: How to set environment variables when using the Application Server
« Reply #1 on: July 16, 2019, 10:56:57 AM »
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.