Kbase P122856: How is WRKDIR determined for unified brokers?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/15/2007 |
|
Status: Unverified
GOAL:
Where can I find WRKDIR for webspeed brokers?
GOAL:
How is WRKDIR determined for unified brokers?
GOAL:
Where can I find WRKDIR for Appserver brokers?
GOAL:
Where can I find WRKDIR for unified brokers?
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
WebSpeed 3.x
UNIX
FIX:
in $DLC/bin/ubutil script, it sets WRKDIR for all unified brokers.
The relevant portion looks like following:
for what_wrkdir in "$WRKDIR" "/usr/wrk" "."
do
[ ! -d "${what_wrkdir}" ] && continue
WRKDIR=$what_wrkdir
export WRKDIR
break
done
The algorithm works like:
If WRKDIR is set in the environment, it uses that WRKDIR environment variable. If WRKDIR is not set in the environment, the default working directory specified during installation is used. In the above case, the default is /usr/wrk.