Wednesday, July 16, 2014

Virtual Hosting a web application in weblogic 11g

Virtual Hosting a web application in weblogic 11g Here are the steps how to create a name based virtual host in weblogic server 10 and how to deploy a web application in the virtual host using weblogic console. Step 1: Create new network channel You must be aware that a network channel is like a network connection in weblogic. A network channel is a unique combination of listen address, listen port, and protocol. In order to create a virtual host you first need to created a network channel. Go to console -> left pane -> wl_server -> Environemnt ->servers -> Click Local & Edit Right pane: -> Go to 'exampleServer' -> protocols -> channels -> Click on Lock & Edit -> Click New -> Enter following details for channel. Name="mychannel", protocol=http Listen address = 127.0.0.1, Listen Port = 7003, Leave External Listen address and Leave External Listen Port blank -> Click on 'Finish' -> Save changes -> Activate changes Note: After this step you have created a network channel. That means your server will listen at given listening address and port. Try accessing http://127.0.0.1:7003 Step 2. Create new virtual host Go to console -> left pane -> wl_server -> environement -> virtual hosts -> Click lock & edit Right pane : -> Click on New -> Enter Name 'myvh' -> save changes -> Activate changes Note: After this step a virtual host is created. It does not mean anything unless you configure the virtual host as shown in the next step. Step 3: Configure virtual host Go to console -> left pane -> wl_server -> environement -> virtual hosts -> Click lock & edit Right pane: -> Click on 'myvh' virtual host link in the 'Virtual Hosts' table. -> Enter 'myvh.oracle.com' in the 'Virtual Host Names' text box. -> Enter 'mychannel' in the 'Network Access Point Name' text box. -> Save changes. -> Click on 'Targets' tab. -> Select 'exampleServer' in the 'servers' section. -> Save changes. -> Activate changes Step 4. Deploy application to virtual host Go to Console -> left pane -> wl_server -> deployments -> Click lock & edit Right pane: -> Click on 'Install' -> Click on "upload your files" link -> Click "browse" (against 'deployment archive' ) -> select "sample.war" -> Click "Next" -> Choose 'sample.war' in the "location" section -> Choose "Install this deployment as an application" radio button -> Click on "deployment targets" tab -> select 'myvh' -> Next -> Next -> Finish -> Save changes -> Activate changes Step 5. Create DNS entry in your hosts file. For linux hosts file is: /etc/hosts Append the following line to the file as super user. 127.0.0.1 myvh.oracle.com Save the changes to 'hosts' file. Note: Just saving the changes to 'hosts' file is enough to activate the DNS entry. Step 6. Start the application. Go to Console -> left pane -> wl_server -> deployments -> Right pane: -> Select 'sample.war'. -> click on 'Start'. -> Complete the start process. Step 7. Access the virtual hosted application. Now you should be able to access the following url only from the machine where you modified the 'hosts' file as mentioned above. http://myvh.oracle.com:7003/sample/ If you want to use access the above url from any machine, appropriate DNS entries need to be created by your network administrator in your network Router.

Thursday, June 26, 2014

OBIEE 11gR1 Security Explained : Working with the Default Security Configuration with AD ALSO

http://www.rittmanmead.com/2010/10/obiee-11gr1-security-explained-working-with-the-default-security-configuration/ http://www.rittmanmead.com/2010/11/01/oracle-bi-ee-11g-security-integration-with-microsoft-active-directory/

WNA configuration in Oracle Access Manager 11g R2 PS2

http://findiamsolution.blogspot.com/2014/04/wna-configuration-in-oracle-access.html

OAM 11g(integrated with OAAM 11g) user not able to login to a protected resource intermittently

Hi All, Recently I came across a weird intermittent login issue in OAM 11g protected resource when it's integrated with OAAM 11g. As far as I know there is only one place(OAM Admin console >> System configuration >> common settings) where we can change the max session timeout. By default, Max session value will be 480 min. I got requirement to change the max session timeout from 8 hrs to 12 hrs. So I just changed the setting accordingly and bounced the services. After increasing the max timeout setting user is not able to login all of sudden. After so much struggle i found the pattern of the issue. User will not be able to login starting from 8th hour of user last login and before 12th hour(Essentially, user will not be able to login for period of 4 hrs). Once clock hits 12th hour user can login as usual. Then finally after discussing with Oracle support there they provided a fix for this issue. Here is the solution: 1. On the Admin Server, take a backup of the $DOMAIN_HOME/config/fmwconfig/oam-config.xml 2. Edit the oam-config.xml file, searching for CredentialValidityInterval (this defaults to 480 minutes, or 8 hours) 3. Change this field to match the configured OAM session timeout 4. Find the Version field, eg: 20000 120 and increment the version value: 20000 121 Then, Bounce OAM services and test the scenario. http://findiamsolution.blogspot.com/2014/02/oam-11g-intermittent-login-issue.html

OBIEE 11g 11.1.1.7.1 New Features

http://www.clearpeaks.com/blog/oracle-bi-ee-11g/top-5-new-features-obiee-11-1-1-7-1

Security in OBIA 11.1.1.7.1

http://docs.oracle.com/cd/E23943_01/bi.1111/e10543/sso.htm http://docs.oracle.com/cd/E38317_01/doc.11117/e37986/security.htm#CJAICGCF http://www.rittmanmead.com/2012/03/obiee-11g-security-week-connecting-to-active-directory-and-obtaining-group-membership-from-database-tables/ 1343143.1 http://onlineappsdba.com/index.php/2011/12/05/integrate-obiee-11g-with-oam-11g-for-single-sign-on-in-13-steps/

How to change the logo in the OBIEE11G Reports

How to change the logo in the OBIEE11G Reports Place the customized logo n the below locations :\Oracle\Middleware\Oracle_BI1\bifoundation\web\app\res\s_blafp\images :\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\.appmergegen_1291264099332\analytics.ear\ukjjdc\res\s_blafp\images :\Oracle\Middleware\user_projects\domains\bifoundation_domain\servers\bi_server1\tmp\_WL_user\analytics_11.1.1\7dezjl\war\res\s_blafp\images After placing the image restart the BI Services. In Logo of Title View the format is like:- fmap:Images/image.jpg