Quantcast
Channel: Oracle Trainings for Apps & Fusion DBA
Viewing all articles
Browse latest Browse all 1568

500 Internal server accessing OIM application : com.bea. security.MicroSM. getInstance oracle.iam. platform. authz.impl

$
0
0

Oracle Identity Manager (OIM) is a J2EE application deployed on Oracle Weblogic Server (In OIM 11g WebLogic is mandatory, in previous versions You could deploy OIM on other application servers like IBM WebSphere, TomCat, IAS etc). In this post I am going to cover an issue that I encountered while accessing OIM application and fix for that.

  • For any errors during startup check logs under $DOMAIN_HOME/ servers/ [oim_server1]/ logs/ (where oim_server1 is name of managed server where OIM application is deployed)
  • You should also check STATE of application (oim in my case) from WebLogic Console under deployments link (STATE of OIM application should be ACTIVE)

 

 

In my case error was during accessing OIM application /oim and error (in OIM diagnostic log file) was related to Oracle Entitlement Server (OES) during Authorization. OIM 11g uses embedded Oracle Entitlement Server (OES) instance for authotization, more on OES from Naresh Persaud here

ERROR in $DOMAIN_HOME/ servers/ [oim_server1]/ logs/ oim_server1-diagnostic.log

______

<Nov 16, 2012 6:29:50 AM UTC> <Error> <oracle.iam.platform.authz.impl> <IAM-1010000> <Encountered exception {0}
java.lang.RuntimeException: java.lang.ClassNotFoundException
at com.bea.security.MicroSM. getInstance(MicroSM.java:92)
at oracle.iam.platform.authz.impl. OESAuthzServiceImpl. init(OESAuthzServiceIm///∆∆/pl.java:138)

Caused By: java.lang.ClassNotFoundException
at oracle.iam.platform. authz.vo.OESClassLoader. loadClass(OESClassLoader.java:105)
at com.bea.security.MicroSM.getInstance(MicroSM.java:81)
at oracle.iam.platform.authz.impl.OESAuthzServiceImpl.init(OESAuthzServiceImpl.java:138)

<Nov 16, 2012 6:29:50 AM UTC> <Warning> <oracle.iam.platform.utils> <IAM-0070016> <An error occurred while initializing service : oracle.iam.platform.authz.api.AuthorizationService>
<Nov 16, 2012 6:29:50 AM UTC> <Warning> <oracle.iam.platform.utils> <IAM-0070016> <An error occurred while initializing service : {0}
java.lang.ClassNotFoundException
at oracle.iam.platform.authz.vo.OESClassLoader.loadClass(OESClassLoader.java:105)
at com.bea.security.MicroSM.getInstance(MicroSM.java:81)
<Nov 16, 2012 6:29:51 AM UTC> <Error> <oracle.iam.platform.utils> <IAM-0079900> <An error occurred while loading the parent resource bundle oracle.iam.consoles.faces.resources.Common>
<Nov 16, 2012 6:29:51 AM UTC> <Error> <HTTP Session> <BEA-100028> <Could not deserialize session data.
java.util.MissingResourceException: Can’t find bundle for base name oracle.iam.consoles.faces.resources.Common, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1427)

<Nov 16, 2012 6:29:51 AM UTC> <Error> <HTTP> <BEA-101020> <[ServletContext@384013578[app:oim module:oim path:/oim spec-version:2.5 version:11.1.1.3.0]] Servlet failed with Exception
oracle.iam.platform.utils.ServiceInitializationException: java.lang.ClassNotFoundException
at oracle.iam.platform.Platform.getService(Platform.java:266)

______

 

If you see error like above then

a) Shutdown OIM managed server
b) Either remove files/directory related to oes/oracle from /tmp or change permission of /tmp to 777 (recursive)
c) Restart OIM Server

  • Other option is to change TEMP file location in WebLogic Server to different location
Reason for above issue : If there is another application (like OAM) that uses OES and if that application is started by different linux user then OES related files in /tmp are not writable to OES (from OIM).

 

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

Viewing all articles
Browse latest Browse all 1568

Trending Articles