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 JUNE 05, 2023

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 $MW_HOME/<OIM_HOME_DIR>
JAVA_HOME is the directory where JDK is installed
MW_HOME is the directory where the Oracle Middleware is installed
WL_HOME is $MW_HOME/wlserver_10.3
DOMAIN_HOME is $MW_HOME/user_projects/domains/<OIM_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://HOST_NAME:PORT for weblogic or corbaloc:iiop:oimhostname:oimportno for websphere)]t3://HOST_NAME:PORT
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.