When you are developing your first versions of your reports you probably start finding that something is wrong and may not be working. Well in these situations is really important to know what is going on and find out why your report is not working.
In the new release of BI Publisher we can find error messages of our data model or report generation in a couple of log files which are located at:
BIEE_HOME\user_projects\domains\bifoundation_domain\servers\bi_server1\logs\bipublisher
References:
http://download.oracle.com/docs/cd/E14571_01/bi.1111/e13880/T526682T542464.htm
Friday, February 25, 2011
Monday, November 15, 2010
Clouds are not Spheres
Yes, as you read "... Clouds are not spheres, mountains are not cones, coastlines are not circles, and bark is not smooth, nor does lightning travel in a straight line..". This was how Benoit Mandelbrot tried to explain how traditional geometry can not completely describe the geometry of things in nature.
To overcome this limitation he developed a new mathematical object called "Fractal". Fractal is a mathematical object which among other properties has the property of self-similarity, i.e the object presents the same shape, pattern, form at different scales. Its importance has been proven in many areas of human life : Medicine, Economy, Technology (image, audio compression), etc.
To overcome this limitation he developed a new mathematical object called "Fractal". Fractal is a mathematical object which among other properties has the property of self-similarity, i.e the object presents the same shape, pattern, form at different scales. Its importance has been proven in many areas of human life : Medicine, Economy, Technology (image, audio compression), etc.
Mandelbrot set inward zoom
Well, such object was not completely new to mathematicians but it was Mandelbrot who really took advantage of the technology of the 70's (the power of computers) and opened a new world in mathematics with Fractals.Sierpinsky Triangle
Here goes my modest post salute to him after one month of his death (I was not catching up with my emails until today I realized of his death).Wednesday, November 10, 2010
Starting and Stopping BIEE from command line
BIEE11g uses now Weblogic as application server. This means we need to know some basic commands such as how to start and stop Weblogic server (WLS). In addition to this from the previous post we know that BIEE11g does not only require WLS but also other additional processes. All this plus the need to interact with these components by means of a script in a development / test environment led us to the conclusion that we need to know how we can start or stop BIEE (or even its processes) from a command line. So let us get into this:
Starting BIEE :
Starting BIEE :
- First, read and understand the BIEE11g architecture. This is discussed in a previous post (it can be found here).
- So now, you know we need to start / stop basically the Java and System components respectively:
a. The Java Components:
i. Admin Serverb. System Components (OPMN Processes)
ii. Managed Server
i. BI Server
ii. BI Presentation Services
iii. BI Java Host
iv. BI Cluster Controller
v. BI Scheduler
Fortunately we do not need to create scripts for each of the components from scratch since during BIEE11g installation some of them were already created for us. We will make use of some of them: ( Note: In our examples our Fusion Middleware home is C:\fusionMW )
This process starts automatically in Windows as a service (everytime the OS is restarted). Additional reference for this component can be found here
2. Start Admin Server:
Command: startWeblogic.cmd
Path: C:\fusionMW\user_projects\domains\bifoundation_domain\bin
You will be prompted for the admin user and password. You either enter these values everytime you start/stop the services or alternatively you can set these values in boot.properties file.

File Name: boot.properties
Content:
username= Enter your user name here
password= Enter your password here
The Next time WLS is restarted the password will be encrypted.
3. Monitoring the OPMN Processes:
Command: opmnctl.cmd status -l
Path: C:\fusionMW\instances\instance1\bin
Once all processes are "Alive" then you will get this screen:

Stopping BIEE :
This process is almost the same but in reverse order. To stop all BIEE services you will have to perform the following commands in the respective order in the same directories where each of them started
1. Stop OPMN processes:
> opmnctl stopall
2. Stop Managed Server (bi_server1)
> stopManagedWeblogic.cmd bi_server1 t3://hostname:7001 username password
3. Stop WLS (Admin Server)
> stopWebLogic.sh username password t3://host.domain:7001
This is all you need to know about it to get started. If you already installed BIEE11g then you should be familiar with the Start/Stop BIEE services script that the installer produces. Well, that script uses a series of ANT commands to produce the same effect we have here described. In a future post I will explain about ANT and take such script as example.
Until next time
Friday, November 5, 2010
OBIEE 11g Architecture
Author: Jorge Anicama
Article Original Location: http://bichaos.blogspot.com/2010/11/obiee-11g-architecture.html
It has been awhile since my last post. The main reason is because I have been busy working in different projects and also taking care of a my new baby boy (new member of the family :) ).
Article Original Location: http://bichaos.blogspot.com/2010/11/obiee-11g-architecture.html
It has been awhile since my last post. The main reason is because I have been busy working in different projects and also taking care of a my new baby boy (new member of the family :) ).
Hoping this new post results interesting enough this time I will discuss the new BIEE11g architecture.
If you are planning to start using BIEE11g you will notice there are a few more new components and at first glance it seems complex to understand, but let us take a look at the following picture and we will notice it is not that bad:
We can identify two main component types the OBIEE 11g: The A) Java Components and the B) System Components.
A) Java Components: These are basically J2EE applications running in Weblogic Server. There are two subcomponents here: 1. Admin Server and 2. Managed Server. Each of them running in a dedicated Java virtual machine (JVM).
- Admin Server: This is nothing more than a set of J2EE applications that will help us Administering the system:
- Admin Console (WLS) — An adminstrative user interface that provides advanced management for Weblogic, JEE components, and security
- Fusion Middleware Control — An administrative user interface that is used to manage the BI domain.
- JMX MBeans — Java components that provide programmatic access for managing a BI domain.
- Managed Server: These are J2EE applications which will help the functioning of the BIEE System (highlighted in RED):
- BI Plugin — It routes HTTP and SOAP requests to BI Presentation Services.
- BI Security — It enables the integration of BIEE Server and Fusion Middleware security platform through webservices calls.
- BI Action Services — It provides the dedicated Web services that are required by the Action Framework (a nice introduction can be found here, another example of use is here and here) and that enable an administrator to manually configure which Web service directories can be browsed by users when they create actions.
- Webservices SOA — This component provides Web services for objects in the BIEE Presentation Catalog, to invoke analysis, agents, and conditions.
- BI Office — This component provides the integration between Oracle Business Intelligence and Microsoft Office products.
- Two particular applications: BI Publisher (Reporting System) and RTD (technology platform which enable the analysis of data and provides insight by using data mining algorithms and techniques in real time).
- BI Server — It provides capabilities to query and access data as well as services for accessing and managing the RPD file (BIEE Metadata).
- BI Presentation Services — It provides the framework and interface for the presentation of business intelligence data to Web clients. It maintains an Oracle BI Presentation Catalog service on the file system for the customization of this presentation framework.
- BI Scheduler — Provides extensible scheduling for analyses to be delivered to users at specified times. (BI Publisher has its own scheduler.)
- BI JavaHost — It enables BI Presentation Services to support various components: Java tasks for BI Scheduler, BI Publisher, and Graph generation.
- BI Cluster Controller — It distributes requests to the BI Server, ensuring requests are evenly load-balanced across all BI Server process instances in the BI domain.
In addition, the BI Domain requires a set of configuration files, the repository (RPD) file, the Presentation Catalog files, etc. Likewise, BIEE System uses a set of metadata tables stored in a relational database like Oracle.
How to Start BIEE System: There are multiple ways to start the BIEE System, but it must follow certain order. Based on the description given above we need to :
1. Start NodeManager : By default in Windows it runs when the OS starts (Reference about NodeManager can be found here)
2. Start Admin Server : Initiate Weblogic Server.
3. Start Managed Server : Initiate the main applications. Based on the picture above, these are highlighted in Red : BI Plugin, BI Security, BI Action Service, BI Webservices SOA. If you are planning to use BI Publisher or RTD then it must also be started.
4. Start BIEE Services : These are the main BIEE processes which are controlled by OPMN: BI Server, BI Presentation Server, BI JavaHost. If you are planning to use BI Scheduler then also start it. Or if your instance is a clustered environment then also start the BI Cluster Controller. In our next post, we will describe how to actually perform this operation and we will describe how to troubleshoot issues by looking at the log files.
References:
1. Introduction to BIEE Administration (here).
2. Rittman Mead posts on Action Services (here).
Thursday, June 3, 2010
OBIEE 11g launch in London July 7th, 2010
OBIEE 11g will be launched this July 7th, 2010. Here is the invitation to this event:
Oracle Business Intelligence Enterprise Edition 11g Launch
Oracle Business Intelligence Enterprise Edition 11g Launch
Monday, April 19, 2010
BI Publisher - Webservices update to 10g with patch 9546699
Author: Jorge Anicama
Article Original Location: http://bichaos.blogspot.com/2010/04/bi-publisher-webservices-preview-of-11g.html
BI Publisher provides an update to its webservices from previous releases with patch 9546699. All you have to do is (with OC4J and BI Publisher 10g running) to open the following URL:
Article Original Location: http://bichaos.blogspot.com/2010/04/bi-publisher-webservices-preview-of-11g.html
BI Publisher provides an update to its webservices from previous releases with patch 9546699. All you have to do is (with OC4J and BI Publisher 10g running) to open the following URL:
http://mybipserver:9704/xmlpserver/services/PublicReportService_v11?wsdl
Where: mybipserver is the machine's name where OC4J is installed and where BI Publisher has been deployed. Save this file locally.
Once you get the WSDL file you can immediately test the services using SOAP UI (a webservices tester).
Start loading BI Publisher's WSDL into SoapUI and create a new project:
So for example, we can find out which Security mode is being used in a BIP installation. Simply invoke the service "getSecurityModel". This service does not require any parameter, therefore just click on the green button "play" .
This returns the security model employed in BI Publisher's environment: "BI_SERVER", which means the security model used is based and controlled by BIEE Server.
The next example will employ BI Publisher's web services which require parameter values: "login" and "getFolderContentsInSession". Invoke "login" and enter "Administrator" as user and password:
This returns the session string, known as BIP's session token:
Next, invoke the "getFolderContentsInSession" service and enter the string just obtained in previous step plus the folder path to find out its content: "/HR Manager".
Finally, click on Run (the green arrow button on the upper left hand side of the window) to obtain a list for reports and folders:
With this you now get a flavor of all the things you can do using BI Publisher's webservices. Of course you can start developing your web application using JDeveloper and BIP WSDL, but that will be the topic for new post soon.
Start loading BI Publisher's WSDL into SoapUI and create a new project:
The next example will employ BI Publisher's web services which require parameter values: "login" and "getFolderContentsInSession". Invoke "login" and enter "Administrator" as user and password:
This returns the session string, known as BIP's session token:
Next, invoke the "getFolderContentsInSession" service and enter the string just obtained in previous step plus the folder path to find out its content: "/HR Manager".
With this you now get a flavor of all the things you can do using BI Publisher's webservices. Of course you can start developing your web application using JDeveloper and BIP WSDL, but that will be the topic for new post soon.
Friday, April 9, 2010
BI Publisher 10.1.3.4.1 (build 1145)- latest patch - 9546699 (April 1st 2010)
More than a week ago Oracle BI Publisher PM team released a new patch 9546699 (on March 31st, but published in Metalink April 1st), which brings many bug fixes and product enhancements.
There is a long list of updates you can read in the readme file that comes in the patch. But for those of you interested in getting this patch applied in your environment I have compiled a step by step screenshot sequence (for Windows environment) which I hope can help you in this process. Here is how it goes:
I) Upgrade of BI Publisher Server
1. First, take a backup copy of :





- Click on "Deploy"







7. If your environment is 10.1.3.3.2 (03-April-2009, Patch 8398277) or earlier then perform the following two steps, Otherwise continue with step 8.
$ORACLE_HOME/xmlp/XMLP/Admin/Security.Copy this file: ssodefaults.xml and place it in the following directory: Default values for properties can be updated depending on your configuration if SSO is implemented.
. This file stores information about the database which will be use to store BI Publisher Scheduler's metadata tables.Copy database-config.xml to the following directory: \XMLP\Admin\Scheduler



Notice, down on the right hand side the BI Publisher's version 10.1.3.4.1 (build 1145). To see this version your application must be in DEBUG mode though. Alternatively, to see the build number from the login page you can view the page source (IE View --> Source) and Notepad will come up. You will see this line:
<meta name="Generator" content="Oracle BI Publisher 10.1.3.4.1 (build# 1145 on Fri Apr 09 16:26:02 GMT-05:00 2010)"/>
This indicates the patch has been applied and now BI Publisher's version is 10.1.3.4.1 build 1145.
II) Upgrade of BI Publisher Desktop
Finally, there is one more upgrade to make. The BI Publisher's desktop should also be upgraded with the new xdocore.zip which, is shipped with the new patch. To apply it follow the next steps:
1. Using the just deployed new patch, get a copy of this file:
$ORACLE_HOME/oc4j_bi/j2ee/home/applications/xmlpserver/xmlpserver/WEB-INF/lib/xdocore.jar
2. Take a backup of the the following existing xdocore.jar files:
a)C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\TemplateViewer\lib\xdocore.jar
b)C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\jlib\xdocore.jar
3. Paste the xdocore.jar file copied in step 1., into the following directories:
a)C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\TemplateViewer\lib\
b)C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\jlib\
After this, BI Publisher Desktop has been upgraded and is in sync with the patch 9546699 just applied.
Subscribe to:
Posts (Atom)