Error while running PurgeCache in OIM 11g : LoginException unable to find LoginModule class : WebLogic Full Clinet

If you make any change to a system property of OIM by using any method other than from the Advanced Administration, you must run purge cache to get the changes reflected in Oracle Identity Manager (Caching in OIM 11g is defined under file $ORACLE_HOME/server/metadata/db/oim-config.xml).


How to run Purge Cache ?
Use – $ORACLE_HOME/server/bin/PurgeCache.[sh|bat] [category_name]  (To purge entire cache use All for category name. ORACLE_HOME is OIM install directory)

[oracle@server home]$ cd ORACLE_HOME/server/bin
[oracle@server bin]$ ./ All
[Enter the admin username:] xelsysadm
[Enter the admin password:] XXXXXX
[Enter the service url : (i.e.: t3://oimhostname:oimportno)]  t3://oimserver:14000

In my case PurgeCache failed for OIM 11g with error message
Exception in thread “main” unable to find LoginModule class:
at Method)
at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(
at oracle.iam.platform.OIMClient.login(
at oracle.iam.platform.OIMClient.login(
at oracle.iam.platformservice.utils.PurgeCache.main(


Fix : Looked at documentation here  and found that wlfullclient.jar must be in the classpath at $WL_HOME/server/lib


How to create wlfullclient.jar ?

cd $MW_HOME/wlserver_10.3/server/lib
$MW_HOME/jdk160_18/bin/java -jar $MW_HOME/modules/com.bea.core.jarbuilder_1.5.0.0.jar


What is WebLogic Full Client ?

WebLogic full client (using wlfullclient.jar) is a Java RMI client that uses Oracle’s proprietary T3 protocol to communicate with WebLogic Server.

Note: Prior to WebLogic Server 10.0, the weblogic.jar file was required for T3 and WLS-IIOP client applications to provide WebLogic Server-specific value-added features. For WebLogic Server 10.x and later releases, stand-alone client applications requiring these features use the wlfullclient.jar file instead of the weblogic.jar.



Share This Post with Your Friends over Social Media!

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

» PurgeCache in OIM 11g : CategoryName Online Apps DBA: One Stop Shop for Apps DBA’s says March 14, 2011

[…] PurgeCache in OIM 11g : CategoryName Posted in March 14th, 2011 byAtul Kumar in OIM  Print This Post PurgeCache utility in OIM is to purge Cached items from OIM’s Cache (data in memory).  PurgeCache is covered in my book “Oracle Identity and Access Manager 11g for Administrators ” . I also discussed about PurgeCache issue in my earlier post here  […]

Add Your Reply