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

Pega temp directory for JSR94

SA-32465

Summary



Pega temp directory is set in prconfig.xml file to home/ngtgdev/fcris, but attempts are made to read from /tmp/pr_temp directory.
The UserId does not have access to /tmp/pr_temp and PRPC fails to load.


Error Messages



reason: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial
2017-01-06 11:09:42,072 [ Thread-5] [ ] [ ] (les.storage.FileStorageManager) ERROR - Error initializing raw filesystem configuration
com.pega.pegarules.priv.storage.FileStorageException: No read access to root path: /tmp/pr_temp
at com.pega.pegarules.storage.fs.direct.FilesystemStorage._init_privact(FilesystemStorage.java:105)
at com.pega.pegarules.storage.fs.direct.FilesystemStorage.<init>(FilesystemStorage.java:74)
at com.pega.pegarules.storage.FileStorageManager.getStorageImplementation(FileStorageManager.java:181)
at com.pega.pegarules.storage.FileStorageManager.init(FileStorageManager.java:134)
at com.pega.pegarules.deploy.internal.archive.ParUtilsImpl.setStageDirectory(ParUtilsImpl.java:195)
at com.pega.pegarules.session.internal.engineinterface.etier.impl.EngineStartup.initEngine(EngineStartup.java:458)
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.priv.services.jsr94.PRRuntime.startEngine(PRRuntime.java:351)
at com.pega.pegarules.priv.services.jsr94.PRRuntime.getEngine(PRRuntime.java:102)
at com.pega.pegarules.priv.services.jsr94.PRRuntime.<init>(PRRuntime.java:92)
at com.pega.pegarules.priv.services.jsr94.PRAdministrator.<init>(PRAdministrator.java:91)
at com.pega.pegarules.pub.services.jsr94.PRuleServiceProviderImpl.<init>(PRuleServiceProviderImpl.java:69)
at java.lang.J9VMInternals.newInstanceImpl(Native Method)
at java.lang.Class.newInstance(Class.java:1920)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getInstanceOf(PRBootstrap.java:234)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.getInstanceOf(PRBootstrap.java:259)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:389)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingException(PRBootstrap.java:412)
at com.pega.pegarules.pub.services.jsr94.PRuleServiceProvider.getRuleRuntime(PRuleServiceProvider.java:83)
at GenericJSR94.run(GenericJSR94.java:54)
Caught exception: Exception during startup processing


Steps to Reproduce



Set explicittempdirectory in prConfig.xml.


Root Cause



The setting name="initialization/explicittempdir" is being used in the proconfig.xml file.
This setting is case-sensitive.

Resolution



Change the setting to name="initialization/explicitTempDir" and use the required directory.
 

 

Suggest Edit

Published January 20, 2017 - 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