Sunday, March 10, 2013

Oracle Virtual Directory(OVD) 11g R1 Perfornance issue

Would like to share OVD 11g performance issue I came across:

If you are using OVD 11g R1 with JDK 1.6.0_32 then you will face performance issue.

Resolution: Upgrade JDK 1.6.0.32 to JDK 1.6.0.37 then performance will be lot better.

It worked for me :-). Hope it will be helpful.

Thanks

Siva Pokuri.

Friday, November 9, 2012

Oracle Access Manager(OAM) 11g R2 + Oracle HTTP Server(OHS) WebGate + Internet Explorer issue

Hi folks,

Environment:

OAM 11g R2 + OHS 11g R2 Webgate

Symptoms:

 When attempting to access a resource protected by an OAM 11g WebGate using Internet Explorer, the access hangs or page fails to load.  Accessing the same page from Firefox is successful.  

Cause:

This problem may occur due to a clock skew between the browser host and the system hosting the OAM 11g WebGate.
 The reason this may cause a problem is that when the initial request is made, the OAM 11g WebGate will set an OAMRequestContext<hostname> cookie, eg, OAMRequestContext_myhost.oracle.com:7777_1234.
 This is a persistent cookie, meaning it has a set time to expire, generally 5 minutes after creation.  After the user authenticates with the OAM server and is redirected back to the WebGate, the WebGate expects to see this request context cookie.
 If it is not present, the OAMAuthnCookie is not set, which establishes the user's identity to the webgate.  The user is redirected to the original resource, but with no OAMAuthnCookie set the WebGate determines the user is not authenticated,
 and redirects the user to the OAM server for authentication.  The OAM_ID cookie was set during  the login by the OAM managed server, so the OAM managed server realizes the user is authenticated, and redirects back to the WebGate, creating a loop.

Resolution:

Fixed in OAM 11g R2 BP 01

Thanks

Siva Pokuri.



Thursday, November 8, 2012

Oracle Access Manager 11gR2 (11.1.1.2.0) Installation and Configuration on Linux Server (64-bit)



Pre_Requirements

Web logic server latest version should be installed. Installation Here.

Installation

1. Navigate to setup directory.
2. Execute "./runInstaller"
3. Click Next.


4. Select Skip Software Updates and click Next.


5. Click Next.


6. Click Next.


7. Click on Install.



8. Click Next.


9. Click Finish.



 Configuration

Pre-Requirements:-

  • Oracle Data base Installed and configured. Server should be up and running. For Installation Click Here
  • Extract RCU schema to Database. For process Click Here.
1. Navigate to cd $ORACE_Middleware_Home/Oracle_IDM1/common/bin/
2. Run "./config.sh"
3. Select create a new WebLogic doamin. Click Next


4. Select Oracle Access Management-11.1.2.0.0. Automatically OPSS and oracle JRF will be selected. Click Next


5. Define the domain name. Click Next


6. Define Password. Click Next


7. Select JDK. Click Next


8. Select each component and provide host name and owner password. Click Next


9. Verify the schema connect to DB. Click Next


10. Select First two options. Click Next


11. Define port number. Click Next


12. Click Next


13. Click Next


14. Click Next


15. Click Create





16. Click Done.


Process of create Policy store in database


1. Navigate to cd $ORACLE_Middleware_Home/oracle_common/common/bin
2. Execute the following commands.For each command it will show you the success messages as below screen shots.

 ./wlst.sh $ORACLE_Middleware_Home/Oracle_IDM1/common/tools/configureSecurityStore.py -d $ORACLE_Middleware_Home/user_projects/domains/OAM_domain -c IAM -p <password> -m create


./wlst.sh exportEncryptionKey(jpsConfigFile="$ORACLE_Middleware_Home/user_projects/domains/OAM_domain/config/fmwconfig/jps-config.xml", keyFilePath="/tmp/myDir" ,keyFilePassword="Password")


./wlst.sh $ORACLE_Middleware_Home/Oracle_IDM1/common/tools/configureSecurityStore.py -d $ORACLE_Middleware_Home/user_projects/domains/OAM_domain -c IAM -p Passw0rd1 -m join -k myDir -w password


$ORACLE_Middleware_Home/Oracle_IDM1/common/tools/configureSecurityStore.py -d $ORACLE_Middleware_Home/user_projects/domains/OAM_domain -m validate


Create policy store is successful.

Start Admin/Managed Servers:-


  1. Navigate to $ORACLE_Middleware_Home/user_projects/domains/OAM_domain/bin/
  1. ./startWebLogic.sh
  1. ./startManagedserver.sh oam_server1


Oracle Access Manager Console "http://localhost:7001/oamconsole"


Oracle Weblogic Server Console "http://localhost:7001/console"


Cheers...!!!!
Kiran Pokuri