Question
Atos Syntel
IN
Last activity: 21 Jan 2016 12:10 EST
DailyRollingFileAppenderPega is not working in PRPC 7.1.5
Hi,
i found the below link few days ago where different types of appenders have been mentioned.
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
I tried using DailyRollingFileAppenderPega in the prlogging.xml of 7.1.7 version, it worked fine there but when i try it in 7.1.5 version i get the following error during application startup.
Is the appender only available in versions 7.1.7 and above ?
i have also attached the prlogging.xml file for reference.
Jan 06, 2016 5:02:10 AM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
INFO: PRAppLoader jar path entry = /xjp/tomcat/apache-tomcat-7.0.42/work/Catalina/localhost/efi/extractedFiles/apploader
Jan 06, 2016 5:02:10 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Wed Jan 06 05:02:10 EST 2016
Java Version: Oracle Corporation 1.7.0_21
Configuration: file:/xjp/tomcat/apache-tomcat-7.0.42/webapps/efi/WEB-INF/classes/prbootstrap.properties
Pega-EngineCode: 07-10-11
ASM Version: 72822592
Hi,
i found the below link few days ago where different types of appenders have been mentioned.
https://community.pega.com/sites/default/files/help_v719/procomhelpmain.htm
I tried using DailyRollingFileAppenderPega in the prlogging.xml of 7.1.7 version, it worked fine there but when i try it in 7.1.5 version i get the following error during application startup.
Is the appender only available in versions 7.1.7 and above ?
i have also attached the prlogging.xml file for reference.
Jan 06, 2016 5:02:10 AM com.pega.pegarules.internal.bootstrap.phase2.PRBootstrapImpl
INFO: PRAppLoader jar path entry = /xjp/tomcat/apache-tomcat-7.0.42/work/Catalina/localhost/efi/extractedFiles/apploader
Jan 06, 2016 5:02:10 AM com.pega.pegarules.internal.bootstrap.PRBootstrap
19830421:
============ PegaRULES Bootstrap Configuration ============
Date: Wed Jan 06 05:02:10 EST 2016
Java Version: Oracle Corporation 1.7.0_21
Configuration: file:/xjp/tomcat/apache-tomcat-7.0.42/webapps/efi/WEB-INF/classes/prbootstrap.properties
Pega-EngineCode: 07-10-11
ASM Version: 72822592
Database: Oracle Oracle Database 11g Enterprise Edition Release Proprietary information hidden.0 - 64bit Production
With the Partitioning option
Driver: Oracle JDBC driver Proprietary information hidden.0
Active CodeSets: snowslides:01-01-01 at (latest patch)
pdfbox:01-01-01 at (latest patch)
mq:01-01-01 at (latest patch)
snowwoodstox:01-01-01 at (latest patch)
snowlog4j:01-01-01 at (latest patch)
snowcells:01-01-01 at (latest patch)
snowstax2:01-01-01 at (latest patch)
snowwords:01-01-01 at (latest patch)
snowdom4j:01-01-01 at (latest patch)
sftp:01-01-01 at (latest patch)
customer:06-01-01 at (latest patch)
pega-enginecode:07-10-11 at (latest patch)
fofjxl:01-01-01 at (latest patch)
snow:01-01-01 at (latest patch)
fontbox:01-01-01 at (latest patch)
ups:01-01-01 at (latest patch)
=============== End Bootstrap Configuration ===============
Current "user.dir" (default directory) is: /xjp/utility/pegahome
Located PegaRULES logging configuration: file:/xjp/utility/pegahome/prlogging.xml
log4j:ERROR Could not create an Appender. Reported error follows.
java.lang.ClassNotFoundException: com.pega.pegarules.priv.util.DailyRollingFileAppenderPega
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:773)
at com.pega.pegarules.bootstrap.loader.PRAppLoader.loadClass(PRAppLoader.java:634)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at com.pega.apache.log4j.helpers.Loader.loadClass(Loader.java:209)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:212)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseAppender(DOMConfigurator.java:253)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByName(DOMConfigurator.java:166)
at com.pega.apache.log4j.xml.DOMConfigurator.findAppenderByReference(DOMConfigurator.java:179)
at com.pega.apache.log4j.xml.DOMConfigurator.parseChildrenOfLoggerElement(DOMConfigurator.java:467)
at com.pega.apache.log4j.xml.DOMConfigurator.parseRoot(DOMConfigurator.java:436)
at com.pega.apache.log4j.xml.DOMConfigurator.parse(DOMConfigurator.java:922)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:796)
at com.pega.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:723)
at com.pega.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:507)
at com.pega.apache.log4j.LogManager.initializeConfig(LogManager.java:163)
at com.pega.pegarules.priv.LogHelper._initLogging_privact(LogHelper.java:671)
at com.pega.pegarules.priv.LogHelper.init(LogHelper.java:655)
at com.pega.pegarules.priv.LogHelper.<init>(LogHelper.java:268)
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener._contextInitialized_privact(WebAppLifeCycleListener.java:199)
at com.pega.pegarules.web.servlet.WebAppLifeCycleListener.contextInitialized(WebAppLifeCycleListener.java:174)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:419)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethodPropagatingThrowable(PRBootstrap.java:460)
at com.pega.pegarules.internal.bootstrap.PRBootstrap.invokeMethod(PRBootstrap.java:509)
at com.pega.pegarules.internal.web.servlet.WebAppLifeCycleListenerBoot.contextInitialized(WebAppLifeCycleListenerBoot.java:83)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:633)
at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:656)
at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1635)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:722)