Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Error after login in - prNodeImpl init fail

SA-7437

Summary



Login to the portal.

Status fail
Message Problem invoking function: pega_wb_lookuplist.getFileNameFromRuleSets--(PublicAPI), com.pegarules.generated.getFileNameFromRuleSets_060201_VR3K2pMlscvjZY$KzmblOA
Operator ID xyzzy
Requestor ID none
Timestamp Tue Mar 10 14:26:55 EDT 2015
Engine Version PegaRULES 6.2 SP2 (coreAssemblyCached_62SP2_0022)

Version:PRPC 6.2sp2
Jboss:5.1.1
O.S: Linux



Error Messages



2015-03-11 15:20:19,516 [node.com] [ STANDARD] [ ] ( internal.mgmt.PRNodeImpl) INFO - Deleting old web content, cached lists and rules.
2015-03-11 15:20:20,024 [node.com] [ STANDARD] [ ] ( internal.mgmt.PRNodeImpl) INFO - Preparing Rule-Utility-Library definitions for use...
2015-03-11 15:20:21,793 [node.com] [ STANDARD] [ ] ( etier.impl.EngineStartup) ERROR - PegaRULES initialization failed. Server: abcdnode.com
com.pega.pegarules.pub.context.InitializationFailedError: PRNodeImpl init failed
at com.pega.pegarules.session.internal.mgmt.PREnvironment.getThreadAndInitialize(PREnvironment.java:387)
at com.pega.pegarules.session.internal.PRSessionProviderImpl.getThreadAndInitialize(PRSessionProviderImpl.java:1501)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:611)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl._initEngine_privact(EngineImpl.java:165)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineImpl.doStartup(EngineImpl.java:138)
at com.pega.pegarules.session.internal.engineinterface.etier.ejb.EngineBean.doStartup(EngineBean.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:349)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:390)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
at com.pega.pegarules.internal.etier.ejb.EngineBeanBoot.doStartup(EngineBeanBoot.java:130)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

... 119 more
Caused by: com.pega.pegarules.pub.PRRuntimeException: /opt/shared/data/j2ee/pega/tmp/PRGenBackup/PRGenJava/com/pegarules/generated/pega_procom_acceleratorutils.java (Permission denied)
                at com.pega.pegarules.priv.storage.StorageUtils.getOutputStream(StorageUtils.java:169)
                at com.pega.pegarules.pub.util.PROutputStream.<init>(PROutputStream.java:97)
                at com.pega.pegarules.pub.util.PROutputStream.<init>(PROutputStream.java:81)
                at com.pega.pegarules.exec.internal.util.OSFileUtilsImpl.copyFile(OSFileUtilsImpl.java:508)
                at com.pega.pegarules.exec.internal.util.OSFileUtilsImpl.copyDirectory(OSFileUtilsImpl.java:425)
                at com.pega.pegarules.exec.internal.util.OSFileUtilsImpl.copyDirectory(OSFileUtilsImpl.java:421)
                at com.pega.pegarules.exec.internal.util.OSFileUtilsImpl.copyDirectory(OSFileUtilsImpl.java:421)
                at com.pega.pegarules.exec.internal.util.OSFileUtilsImpl.copyDirectory(OSFileUtilsImpl.java:421)
                at com.pega.pegarules.generation.internal.compiler.PRCompilerUtil.deleteGeneratedFiles(PRCompilerUtil.java:443)
                at com.pega.pegarules.generation.internal.PRGenProviderImpl.deleteGeneratedFiles(PRGenProviderImpl.java:308)
                at com.pega.pegarules.session.internal.mgmt.PRNodeImpl.handleExtraction(PRNodeImpl.java:1901)
                at com.pega.pegarules.session.internal.mgmt.PREnvironment.finishInit(PREnvironment.java:505)
                ... 124 more
Caused by: java.io.FileNotFoundException: /opt/shared/data/j2ee/pega/tmp/PRGenBackup/PRGenJava/com/pegarules/generated/pega_procom_acceleratorutils.java (Permission denied)
                at java.io.FileOutputStream.open(Native Method)
                at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
                at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
                at com.pega.pegarules.storage.fs.direct.FilesystemStorage._getOutputStream_privact(FilesystemStorage.java:178)
                at com.pega.pegarules.storage.fs.direct.FilesystemStorage.getOutputStream(FilesystemStorage.java:152)
                at com.pega.pegarules.storage.FileStorageManager.getOutputStream(FileStorageManager.java:390)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                at java.lang.reflect.Method.invoke(Method.java:597)
                at com.pega.pegarules.priv.storage.StorageUtils.getOutputStream(StorageUtils.java:158)




Steps to Reproduce



Moved to a new environment and restarted.

Root Cause



The root cause of this problem is defect/misconfiguration in the PRPC operating environment.
The OS User running the application server does not have proper file permission to create/delete files in the file system.



Resolution



This issue is resolved by making the following change to the PRPC operating environment:
Grant all file permissions for the pega temp directory to the OS user running the PRPC application server.
Suggest Edit

Published January 31, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us