401 error when accessing oamconsole
629027Feb 20 2011 — edited Feb 23 2011I am trying to install OAM as part of one of the FEAT (SSO) in our requirements. I installed as below:
• Installed Oracle Database
• Ran RCU and created schema for Oracle Access Manager as in screenshot below.
• Installed WLS
• Installed OAIM 11g PS2
• Created base_domain for oam_server1
• Started Admin Server and Then Managed Server
o First time when I started Admin Server, it took long time and the linux box hanged for more than 15 mins at the step in logs.
[EL Info]: 2011-02-18 06:45:52.753--ServerSession(1547982985)--file:/home/oradb/Oracle/MiddlewareNew/Oracle_IDM1/oam/server/lib/oes-d8/jps-internal.jar-JpsDBDataManager login successful
o I then terminated the server starting and restarted it followed by Managed Server
Admin server started with the error: <OAM configuration failed. oracle.security.am.common.policy.admin.impl.PolicyValidationException: OAMSSA-06045: Validation Failure - an object of this type named "HTTP" already exists.
Managed Server started properly without any errors in log
• I then tried the oam-console:
o http://abc.def.ghi.com:7001/oamconsole
A page with just login box opened, I entered weblogic credentials : weblogic/Welcome1
It then automatically opened another page : http://abc.def.ghi.com:14100/oam/server/obrareq.cgi?wh%3DIDMDomain+wu%3D/oamconsole/faces/pages/PolicyManager.jspx+wo%3DGET+rh%3Dhttp://abc.def.ghi.com:7001/oamconsole/faces/pages+ru%3D/oamconsole/faces/pages/PolicyManager.jspx
Asking Enter your Single Sign-On credentials below
I entered the same weblogic/Welcome1
o It then throws 401 Unautorized page with the log in WLS Console.
<Feb 18, 2011 7:17:28 AM EST> <Warning> <oracle.oam.agent-default> <BEA-000000> <OAM Server request failed: OpCode = 20 [IsAuthorizedWRefreshAndAudit], Returned Status = Major code: 9(Deny) Minor code: 2(NoCode) , extraInfo = [prefHost:IDMDomain, resource:/console/index.jsp]>
<Feb 18, 2011 7:17:28 AM EST> <Warning> <oracle.oam.agent-default> <OAMAGENT-00408> <User is not authorized to access resource: MajorCode: DENY, MinorCode: DENY>
Would be very grateful to you if you can please help me with this issue?
Also I am not sure where and when OAM Webgates is used.
Let me know for more details required.
Thanks
Raza