Deploying prpc_j2ee14_ws.ear fails with errors with Pega 8.3.1
I get the error "unable to expand pega.tmpdir in encoding the FilePath" when deploying prpc_j2ee14_ws.ear.
I checked the article SA-32943, Reference URL, and confirmed that the version of Java being used is SDK1.8_64 and Java 2 Security is invalid, but an error still occurs.
■Environmental information
AP Server:IBM WebSphere Application Server Proprietary information hidden base Edition
Java Version:1.8_64
I get the error "unable to expand pega.tmpdir in encoding the FilePath" when deploying prpc_j2ee14_ws.ear.
I checked the article SA-32943, Reference URL, and confirmed that the version of Java being used is SDK1.8_64 and Java 2 Security is invalid, but an error still occurs.
■Environmental information
AP Server:IBM WebSphere Application Server Proprietary information hidden base Edition
Java Version:1.8_64
■Error Messages
[20/01/22 20:50:03:438 JST] 0000006e ApplicationPa E SECJ0172E: Error line 149: unable to expand "pega.tmpdir" in encoding the FilePath
[20/01/22 20:50:03:501 JST] 0000006e FfdcProvider W com.ibm.ws.ffdc.impl.FfdcProvider logIncident FFDC1003I: FFDC Incident emitted on D:\opt\IBM\WebSphere\AppServer\profiles\AppSrv12\logs\ffdc\server1_c275eb3f_20.01.22_ Proprietary information hidden2499274950417125557.txt com.ibm.ws.security.policy.ApplicationParser.parseGrantEntry 62
[20/01/22 20:50:03:516 JST] 0000006e 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 149: unable to expand "pega.tmpdir"
at com.ibm.ws.security.policy.ApplicationParser.expand(ApplicationParser.java:209)
at com.ibm.ws.security.policy.Parser.expand(Parser.java:217)
at com.ibm.ws.security.policy.Parser.parsePermissionEntry(Parser.java:186)
at com.ibm.ws.security.policy.ApplicationParser.parseGrantEntry(ApplicationParser.java:67)
at com.ibm.ws.security.policy.Parser.parse(Parser.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at com.ibm.ws.security.policy.ApplicationPolicyParser.parse(ApplicationPolicyParser.java:61)
at com.ibm.ws.management.application.AppManagementImpl.compareSecurityPolicyAsSystem(AppManagementImpl.java:1877)
at com.ibm.ws.management.application.AppManagementImpl$9.run(AppManagementImpl.java:1798)
at com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5397)
at com.ibm.ws.security.auth.ContextManagerImpl.runAsSpecified(ContextManagerImpl.java:5578)
at com.ibm.ws.management.application.AppManagementImpl.compareSecurityPolicy(AppManagementImpl.java:1796)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:287)
at javax.management.modelmbean.RequiredModelMBean$4.run(RequiredModelMBean.java:1263)
at java.security.AccessController.doPrivileged(AccessController.java:620)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1257)
at javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:1096)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:831)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:813)
at com.ibm.ws.management.AdminServiceImpl$1.run(AdminServiceImpl.java:1350)
at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)
at com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1243)
at com.ibm.ws.console.core.mbean.MBeanHelper.invoke(MBeanHelper.java:203)
at com.ibm.ws.console.appmanagement.action.GatherTaskData.securityCheck(GatherTaskData.java:507)
at com.ibm.ws.console.appmanagement.action.GatherTaskData.execute(GatherTaskData.java:273)
at com.ibm.ws.console.appmanagement.action.DefaultBindingsAction.execute(DefaultBindingsAction.java:342)
at org.apache.struts.action.RequestProcessor.processActionPerform(Unknown Source)
at org.apache.struts.action.RequestProcessor.process(Unknown Source)
at org.apache.struts.action.ActionServlet.process(Unknown Source)
at org.apache.struts.action.ActionServlet.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:595)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1233)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:782)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:481)
at com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest(ServletWrapperImpl.java:178)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(WebAppFilterChain.java:136)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:97)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.setUpCommandAssistance(WSCUrlFilter.java:967)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.continueStoringTaskState(WSCUrlFilter.java:514)
at com.ibm.ws.console.core.servlet.WSCUrlFilter.doFilter(WSCUrlFilter.java:335)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:195)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:91)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:967)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.invokeFilters(WebAppFilterManager.java:1107)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3980)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:304)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1016)
at com.ibm.ws.webcontainer.WSWebContainer.handleRequest(WSWebContainer.java:1817)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:200)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:463)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewRequest(HttpInboundLink.java:530)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.processRequest(HttpInboundLink.java:316)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:88)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:175)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:775)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:905)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
■Reference URL
https://community1.pega.com/community/product-support/question/unable-expand-pegatmpdir-encoding-filepath