• Find us:
    +1-669-900-5138   |   +44-203-372-5553
  • Free Newsletter

    Get Latest Updates

  • Make Training Enquiry


  • Categories

  • Archive

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

    Posted by "" in "OIM, troubleshooting" on 2010-12-21

    Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInEmail this to someone

    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]$ ./PurgeCache.sh 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” javax.security.auth.login.LoginException: unable to find LoginModule class: weblogic.security.auth.login.UsernamePasswordLoginModule
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:808)
    at javax.security.auth.login.LoginContext.access%content0(LoginContext.java:186)
    at javax.security.auth.login.LoginContext.run(LoginContext.java:683)
    at java.security.AccessController.doPrivileged(Native Method)
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
    at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
    at Thor.API.Security.LoginHandler.weblogicLoginHandler.login(weblogicLoginHandler.java:61)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:134)
    at oracle.iam.platform.OIMClient.login(OIMClient.java:129)
    at oracle.iam.platformservice.utils.PurgeCache.main(PurgeCache.java:67)


    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.



    Related Posts for Identity Manager

    1. Oracle Identity Manager (User Provisioning – Thor)
    2. Installing Oracle Identity Manager (Thor Xellerate)
    3. Oracle Identity Manager 9.1 released
    4. Oracle Identity Manager (Thor Xellerate) Architecture
    5. Resource, Reconciliation, Provisioning and Connector in Oracle Identity Manager #OIM
    6. Oracle Identity Manager (OIM) Connector for Oracle Internet Directory (OID) : Architecture and Overview
    7. Step by Step Installation of OIM Design Console 9.1.0
    8. Error while running PurgeCache in OIM 11g : LoginException unable to find LoginModule class : WebLogic Full Clinet
    9. Integrate OIM 11g with OID using connector for Provisioning / Reconcilliation – Installation
    10. PurgeCache in OIM 11g : CategoryName
    11. OIM LDAP Sync : Overview and Key Points
    12. OIM 11g : How to export/import/delete Files from MDS
    13. Where are OAM details stored in OIM (account unlock, password reset)
    14. libOVD adapters in OIM LDAP Integration : LDAPsync – view and modify Adapter settings (bindDN and bindPassword)
    15. Error Starting OIM Design Console (xlclient.sh) on Linux java.lang. NoClassDefFoundError
    16. OIM 11g Challenge Questions (PCQ) for forgot password
    17. Oracle EBS Integration with OIM (Identity Manager) : Things you should know
    18. Users not synced from OID to OIM : Debug Scheduled Job
    19. OIM Connector for Microsoft : AD, Exchange, Windows, Password Management
    20. Connector Server for OIM connectors : .NET or JAVA
    21. OIM 11g Challenge Questions – Everything you must know
    22. OIM 11g How to add Challenge Questions
    23. OIM : Assign AD resource : An error occurred because the Adapters are not compiled : How to compile adapters in OIM
    24. OIM User Creation : An Error occurred while performing create user operation. Unable to get LDAP connection
    25. OIM – AD integration : Active Directory Group Lookup Recon failed with error Remote Framework Key is invalid
    26. Microsoft Active Directory (AD) to Oracle Identity Manager (OIM) Password Synchronization: Things you must know : Part I
    27. Provision resource “Microsoft Exchange” to user in OIM : Status remains in Provisioning : Part I
    28. Target Resource (or Managed Resource) vs Trusted Source (or Authoritative Source) Mode : OIM integration with applications (AD, OID, OVD, EBS, SAP, HR, LDAP)
    29. 500 Internal server accessing OIM application : com.bea. security.MicroSM. getInstance oracle.iam. platform. authz.impl
    30. Your account is locked. You can unlock your account by going to Forgot Password
    31. OIM 11g : How to find User and Manager details : USR table
    32. OIM 11g : User Detail/Attribute (Description) not visible in OIM User screen : EBS / OID / OIM integration
    33. OIM 11g: The add proxy operation for user XXXXX failed with following error oracle. bpel. services. workflow. client. workflowservieclientException javax.xml.ws.WebServiceException could not determine wsdl ports
    34. Oracle Identity Manager BP07 for 11gR1 PS1 (16097399) is now available – (Part of Identity Management SUite BP03 16209876)
    35. OIM 11g : SQL to List User’s Manager
    36. OIM integrated with OAM (SSO) showing OIM login screen : User Soft Locked
    37. OIM 11g: Beware if you are applying WebLogic patch !
    38. Help Me : Microsoft Active Directory Password Sync version and latest patch for Oracle Identity Manager
    39. Upgrade OIM connector for Microsoft Exchange to Part I
    40. OIM Administrators : Is your OIM database Growing ? Do you purge enough ?
    41. EBS Integration with OIM : Employee Reconciliation : NumberFormatException: “BUSINESS_GROUP_ID”
    42. OIM EBS User Management : eBusiness UM Lookup Definition Reconciliation failed with Invalid Schedule Task Parameter

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

    1. […] 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  […]

    Leave a Reply

  • K21 Technologies is among the most experienced Oracle Gold Partner for Identity Access Management service providers. We work with application development companies and in-house technology division to help achieve significant returns on their IT security investment. Our clientele includes some of the globally renowned corporate, which speaks of our expertise in our field.

    We have the most talented and experienced team that can swiftly deploy security solutions even in complex IT ecosystem. Our clients highly appreciate our timely implementation, interactive training, on-demand support and community resources.

    K21 Technologies
    8 Magnolia Place, Harrow,
    London, HA2 6DS

    UK: +44(0)7476444481
    USA: +1-888-414-1821

  • 2014, K21 Technologies. All rights reserved DMCA.com
  • TOP