My Oracle Support Banner

How To Get Rid Of Exception ""java.lang.ClassNotFoundException: oracle.core.ojdl.logging.LoggingConfiguration" While Running PurgeCache (Doc ID 2482226.1)

Last updated on DECEMBER 07, 2018

Applies to:

Identity Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Goal

 If we run the PurgeCache.sh command we usually comes across this exception:

--------------------------------------------------------------------------------------------------

[oracle@idvm1 bin]$ ./PurgeCache.sh All
For running the Utilities the following environment variables need to be set
APP_SERVER is weblogic
OIM_ORACLE_HOME is /opt/oracle/Middleware/Oracle_IAM1
JAVA_HOME is /usr/java/jdk1.8.0_152
MW_HOME is /opt/oracle/Middleware
WL_HOME is /opt/oracle/Middleware/wlserver_10.3
DOMAIN_HOME is /opt/oracle/Middleware/user_projects/domains/iam_domain
Executing oracle.iam.platformservice.utils.PurgeCache in IPv4 mode
[Enter the admin username:]xelsysadm
[Enter the admin password:]
[Enter the service url : (i.e.: t3://oimhostname:oimportno for weblogic or corbaloc:iiop:oimhostname:oimportno for websphere)]t3://idvm1.example.com:14000
weblogic.jndi.WLInitialContextFactory
Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed
java.lang.ClassNotFoundException: oracle.core.ojdl.logging.LoggingConfiguration
log4j:WARN No appenders could be found for logger (org.springframework.jndi.JndiTemplate).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
PurgeCache Login Success...
Purging the cache categories:[All] is successful
[oracle@idvm1 bin]$
--------------------------------------------------------------------------------------------------------------------------

One would find following execption being logged:

--------------------------------------------------------------------------------------

Logging configuration class "oracle.core.ojdl.logging.LoggingConfiguration" failed
java.lang.ClassNotFoundException: oracle.core.ojdl.logging.LoggingConfiguration

----------------------------------------------------------------------------------------------------

 

This article will advise how to get rid of above excpetion

 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.