Support Article
Deploying ear fails with errors with Pega 7.2.2
SA-32943
Summary
Deploying the Pega prpc_j2ee14.ear file on WAS (Websphere Application Server) fails with the below errors in the logs.
Error Messages
[1/23/17 13:15:44:608 CST] 00000126 ApplicationPa E SECJ0172E: Error line 147: unable to expand "pega.tmpdir" in encoding the FilePath
[1/23/17 13:15:44:614 CST] 00000126 FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on /sys_apps_01/WebSphere85/AppServer/profiles/dmgrXPBase/logs/ffdc/dmgr_b349495c_17.01.23_13.15.44.6108571773652672079249.txt com.ibm.ws.security.policy.ApplicationParser.parseGrantEntry 62
[1/23/17 13:15:44:614 CST] 00000126 ApplicationPa W SECJ0165W: Expand exception occurred. Skip the permission entry in app.policy file. The exception is com.ibm.ws.security.policy.Parser$ExpandException: line 147: unable to expand "pega.tmpdir"
The major.minor version '51.0' is too recent for this tool to understand.
Steps to Reproduce
Deploy prpc_j2ee14.ear to WebSphere on Java 7.
Root Cause
A third-party product issue. The Websphere deployment manager uses SDK 1.6 as default, and this is incompatible with Pega 7.2.2.
Resolution
Make the following change to the operating environment:
- Run the WAS managesdk command.
- Make sure to replace the <WAS_Home> with your own value) to set the deployment manager default SDK to 1.7 and redeploy the Pega ear:
<WAS_Home>/bin>./managesdk.sh -enableprofileall -sdkName 1.7_64 -enableServers
CWSDK1017I: Profile Dmgr01 now enabled to use SDK 1.7_64.
Published March 1, 2017 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.