In PeopleTools 8.53 Oracle has changed how the TEMP and TMP environment variables are handled. They are taking the responsibility of setting these out of the Admins hands. In the past we set these as environment variables perhaps in the shell profile or psconfig.sh. When we configured the app server / process scheduler these settings would be inherited into the Tuxedo configuration. With Windows 2008, some were impacted with it’s default of dynamic TEMP/TMP variables based on session and being deleted on logout. On Windows a previous co-worker of mine got me into the practice of modifying the psappsrv.ubx and prprcs.ubx files and setting these variables there rather than relying on what the user in Windows might have set or trying to adjust them with scripts. This proved to be helpful in many ways. Now Oracle has decided to do the same thing by default.
This may impact Admins who are used to having these variables set to something they specifically wanted. Depending on your setup you may prefer to change these back. A default psappsrv.ubx file has the following section:
# ————–
*PS_ENVFILE
TEMP={LOGDIR}{FS}tmp
TMP={LOGDIR}{FS}tmp
TM_BOOTTIMEOUT=120
TM_RESTARTSRVTIMEOUT=120
…
{LOGDIR} is $PS_CFG_HOME/appserv/<DOMAIN>/LOGS and {FS} is the OS specific path delimiter. So this will use a temp directory in the LOGS directory of each domain such as /opt/apps/psoft/domains/appserv/HCM92/LOGS/tmp.
I’m not sure how much of a fan I am of having TEMP in the logs directory. I guess just knowing it’s moving is half the battle. It’s easy to change back if you like.
See Oracle support document [ID 1486978.1] for the announcement. I don’t recall seeing this in the release notes, but I might have missed it. They also said it would be back ported to 8.52.16, but you would need to recreate all your domains, not just reconfigure in order to get the change. Oracle is adding these settings to the domain templates, once you create the new domain from a template TEMP and TMP will be set in the appropriate ubx file.
Leave a Reply