Quantcast
Channel: OBIEE, Endeca and ODI
Viewing all 49 articles
Browse latest View live

Weblogic Security Administration

$
0
0


These days many people are trying to debug what to do when they  get below errors  while starting OBIEE 11g - Weblogic service ? 

1) Boot.properties  :   key file to start the node manager/ weblogic 

weblogic.security.SecurityInitializationException: Authentication denied: Boot i
dentity not valid; The user name and/or password from the boot identity file (bo
ot.properties) is not valid. The boot identity may have been changed since the b
oot identity file was created. Please edit and update the boot identity file wit
h the proper values of username and password. The first time the updated boot id
entity file is used to start the server, these new values are encrypted.
entity file is used to start the server, these new values are encrypted.
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.do
BootAuthorization(CommonSecurityServiceManagerDelegateImpl.java:959)
        at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.in
itialize(CommonSecurityServiceManagerDelegateImpl.java:1050)
        at weblogic.security.service.SecurityServiceManager.initialize(SecurityS
erviceManager.java:873)
        at weblogic.security.SecurityService.start(SecurityService.java:141)
        at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
        Truncated. see log file for complete stacktrace
Caused By: javax.security.auth.login.FailedLoginException: [Security:090304]Auth
entication Failed: User weblogic123 javax.security.auth.login.FailedLoginExcepti
on: [Security:090302]Authentication Failed: User weblogic123 denied
        at weblogic.security.providers.authentication.LDAPAtnLoginModuleImpl.log
in(LDAPAtnLoginModuleImpl.java:261)
        at com.bea.common.security.internal.service.LoginModuleWrapper$1.run(Log
inModuleWrapper.java:110)
        at java.security.AccessController.doPrivileged(Native Method)
        at com.bea.common.security.internal.service.LoginModuleWrapper.login(Log
inModuleWrapper.java:106)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        Truncated. see log file for complete stacktrace

If you read the bold text your problem/solution is clearly explained at the time of starting BI Services the credentials you entered will store in boot.properties file located at 

\middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\security



when the credentials are wrong then it will throw above error message next time it wont ask again for the password because it already stored at boot.properties file so solution is to delete the file and start the BI Services again this time enter the right credentials without fail and the console should display below message
<Storing boot ide
ntity in the file: \middleware\user_projects\domains\bifoundation_domain\serve
rs\AdminServer\security\boot.properties>

Embedded LDAP Data : Default LDAP server

2)  Weblogic Server’s default security providers use an  embedded LDAP server to persist all security-related data. Each server stores this data locally,including all of the user,group,role,access control policy,and credential information.For each domain,the admin server acts as the master LDAP server and replicates new information to the embedded LDAP running on each of the managed servers.
All the data of the embedded LDAP server will store into a directory 
\middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\data




Whenever a WebLogic Server is started, it places all of its internal files in a server instance-specific directory. By default, the server’s directory is located in the directory it was started from and has the same name as the server instance (for example,
user_projects/bifoundation_domain/AdminServer/data).
 Inside this server directory is an ldap sub directory where you will find the LDAP server’s files.  shows the full directory structure and description of the embedded LDAP server directory contents.

LDAP folder has below details

backup - Zipped backup files created once a day from the ldapfiles directory 
conf - Configuration files that are generated on the first server start
ldapfiles - LDAP server data files
log  - LDAP server log files
replicadata - Managed server replicated data

backup time can be manged from console 


If you ever encounter a problem where a managed server won’t start and you suspect that its LDAP data may be corrupt, you can either try to use one of the backup zip files from the backup directory to revert the contents of the ldap files directory or simply remove the entire ldap directory and let it be recreated when the managed server starts up and connects to the admin server

where ldap_bkp is backup file and ldap  - is newly created one when I start ' Start BI Services' - weblogic
\middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap\ldapfiles  has different files but below are key files to know 

EmbeddedLDAP.data - is the main data file where all the users, groups, roles, and policies are stored
EmbeddedLDAP.delete - contains information about deleted entries
EmbeddedLDAP.lok  - 
file is used to ensure access consistency to the LDAP information. In some cases, a Weblogic Server might shutdown without allowing the embedded LDAP server to unlock the data. If this hap-pens, the server will go into a loop, waiting for the file to be removed and printing out a warning message:

<Could not obtain an exclusive lock for directory: \middleware\user_projects\domains\bifoundation_domain\servers\AdminServer\data\ldap\ldapfiles Waiting for 10 seconds and then retrying in case existing Weblogic Server is still shutting down.>

Typically, deleting the EmbeddedLDAP.lok file will resolve this issue

3) Authentication Provider : Control Flag which wont allow you to login analytics 

Authentication Providers are used to derive  login credentials, certificate or custom headers, using some form of LDAP, or other identity store

When a user has configured their custom provider and changed the control flag to required for both the providers (custom and Default Authenticator) 

The Control Flag governs whether authentication from a provider is required. If 
multiple providers are present, then at least one of them must be set to REQUIRED(but not both) You can mess up your domain resulting in not being able to start your server 
anymore (if you use two Authentication Providers, define the Weblogic user in both 
of them and set one to REQUIRED resulting in not being able to access the domain 
anymore). In fact, you should always set the Default Authenticator to REQUIRED.


4) Creating New weblogic User 

Weblogic user creation :
Don't forget to take backup of security folder 

--- \middleware\user_projects\domains\bifoundation_domain\security

Above three approaches can be used to bring back your weblogic server there might be few other reasons I will update the post when I came to know them 


Reference : Mastering Bea Weblogic Server  By Gregory Nyberg, Robert Patrick

Endeca 3.0 domain failed to create

$
0
0
When I run the GettingStarted graph through Integrator 3.0 it failed with below error message 

ERROR [WatchDog] - Graph execution finished with error
ERROR [WatchDog] - Node CREATE_DATA_DOMAIN finished with status: ERROR caused by: OES-000096: Error during manage service operation: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused; javax.xml.soap.SOAPException: Message send failed: Connection refused; Message send failed: Connection refused; Connection refused
ERROR [WatchDog] - Node CREATE_DATA_DOMAIN error details:
org.apache.axis2.AxisFault: OES-000096: Error during manage service operation: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Connection refused; javax.xml.soap.SOAPException: Message send failed: Connection refused; Message send failed: Connection refused; Connection refused
at org.apache.axis2.description.OutInAxisOperationClient$NonBlockingInvocationWorker.run(OutInAxisOperation.java:451)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
INFO [WatchDog] - [Clover] Post-execute phase finalization: 0
INFO [WatchDog] - [Clover] phase: 0 post-execute finalization successfully.
INFO [WatchDog] - Execution of phase [0] finished with error - elapsed time(sec): 0
ERROR [WatchDog] - !!! Phase finished with error - stopping graph run !!!
INFO [WatchDog] - -----------------------** Summary of Phases execution **---------------------
INFO [WatchDog] - Phase# Finished Status RunTime(sec) MemoryAllocation(KB)
INFO [WatchDog] - 0 ERROR 0 30557
INFO [WatchDog] - ------------------------------** End of Summary **---------------------------
INFO [WatchDog] - WatchDog thread finished - total execution time: 0 (sec)
INFO [main] - Freeing graph resources.
ERROR [main] - Execution of graph failed 

If you changed the port from default 7001 to some other it fails change the listener port in weblogic to 7001 and start executing the graph 



Restart your weblogic Server and execute GettingStarted graph it should successfully run 



When you change the port number to something else you need to modify below endeca-server files to reflect the same

endeca_weblogic\user_projects\domains\base_domain\config\EndecaCmd.properties(port)
&
endeca_weblogic\user_projects\domains\base_domain\config\EndecaServer.properties(endeca-webserver-port)



Endeca Studio 3.0 login issue

$
0
0
Once Endeca studio 3.0 is installed you may get below error while logging to default URL (http://localhost:7001)@ admin@oracle.com / Welcome123 

You have entered invalid data. Please try again. Please enter a valid login. 

one of the reason is you forgot to move portal-ext.properties from downloaded location(server specific -weblogic/tomcat) to the server domains location (weblogic) as shown below



refer to below configuration guide to create  liferay directory for endeca 3.0 studio

http://docs.oracle.com/cd/E37502_01/studio.300/studio_install/toc.htm#Creating%20and%20configuring%20the%20Liferay%20Home%20directory%20for%20%20%20WebLogic





Endeca 3.0 integration with OBI

$
0
0
In Endeca 3.0(2.4) we have a feature to integrate Oracle Business Intelligence data (RPD) to Endeca MDEX engine this post will look cover below topics

1. Configuring Data domains
2. Integrating BI with Endeca Integrator
3. Creating Sample reports out of MDEX data

1.Configuring Data domains
Once you installed Endeca 3.0 start the Endeca Server (weblogic/tomcat) open integrator 
File --> New -->Project -->(Import the GettingStarted project) or create new project


How to import and run Getting Started:

Once it is completed you should run the InitDataDomain.grf file and it has to complete successfully without any errors.


2. Integrating BI with Endeca Integrator
Open integrator File --> New -->Project --> Endeca Information Discovery -- Load Data from OBI Server

Click on Next and enter your Endeca-Server Details 
Endeca-server host : localhost
Endeca-server port : 7001 (default weblogic) 
Endeca domain : GettingStarted( your custom one ) configured in step 1

Next and enter OBI-Server make sure it is up and running (including weblogic and bi services) when you click on Connect to OBI Server it should show Connected as highlighted in below screen
Once it is connected successfully it will show you the BI Server RPD with available Subject Areas Select (All) the table(s) you want to import to report on 

Next,edit the object (Display Name) in the Attribute Configuration screen then group the objects(Group Name) once the renaming is done click on Edit Finished then only finish button enables if you don't have anything to edit just click on Edit Finished --> Finish


Our Project(BI) is ready click on workspace.prm and verify the data_domain_name  configured should be same as Data Source configured in Studio(as shown below)


   Things to Note :  Endeca Server uses our SELECT_BUSINESS_MODEL clause to query the statements (QueryStatement.sql)



QueryStatement.sql :SELECT_BUSINESS_MODEL
"SampleApp Lite"."F0 Revenue Base Measures"."Billed Quantity" F0_Revenue_Base_Measures_Billed_Quantity,
"SampleApp Lite"."F0 Revenue Base Measures"."Discount Amount" F0_Revenue_Base_Measures_Discount_Amount,
"SampleApp Lite"."F0 Revenue Base Measures"."Revenue" F0_Revenue_Base_Measures_Revenue,
"SampleApp Lite"."F1 Targets Base Measures"."Target Quantity" F1_Targets_Base_Measures_Target_Quantity,
"SampleApp Lite"."F1 Targets Base Measures"."Target Revenue" F1_Targets_Base_Measures_Target_Revenue,
"SampleApp Lite"."F0 Revenue Base Measures"."# of Offices with Orders" F0_Revenue_Base_Measures___of_Offices_with_Orders,
"SampleApp Lite"."F0 Revenue Base Measures"."# of Orders" F0_Revenue_Base_Measures___of_Orders,
"SampleApp Lite"."F0 Revenue Base Measures"."# of Products with Orders" F0_Revenue_Base_Measures___of_Products_with_Orders,
"SampleApp Lite"."D2 Offices"."Company Key" D2_Offices_Company_Key,
"SampleApp Lite"."D2 Offices"."Dept Key" D2_Offices_Dept_Key,
"SampleApp Lite"."D2 Offices"."Office Key" D2_Offices_Office_Key,
"SampleApp Lite"."D2 Offices"."Office Sequence" D2_Offices_Office_Sequence,
"SampleApp Lite"."D2 Offices"."Org Key" D2_Offices_Org_Key,
"SampleApp Lite"."D1 Products"."Brand Key" D1_Products_Brand_Key,
"SampleApp Lite"."D1 Products"."LOB Key" D1_Products_LOB_Key,
"SampleApp Lite"."D1 Products"."Product Sequence" D1_Products_Product_Sequence,
"SampleApp Lite"."D1 Products"."Product Type Key" D1_Products_Product_Type_Key,
"SampleApp Lite"."D0 Time"."Day Of Month" D0_Time_Day_Of_Month,
"SampleApp Lite"."D0 Time"."Day Of Week" D0_Time_Day_Of_Week,
"SampleApp Lite"."D0 Time"."Day Of Year" D0_Time_Day_Of_Year,
"SampleApp Lite"."D0 Time"."Julian Day Num" D0_Time_Julian_Day_Num,
"SampleApp Lite"."D0 Time"."Julian Month Num" D0_Time_Julian_Month_Num,
"SampleApp Lite"."D0 Time"."Julian Qtr Num" D0_Time_Julian_Qtr_Num,
"SampleApp Lite"."D0 Time"."Julian Week Num" D0_Time_Julian_Week_Num,
"SampleApp Lite"."D2 Offices"."Company" D2_Offices_Company,
"SampleApp Lite"."D2 Offices"."Department" D2_Offices_Department,
"SampleApp Lite"."D2 Offices"."Office" D2_Offices_Office,
"SampleApp Lite"."D2 Offices"."Organization" D2_Offices_Organization,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Billed Date" D3_Orders__Facts_Attributes__Billed_Date,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Date" D3_Orders__Facts_Attributes__Order_Date,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Month" D3_Orders__Facts_Attributes__Order_Month,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Number" D3_Orders__Facts_Attributes__Order_Number,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Size Bin" D3_Orders__Facts_Attributes__Order_Size_Bin,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Status" D3_Orders__Facts_Attributes__Order_Status,
"SampleApp Lite"."D3 Orders (Facts Attributes)"."Order Type" D3_Orders__Facts_Attributes__Order_Type,
"SampleApp Lite"."D1 Products"."Brand" D1_Products_Brand,
"SampleApp Lite"."D1 Products"."LOB" D1_Products_LOB,
"SampleApp Lite"."D1 Products"."Product" D1_Products_Product,
"SampleApp Lite"."D1 Products"."Product Number" D1_Products_Product_Number,
"SampleApp Lite"."D1 Products"."Product Type" D1_Products_Product_Type,
"SampleApp Lite"."D0 Time"."Calendar Date" D0_Time_Calendar_Date,
"SampleApp Lite"."D0 Time"."Per Name Half" D0_Time_Per_Name_Half,
"SampleApp Lite"."D0 Time"."Per Name Month" D0_Time_Per_Name_Month,
"SampleApp Lite"."D0 Time"."Per Name Qtr" D0_Time_Per_Name_Qtr,
"SampleApp Lite"."D0 Time"."Per Name Week" D0_Time_Per_Name_Week,
"SampleApp Lite"."D0 Time"."Per Name Year" D0_Time_Per_Name_Year
FROM "SampleApp Lite"

In Outline window edit the Metadata directory(Workspace) to check the records you are going to load in Endeca MDEX server


Load Data.grf is important where it takes data from Metadata(DataRecord.fmt) file and pumpsto MDEX engine using ENDECA_BULK_ADD_OR_REPLACE_RECORDS component 


Execute the graph by right clicking on Canvas Run-->Clover ETL Graph 


3. Creating Sample reports out of MDEX data
Below are sample Pivot , Chart's where you can enable the sorting order by Column and conditional formatting 



We will see how to enable sorting , conditional formats and other number format's like OBI in another post




OBIEE 11.1.1.7.0 new Features (Video)

BIApps 11.1.1.7.1 Fusion middleware patches - Part 2

$
0
0
To complete the configuration of BIApps 11.1.1.7.1 you must install FMW patches that are available in edevliery.oracle.com
  • Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence Applications (Part 1 of 2)
  • Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence Applications (Part 2 of 2)
  • Oracle Fusion Middleware Platform Patches for Oracle Business Intelligence Applications for <OS>


    Extract the ZIP files into a Patch folder (11_1_1_7_1_Patches), as shown below :


    Update the parameter input file (apply_patches_import.txt) to reflect the paths as specified in the text file:

    1. Create a writable directory where logs and temporary patch files will be stored. In the apply_patches_import.txt file, you will set the WORKDIR=variable to point to the path for this directory.
    2. Open apply_patches_import.txt, which is located in the D:\obiee11g/Oracle_BI/biapps/tools/bin directory.
    3. Specify the following directory paths:

      # Required - Java home
      JAVA_HOME=C:\Java
      # Required - Inventory Location
      INVENTORY_LOC=C:\Program Files\Oracle\Inventory
      ORACLE_HOME=D:\obiee11g\Oracle_BI1
      MW_HOME=D:\obiee11g
      COMMON_ORACLE_HOME=D:\obiee11g\oracle_common
      WL_HOME=D:\obiee11g\wlserver_10.3
      SOA_HOME=/scratch/aime/work/mw_home/Oracle_SOA1
      ODI_HOME=D:\obiee11g\Oracle_ODI1
      # Required - An existing writable directory to create logs and temp patch files
      WORKDIR=E:\Patches
      # Required - Path of patch directory till the release patch-set folder which is inside patches4fa/dist.
      # i;e the patch-set folder for a particular release to apply patch from 
      # eg; /scratch/aime/tmp/ps1/biappsshiphome/patches4fa/dist/ps6rc3
      PATCH_ROOT_DIR=E:\11_1_1_7_1_Patches\V38106-01

      Make sure you points to right destination where patches are placed and home paths other wise you will get  below error message while applying patches
      NApply was not able to get the list of patches to apply.

      PATCH_ROOT_DIR is pointing to V38106-01 directory once the patches from this folder are completed then you can change directory for other disks (1_2 / 2_2) 

      If you are not configuring SOA_HOME leave it blank it will fail at the end which you can ignore Update the D:\obiee11g\Oracle_BI1\biapps\tools\bin\APPLY_PATCHES.pl   file to unzip the patches using winZip or 7zip If you are using 7-Zip change as shown below(just copy paste)

      From:
      $DOWNLOAD_EXE = "\"C:${DIRSEP}Program Files${DIRSEP}WinZip${DIRSEP}wzunzip.exe\" -ybc -d";
      $cmd = "$DOWNLOAD_EXE $_[0] $PATCHES_HOME";
      To:
      $DOWNLOAD_EXE = "\"C:${DIRSEP}Program Files${DIRSEP}7-Zip${DIRSEP}7z.exe\"";
      $cmd = "$DOWNLOAD_EXE x $_[0] -o$PATCHES_HOME";

      If you didn't copied the path (7-Zip) correctly you will get 

      D:\obiee11g\Oracle_BI1\biapps\tools\bin\APPLY_PATCHES.pl cannot read the file ...Permission Denied

      Next, Open command prompt and enter the path as shown below

      D:\obiee11g\Oracle_BI1\perl\bin\perl 
      D:\obiee11g\Oracle_BI1\biapps\tools\bin\APPLY_PATCHES.pl D:\obiee11g\Oracle_BI1\biapps\tools\bin\apply_patches_import.txt




      Once it is successful it writes all the files to the WORKDIR (unzipped patch folders) and log files to C:\TEMP


      We will see how to configure other component in another post


      Referencehttp://docs.oracle.com/cd/E38317_01/doc.11117/e35981/install.htm#BABEDBAH







OBI Apps 11.1.1.7.1 Installation & configuration- Part 1

$
0
0
Prerequisites to install 11.1.1.7.1 :
  1. Oracle Business Intelligence 11.1.1.7.0 if you are on 11.1.1.6.X upgrade your environment to 11.1.1.7.0 by following this link
  2. Oracle Business Intelligence Enterprise Edition when you install directly 11.1.1.7.0 in Software Only Install mode requires WebLogic Server 10.3.6 as a prerequisite where as Enterprise Install mode installs WebLogic Server 10.3.5. You must upgrade to WebLogic Server 10.3.6 after installation of Oracle BI Applications is complete.
  3. Oracle Data Integrator 11.1.1.7.0
  4. Oracle SOA (required only for Indirect Spend Planning).
  5. Create schemas for Oracle BI Applications and Indirect Spend Planning                    5.a) In this step you run the Business Analytics Applications Suite Repository Creation Utility (RCU) to create the necessary schemas for Oracle BI Applications and Indirect Spend Planning.
  6.  Apply Fusion Middleware Platform Patches.
  7.    Configure Oracle Business Intelligence when you install 11.1.1.7.0 as software mode (step2)
  8. Configure BI Applications and Indirect Spend Planning
  9.  Apply post-installation patches.
  10.   Perform system setup tasks. 
Go to below URL, download relevant JDK and install it.
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Oracle BI Applications requires WebLogic Server 11g Release 1 (10.3.6).
To install WebLogic server open cmd/terminal, go to the directory where you have downloaded generic version of WebLogic and enter command as below

Follow the steps Next,Next on the screen and don't configure weblogic at this time just hit Finsh when you are done
2) Now Install RCU which you downloaded for 11.1.1.7.0 (if you are doing fresh installation) otherwise you can ignore it when you upgraded from 11.1.1.6.X to 11.1.1.7.0
3) Oracle BI Applications requires an installation of Oracle Business Intelligence Enterprise Edition 11g deployed on WebLogic Server 10.3.6. WebLogic Server 10.3.5 is not supported  install 11.1.1.7.0  as shown below


Select software only install if you have already installed WebLogic 10.3.6 or later give the path where webLogic is already installed, then next, next and press install


Once it is installed now install ODI 11g 


In the selection type select All we need everything to ODI Studio and Agents in the next screen make sure that you select Middleware location where 11.1.1.7.0 is installed and ODI home looks like 'Oracle_ODI1' you can skip the Repository Configuration step give some Agent name and port number which is not in use by OBI.

At the end you should see ODI configuration is successful


So far  we completed Installing/upgrading our environment to 11.1.1.7.0  and  ODI 11g

 Lets start with step of creating Business Analytics Warehouse schema requires of OBIA Repositories 
When you install Business Analytic Warehouse (RCU) it installs below schema

Ø  Business Analytic Warehouse :Repository which supports the different source systems(eBs,PPSF,Siebel) this schema can be installed on Oracle Database
Ø Business Intelligence Applications Components Repository (BIACOMP) :
All the configuration settings supported by functional manager and Configuration setup manager like Load plans, Mappings ,Domain files config, source files information ...
Ø  Load Plan Generator  : Jar files supported for ODI Repository for loads (kind of hibernate files in DAC)
Ø ATGLite - This component is a J2EE component used by Oracle BI Applications Configuration Manager and Functional Setup Manager.

Components Deployed Into Managed Server "odi_server1"

ODI Studio - This component enables you to control and monitor ETL.
ODI Agent - Java EE Agent, which handles schedules the interfaces/package/scenarios in ODI

It's a best practice to have separate database for Business Analytic Warehouse (OLAP) and source system (OLTP) don't install both on same database you must create database instances to hold the following:
Business Analytics Warehouse schema
  • Oracle BI Applications Components Repository (for Configuration Manager and Functional Setup Manager)
  • ODI Repository for Oracle BI Applications (includes Master and Work repositories)
Double click on rcu.bat(\11_1_1_7_BI\Bus_Analytics_Apps_Suite_RCU_Win64\bin\rcu.bat) file from the file you downloaded(Bus_Analytics_Apps_Suite_RCU_Win64) 

Click on Create then enter your DB credentials and select the components as shown below


  • Select Oracle Operation Planning if you want to configure (Indirect Spend Planning)
  • Enter your schema password (Remember it we need those credentials in another section)
  • The RCU uses .dmp files to create the required schemas. Before you perform the action in the Custom Variables screen, you must copy the .dmp files for each schema to a directory with global write access on the appropriate database server host machine. (RCU writes log files to this directory). The .dmp files are located in BIA_RCU_HOME\rcu\integration\biapps\schema. I have copied those files to my App folder (DB install directory)

Select the table space it should have more space to install all the .dmp files for each schema it is recommended to have more than 15 GB (future purpose) and click on Create it takes some time (around 30 mins)


Click on Create it creates necessary work repository and BI Apps schemas as shown below you can check the log file.


Business Analytics Applications installation as  shown below:


Installation location is same as where we installed 11.1.1.7.0 (D:\11g\Oracle_BI1) next, and hit Install it takes around 30 mins to complete depending on your system configuration

Configuring Oracle Business Intelligence You can configure the BI Domain by running the config.bat or config.sh file(\BI11g\Oracle_BI1\bin\config.bat). You need to perform this procedure if you installed Oracle BI EE in Software Only Install mode.
Note:If you installed Oracle BI EE in Enterprise Install mode in the first step, you do not have to perform this procedure.

Installing Fusion Middleware Patches :
Once patches are installed we are all set to start our OBI Apps using ODI ! hold on, still we need to configure ConfigApps.bat (\BI11g\Oracle_BI1\bin\configApps.bat) which is used to create ODI managed server , Oracle configuration Manager,Oracle Functional Manager used to configure the parameters for the loads  

Step 1 : 


Step 2: 



Step 3: Specify the location where you installed OBIEE  11.1.1.7.1(Apps) and select components 


Step 4 : RPD Encryption password used to open your BIApps rpd 



Step 5 :  BI administrator password used to login ODI Studio make sure you remember it otherwise you can not login to ODI Studio




Step 6 : Give the schema locations for BI Application component,BAW, BI ODI repo & MDS Schema 
DEV_BICOMP SCHEMA DETAILS:


DEV_DW SCHEMA DETAILS:


DEV_BIA_ODIREPO SCHEMA


Step 7 : Click on Configure to start your configuration of Bi Apps it took 2 hr 30mins to complete it because of some configuration issues while restarting odi_server1 (make sure you have started Node Manager) other the odi_server1 restarting is going to fail 

Generating Security Files for ODI Studio

The ODI Repository is configured for external authentication against WebLogic Server's embedded LDAP server. System administrators must generate the appropriate security files for authentication as specified below, and provide these to developers who have installed ODI Studio on their machines.

run this command  :

middleware\Oracle_BI1\common\bin>wlst.cmd \middleware\Oracle_BI1\bifoundation\install\createJPSArtifactsODI.py embedded --ADMIN_USER_NAME weblogic --DOMAIN_HOSTNAME lenovo-pc --DOMAIN_PORT 7001 --DOMAIN_HOME_PATH \middleware\user_projects\domains\bifoundation_domain



  1. Copy cwallet.sso and jps-config-jse.xml from:

    <MW_Home>/user_projects/domains/bifoundation_domain/odi-client-config/embedded
    To:
    <ODI_Home>/oracledi/client/odi/bin
  2. Edit <ODI_Home>/oracledi/client/odi/bin/odi.conf by updating the JPS configuration file name as follows:
    AddVMOption -Doracle.security.jps.config=./jps-config-jse.xml

Applying the ATGLite Patch

ATGLite is a J2EE component used by Oracle BI Applications Configuration Manager and Functional Setup Manager . Stop all the services related to Business Intelligence components and execute the below script as shown below 

Log into ODI by entering following details as shown below  where user and password is from the screen where we configured configapps.bat (BI Administrator)
  1. Copying Source Files

    During installation of Oracle BI Applications, source files are installed in the BI_Oracle_Home/biapps/etl directory.

    To copy source files:
    1. Navigate to the BI_Oracle_Home/biapps/etl directory.
    2. Copy all files under the BI_Oracle_Home/biapps/etl directory into a location that ODI Agent deployed in WebLogic Server can access but is outside of the Oracle Home for BI directory.
      Setting the Business Analytics Warehouse Connection in ODI
      Use ODI Studio to set the connection properties in the ODI Repository of the physical schema associated with the 'BIAPPS_DW_FILE' physical server.
      To set the Business Analytics Warehouse physical schema connection in ODI:
      1. Log into ODI Studio using the BI Applications Administrator credentials.
      2. In the navigation pane, go to Topology, and expand Technologies, and then expand File.
      3. Double-click BIAPPS_DW_FILE.



      Now login to ODI Designer you should see BIApps Project and Models(Sources)

      Loginto configuration manager with the same credentials you used to login for ODI(weblogic)


      This completes our complete installation and configuration of BIApps 11.1.1.7.1 on 64-bit 


BIApps and ODI 11.1.1.7.1 Full Load

$
0
0
This post covers how to configure load plan generator in ODI and necessary configuration steps to do at Business Intelligence Application Configuration Manager and Business Intelligence Application Functional Manager to run finance full load

Load Plan : From ODI 11.1.1 it has new feature called load plan which is used to populate warehouse tables in groups (fact and dimension) in a sequential  order or parallel ( Execution Plans in DAC)
Load Plan is an executable object in Oracle Data Integrator that can contain a hierarchy of steps that can be executed conditionally, in parallel or in series. The leaves of this hierarchy are Scenarios. Packages, interfaces, variables, and procedures can be added to Load Plans for executions in the form of scenarios.
Sample Load plan in BIApps 11.1.1.7.1 you can see sequential steps like PRE_SDE,SDE,SIL and parallel loads (SIL Dimension group ,Fact Group) each one is defined as step (#) 

Refer ODI documentation  for more information on load plans  ( more easy than DAC ) 

If you followed by earlier post Installation and configuration of BIApps 11.1.1.7.1  once you done with those steps to configure Oracle BI load generator open ODI Studion and Goto ODI --> Oracle BI Load Plan Generator and give your OBIACM schema details then Test Connection --- save and Close 

it automatically generates load plan as shown below


Business Intelligence Configuration Manager for full load:
 Registering Source Systems and Propagating Connection Details to ODI
  1. Launch Oracle BI Applications Configuration Manager using the URL http://<host>.<port>/biacm, and log in as the BI Applications Administrator user
  2. Select the Define Business Intelligence Applications Instance link, which appears under System Setups.
    Click the Add icon.
  3. The Register Source dialog is displayed.Click Next. The Register Source in Oracle Data Integrator Topology page is active

  1. You should already configure ODIAgent using weblogic to select Logical Agent /Physical Agent to see plans and scenarios using ODI Console look at document to deploy and  configure Agent as J2EE component.
  2. In the context section I prefer to select Global (default) if you are clear and know already mapping of Logical Schema and Physical schema in topology manager then choose Register New Context and give Unique Context Name.
  3. The source system can be multiple like siebel , people Soft,EBS 11.X.X but you cannot enable multiple instances of same source in below example I configured EBS 12.1..3 two times with different data_source_id but only one is enabled or  suppose you have two source instances, Oracle EBS and PeopleSoft, and you are deploying Financial Analytics. If Financial Analytics will only source from PeopleSoft, then you would disable the Oracle EBS source instance for the Financial Analytics offering.
Use Oracle BI Applications Configuration Manager to enable the Oracle BI Applications offerings
Now Open ODI studio and Topology  to configure your EBS source as shown below
Second tab Business Intelligence Applications offerings and associated sources will show the Application(module) you enabled and source which is enabled (VISION) as shown in above figure (Registering Source Systems and Propagating Connection Details to ODI)
You can use the Manage Preferred Currencies dialog to edit the default currency display names. You edit preferred currency name values to change the currency labels that are displayed in all modules associated with BI dashboards. For example, you might want to change the 'Local Currency' label from 'Ledger Currency' to 'Local Currency'. 
From the tasks pane select Manage Preferred Currencies and edit the names 

Running the Domains Load Plan
You must define, generate, and run a domains load plan to load source-specific data into Oracle BI Applications Configuration Manager tables. This enables Configuration Manager to display the appropriate source-specific values as choices in drop-down lists for setup objects.

For this click on Manage Load Plans and click on plus (+) sign to create new load plan where load plan type Select Domain-only Extract and Load (SDE and SIL) and Source Instances as VISION which is enabled while registering source system with ODI in above system (VIS - Disabled )  

Select Fact Groups which are enabled using Manage BI application offerings

Once it is created successfully click on RUN button to start the actual load 
Click on execution details icon next to RUN button it will take you to load plan administration screen 
but I would prefer you to watch execution scenarios using ODI operator

As you are seeing from last couple of screen I got many issues while running my first full load (VISION- SOURCE) it has duplicates while creating indexs (unique key indexs)

ODI-1232: Procedure TABLE_MAINT_PROC execution fails.


ODI-1228: Task TABLE_MAINT_PROC (Procedure) fails on the target ORACLE connection BIAPPS_DW.
Caused By: java.sql.SQLException: ORA-20000: Error creating Index/Constraint : W_EMPLOYEE_DS_U1 => ORA-01452: cannot CREATE UNIQUE INDEX; duplicate key

SQLs used to remove duplicate keys :  (used the same for other tables)

select integration_id, datasource_num_id, src_eff_from_dt, count(*)
from w_employee_ds
group by integration_id, datasource_num_id, src_eff_from_dt
having count(*)>1;

delete from w_employee_ds where integration_id='PER~2901' and datasource_num_id=11;

finally my dashboard looks as below 





Creating Mobile Apps with Oracle BI Mobile App Designer

$
0
0
Oracle BI Mobile App Designer, introduced in Release 11.1.1.7.1 of Oracle Business Intelligence Enterprise Edition (Oracle BI EE) creating basic mobile apps, designing apps with tile pages, and creating navigation lists for investigating data.


  • BI Mobile App Designer is available now as a patch to Oracle Business Intelligence Suite Enterprise Edition, version 11.1.1.7.1. [patch number 17220944 at support.oracle.com]
  • BI Mobile App Designer is licensed at no extra charge with Oracle BI Foundation Suite and Oracle BI Mobile.

Installation Guide : 
http://www.oracle.com/technetwork/middleware/bi-foundation/bi-foundation/installation-guide-1989222.pdf

Oracle by Example (Step by Step creation of App) : 
http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bimad/mad/mad.html

Video : http://www.youtube.com/watch?feature=player_embedded&v=Q_Cj-F6sfZI



Reference :  https://blogs.oracle.com/proactivesupportEPM/entry/oracle_bi_mobile_app_designer

OBIEE11g and WebCenter Integration

$
0
0
Recently came across below article in my oracle support document how to integrate Oracle WebCenter with OBIEE 11g ...

How To Integrate OBIEE11g and WebCenter Portal: Spaces (Doc ID 1572758.1)

try it out !

Checking weblogic version for BIApps 11.1.1.7.1

$
0
0
Before/After  installing BIApps 11.1.1.7.1 just check your weblogic version using below commands or go through registry.xml file under (Middleware/BI_Installed directory)



or run below command 





Creating users in bulk using WLST scripting: OBIEE 11g

$
0
0
To create users in bulk and assigning groups for them use below python script and follow steps as given in screen shot 

save below file in any location to execute (create_users.py)  .py - python script

serverConfig()
print 'lookup DefaultAuthenticator'
password = 'weblogic123'
atnr=cmo.getSecurityConfiguration().getDefaultRealm().lookupAuthenticationProvider("DefaultAuthenticator")
print 'create group gcp_group'
group = 'gcp_group'
atnr.createGroup(group,group)
atnr.addMemberToGroup('BIConsumers','gcp_group')
users = ['user1','user2']
for user in users:       
  print 'create user: ',user
  atnr.createUser(user,password,user)
  atnr.addMemberToGroup(group,user)




you can login to console and check users and group tab for above users




go through below oracle documentation which will give more commands to run using WLST





OPMN startup issues : OBIEE 11g

$
0
0
When you see below error message while starting up opmn services 

ONS server initiated
 [opmn] [TRACE:1] [522] [pm-internal] PM state directory exists: /u01/app/middleware/instances/instance1/config/OPMN/opmn/states
 [opmn] [NOTIFICATION:1] [675] [pm-internal] OPMN server ready. Request handling enabled
[opmn] [ERROR:1] [] [libopmncustom] Process Ping Failed: 

1) Delete states directory in 
     /u01/app/middleware/instances/instance1/config/OPMN/opmn/

2) ' no address matched properties for the request' error message 
 Process Ping Failed: coreapplication_obisch1~OracleBISchedulerComponent~coreapplication_obisch1~1 (467413041:1854) [No addresses matched the properties for the request]
 [opmn] [ERROR:1] [] [libopmncustom] Process Ping Failed: 
Open opmn.xml (ORACLE_HOME/opmn/conf/opmn.xml) and look the ports which are already using kill the pid's and start opmn services 

ps -ef|grep 'opmn -d'|grep -v 'grep'
kill -9 <pid>

3)  Unknown error 1074200016
RPC response timeout
time out while waiting for a managed process to stop

Take a backup of the  
/u01/app/middleware/instances/instance1/config/OPMN/opmn/opmn/conf/opmn.xml file.
-  Edit the opmn.xml
and increase timeout start/ stop parameter in seconds
<start timeout="1200" retry="2"/>
<stop timeout="240"/>
<restart timeout="920" retry="2"/>

Oracle recommends that you shutdown OPMN before shutting down your computer. Use the opmnctl stopall command to stop OPMN and OPMN-managed processes.

On the Microsoft Windows operating system, you can use the Windows services control panel to stop OPMN and OPMN-managed processes.


BIApps 7.9.6.4(X) and BIApps 11.1.1.7.1 on same machine ?

$
0
0
Well to play around with installations last week I tried to install 7.9.6.4 on my machine

but , Do I need to  uninstall existing 11.1.1.7.1  to run my bi instance smoothly ?
No, you can have both 11.1.1.7.1 and BIApps 7.9.6.4 on same BI machine without any issues vice-versa 
( but make sure you have latest weblogic server 10.3.6)

while installing BIapps 7.9.6.4 on 11.1.1.7.0 you may get below error message

The Oracle Business Intelligence Application 7.9.6.4 installer fails on Oracle BI EE 11.1.1.7.0 
with the error “NQSConfig.INI not found. 
or

Unable to login to the Answers with any user. 
Following error is seen in nqserver.log:-
"java.security.AccessControlException: access denied (oracle.security.jps.service.credstore.CredentialAccessPermission context=SYSTEM,mapName=oracle.bi.system,keyName=system.user read)"



follow the steps given in support doc(Note 1561846.1) to bypass the issue

ODI Certification (Beta Exam)


Custom Grand Total using Combine with Similar request : OBIEE

$
0
0
One of my friend asked me to find custom grand total in OBIEE let us take below example


From Subject Area 1

Customer                Unit Shipped          Unit Ordered      Percentage=(US/UO)*100
Goal sports cafe          17154                    18137                 94.58

From Subject Area 2

Customer                Unit Shipped          Unit Ordered       Percentage
Church street              43875                    44633                 98.30

Now when i combined and taken grand total, the result i'm getting is

Units Ordered
Units Shipped / Units Ordered * 100
Customer
Units Shipped
Units Ordered
Units Shipped / Units Ordered * 100
2nd & Goal Sports Cafe17154.0018137.00     94.58
93 Church Street43875.0044633.00      98.30
Grand Total61029.0062770.00      94.58
But in place of  94.58, i want to get   (61029/62770)*100=   97.2


We can do this using combine with similar request 

Criteria 1 :  


just add dummy column to the same criteria and edit the column formula as  '1' will see the significance later


Criteria 2 : 




don't enable the grand total create another criteria 

Criteria 3 :    Under the dimension columns just hard code the value as 'Grand Total' ( if you have other dimension let say Customer Flag edit the column formula and use '' ( two single quotes) keep the measures as it is







to get Amount Sold / Quantity Sold add dummy column and use below formula 

aggregate("SALES"."AMOUNT_SOLD" by ) / aggregate("SALES"."QUANTITY_SOLD" by)





Criteria 3 :  looks as shown below




If you want you can have conditional formatting and enable sorting on third column (right click Sort ascending) 





Report output shows as below   where Grand total of 3rd column is Amount_sold/ Quantity_sold







OBIEE (11g) 11.1.1.7.131017 bundle released - Supports IE 10

$
0
0
Patch 17530796 - OBIEE BUNDLE PATCH 11.1.1.7.131017 (Patch) is comprised of the following patches, which are not available separately:
Patch 16569379 - Dynamic Monitoring Service patch
The instructions to apply the bundle patch are given in the patch read me along with some important notes if you are upgrading from 11.1.1.6.x versions.
The new functionality in this patch includes:
    Support for Microsoft Internet Explorer 10    

    Support for Oracle BI Mobile App Designer
    Support for improved exporting functionality into Microsoft Excel

For more information please refer to document:
OBIEE 11g 11.1.1.7.131017 is Available for Oracle Business Intelligence Enterprise Edition and Exalytics (Doc ID 1595219.1)


Login Page Custom Text : OBIEE 11g

$
0
0
In this post we will look at how to add custom text to login page as shown below


Open middleware home directory and goto below path 
Oracle_BI1\bifoundation\web\msgdb\pages\common\signin.html (don't forget to take backup) and search for top middle class as shown below

 <td class="topmiddle" width="10%" height="12">
 <span style="background-color:#F6CED8;text-align:center;font-weight:bold;color:#000000">
        You are connecting to - EDW system which Refreshes daily at 12 AM PDT 
   </span>

 </td>

Similarly you can add text at the end of language selection which is bottom middle class

<td class="bottommiddle" width="100%" height="12">

to reflect the changes restart presentation service and clear browser cache.

Managed Server (bi_server1) startup

$
0
0
When you try to start managed server (bi_server1) in linux if the script syntax is incorrect you may get below error message

caused By: oracle.security.jps.JpsException: JPS-00056: Failed to create identity store service instance idstore.ldap.provider:idstore.ldap. Reason: weblogic.security.service.SecurityServiceRuntimeException: Invalid host or port for admin server..
        at oracle.security.jps.internal.policystore.PolicyUtil.getDefaultPDPService(PolicyUtil.java:2984)
        at oracle.security.jps.internal.policystore.PolicyUtil.getPDPService(PolicyUtil.java:3226)
        at oracle.security.jps.internal.policystore.PolicyDelegationController.<init>(PolicyDelegationController.java:167)
        at oracle.security.jps.internal.policystore.JavaPolicyProvider.<init>(JavaPolicyProvider.java:383)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        Truncated. see log file for complete stacktrace



Make sure the syntax of command is correct as shown below

nohup ./startManagedWebLogic.sh bi_server1 t3://localhost:7001 -Dweblogic.management.username=weblogic -Dweblogic.management.password=weblogic123>>bi_server1.out &

Otherwise start it from Console --> Deployment -- Servers -- bi_server1 --> Start


New Release : Oracle Endeca Information Discovery 3.1

$
0
0
Oracle has released new Endeca Information Discovery 3.1  with some new improvements in building reports 

In my opinion Endeca is competing with Tableau  as per the release notes new EID introduced 

Self-Service Data Mashup and Discovery Dashboards which makes less involvement of IT 
people to create report  . Business users/End -user can build reports easily (drag-drop) like 
Tableau 

Oracle Endeca Web Acquisition Toolkit Design Studio, which is a visual, fully integrated 
development environment for building data integration workflows

For more information  
Viewing all 49 articles
Browse latest View live