Monday, April 28, 2014

OAM-IPM Integration : java.lang.ClassFormatError: Incompatible magic value

Applies To
Oracle Access Manager - Version 11.1.1.5.0 and later
Oracle WebCenter Content: Imaging - Version 11.1.1.6.0 and later


Symptoms

IPM throws Error - 
java.lang.ClassFormatError: Incompatible magic value <number> in class file <Applet> when you see the document in the Advanced Viewer.

Cause
This issue occurs when you load any applet which uses java script in OAM secured environment.

Oracle Document Says-
"By default, the ssoCookie:httponly challenge parameter is enabled in an authentication scheme. Enabling this parameter helps to prevent the JavaScript running in the browser from accessing the ObSSOCookie. This cookie provides a more secure environment. However, browser support for the ssoCookie:httponly challenge parameter is inconsistent. Such inconsistency can cause Java Applets to not run correctly. " 

Solution 
Set the challenge parameter ssoCookie=disablehttponly  for the authentication scheme.

Steps for setting challenge parameter - 
1. Login into OAM console
2. Go to Policy Configuration tab
3. Click on Shared Components -> Authentication Schemes -> <Your Authentication Scheme>



4. Double click on the authentication scheme. In the Challenge Parameter field at the bottom, enter ssoCookie=disablehttponly.



5. Select Apply. 

No comments:

Post a Comment