Unable to specify JNDI setting for prlogging configuration file
When trying to override the prlogging configuration file with an external file using the JNDI reference, the reference is not being properly picked up. The URL setting is being properly bound in the environment:
WSVR0049I: Binding prlogging as url/pegarules.logging.configuration
However, the PegaRULES engine still reports the default logging configuration file is being used:
located PegaRULES logging configuration: wsjar:file:/your_path/to/prlogging.xml
SystemOut_15.11.04_08.38.22.log:[11/4/15 8:36:43:301 EST] 00000001 ResourceMgrIm I WSVR0049I: Binding prlogging as url/pegarules.logging.configuration
SystemOut_15.11.04_08.38.22.log:[11/4/15 8:36:54:313 EST] 00000074 SystemOut O Located PegaRULES logging configuration: wsjar:file:/your_path/to/prlogging.xml
Steps to Reproduce
- Set the value of the 'url/pegarules.logging.configuration' resource reference.
- Observer Pega engine behavior.
The JNDI name needs to be set in three different locations for the Pega application. For the EngineCMT and EngineBMT beans, as well as for the prweb.war module.
Perform the following local-change: Ensure the resource reference is made for all three Pega application layers.
Published January 31, 2016 - Updated October 8, 2020
Was this useful?
0% found this useful
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.