Question

7
Replies
578
Views
ShivaC54 Member since 2014 5 posts
Amazon
Posted: 4 years ago
Last activity: 4 years 5 months ago
Closed
Solved

Third party JAR in tomcat

Hello All,

We have written a custom log file appender since Pega provided file appender was not serving our needs. We are trying to use this JAR but facing ClassNotFound exception.

We followed the below steps

  • Created JAR from our Custom Appender code
  • Placed it in tomcat/lib and prweb/WEB-INF/lib
  • We restarted tomcat

We see the below info in logs

============ PegaRULES Bootstrap Configuration ============

           Date: Sat May 07 10:21:59 IST 2016

   Java Version: Oracle Corporation 1.7.0_71

  Configuration: file:/C:/PRPC_Prsnl/PRPCPersonalEdition/tomcat/webapps/prweb/WE

B-INF/classes/prbootstrap.properties

Pega-EngineCode: 07-10-17

    ASM Version: -1551638810

       Database: PostgreSQL 9.1.14

         Driver: PostgreSQL Native Driver PostgreSQL 9.2devel JDBC4 (build 1000)

Active CodeSets: pega-enginecode:07-10-17 at (latest patch)

                 customer:06-01-01 at (latest patch)

=============== End Bootstrap Configuration ===============

Current "user.dir" (default directory) is: C:\PRPC_Prsnl\PRPCPersonalEdition\scr

ipts

Located PegaRULES logging configuration: file:/C:/PRPC_Prsnl/PRPCPersonalEdition

/tomcat/webapps/prweb/WEB-INF/classes/prlogging.xml

log4j:ERROR Could not create an Appender. Reported error follows.

java.lang.ClassNotFoundException: com.testcompany.testtech.bpms.mntrng.TestDailyRollingF

ileAppender

Any help is much appreciated. Thanks in advance.

Regards

Shiva

Low-Code App Development
Moderation Team has archived post
Share this page LinkedIn