[Progress Communities] [Progress OpenEdge ABL] Forum Post: PASOE - Setting different environment vars per app

Status
Not open for further replies.
S

ssouthwe

Guest
I understand that with PASOE, one way to set environment variables is to throw a *_setenv.bat or *_setenv.sh script into the instance's bin directory. I would have thought that if I had two apps installed, lets say foo and bar, then I would use foo_setenv.bat and bar_setenv.bat, and each agent would pick up its own environment to run. In my testing, every app on the instance picks up both scripts and ends up with the same environment variables, which breaks Webspeed. Webspeed needs each app to have its own set. Is there some other way that I'm missing? In my *_setenv.bat program, I'm redirecting "set" to a file, and it doesn't appear that PASOE sets any environment variable that I could check to see which app is starting up. If it had, for example ABLAPP=foo or WEBAPP=bar, then I could make my batch file set other required environment variables like WEB_RUN_PATH conditionally.

Continue reading...
 
Status
Not open for further replies.
Top