Question
Standard Charted Bank
IN
Last activity: 7 Jan 2019 9:16 EST
How to define the temp path in JBOSS in PRPC 8.1
Hi Team,
As you know we can customize temp path in standalone-full.xml in Jboss 6.1 in PRPC 8.1.
As part of application configuration, vendor team customized in incorrect temp path "/pegadata/pega/pega-temp" in standalone-full.xml. Actual path is "/pegadata/pega/pega_temp" but still temp files are generating in the correct path properly in all the higher environments.
Note: Pega-temp is wrong path, correct path is "_" instead of "-" (pega_temp).
Is there any other place where we can configure the temp path apart from Standalone-full.xml file?
Thanks,
Sreeni
***Edited by Moderator: Pallavi to update platform capability tags***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Basically you can set this value from 3 different places:
- Application server(Windows : standalone.conf.bat, UNIX/LINUX : standalone.conf with below JVM Parameters)
- Windows -> set "JAVA_OPTS=%JAVA_OPTS% -Dpega.tmpdir=<full-path-to-temp-directory>"
- UNIX/LINUX -> export "JAVA_OPTS=%JAVA_OPTS% -Dpega.tmpdir=<full-path-to-temp-directory>"
- DSS (prconfig/initialization/explicittempdir/default)
- prconfig.xml (explicitTempDir)
If you set the value in prconfig.xml which will be available in APP-INF/lib/pega/prresources.jar(path picked from WAS) file, then this will have the precedence compared to Application server configuration. so you can make sure of prconfig.xml file setting as you say that the first 2 cases has the correct path as stated earlier.
Standard Charted Bank
IN
Is there any other place where we can configure the temp path apart from Standalone-full.xml file?
Pegasystems Inc.
US
Hi Sreeni,
There are couple of other ways to set pega temp directory i.e. through DSS(prconfig/initialization/explicittempdir/default) or explicitTempDir in prconfig.xml file. Hope it might help you.
Regards
Mahesh M
Standard Charted Bank
IN
Thanks for your response.
In all the envirionment i am able to see DSS value like below.
prconfig/initialization/explicittempdir/default = ${pega.tmpdir}.
where i can find the value of ${pega.tmpdir}
Thanks,
Sreeni
Accepted Solution
Pegasystems Inc.
US
Basically you can set this value from 3 different places:
- Application server(Windows : standalone.conf.bat, UNIX/LINUX : standalone.conf with below JVM Parameters)
- Windows -> set "JAVA_OPTS=%JAVA_OPTS% -Dpega.tmpdir=<full-path-to-temp-directory>"
- UNIX/LINUX -> export "JAVA_OPTS=%JAVA_OPTS% -Dpega.tmpdir=<full-path-to-temp-directory>"
- DSS (prconfig/initialization/explicittempdir/default)
- prconfig.xml (explicitTempDir)
If you set the value in prconfig.xml which will be available in APP-INF/lib/pega/prresources.jar(path picked from WAS) file, then this will have the precedence compared to Application server configuration. so you can make sure of prconfig.xml file setting as you say that the first 2 cases has the correct path as stated earlier.
Standard Charted Bank
IN
In SMA, in Advanced -> ETier Runtime Environment Version i am able to see
pega.tmpdir | /pegadata/pega/pega_temp |
Please guide me from where this value (/pegadata/pega/pega_temp) is talking so that i can cross check the same.
Thanks,
Sreeni
Standard Charted Bank
IN
Thanks a lot Mahesh for your help.
I am able to see correct path configure in the standalone.conf file like below.
JAVA_OPTS="-Xms24576m -Xmx24576m -XX:MaxPermSize=3072m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.as.management.blocking.timeout=600 -Djava.awt.headless=true -Duser.home=/pegadata/pega/pega_config -Dpega.tmpdir=/pegadata/pega/pega_temp"
Regards,
Sreeni
-
Diana Duran
Pegasystems Inc.
US
Good to hear that your issue has been resolved, your'e welcome.