Академический Документы
Профессиональный Документы
Культура Документы
Map
Process
Web Client
In an HTML 4.0 compliant browser, InfoView provides a list of
Web Intelligence Document Instances (scheduled Web Intelligence
documents) for which a user has view permissions.
In an HTML frameset, selecting a Web Intelligence document
instance is a matter of clicking on the hyperlinked report name.
JavaScript initiates an HTTP GET request and appends several
arguments to the URL including the document instances
InfoObject id. The id is used to uniquely identify this instance from
all others.
The following requests a Web Intelligence document using the
ASP.Net- based InfoView
GET
/businessobjects/Enterprise115/InfoView/Webi/webi_view.asp
Page 2 of 26
x?id=3542&instId=3542&windowProperty=fullscreen=yes,loc
ation=no,scrollbars=yes,menubars=no,toolbars=no,resizable=y
es&shortcutID=2757 HTTP/1.1
Web Server
A 3rd party Web Server, typically Internet Information Server (IIS)
or Tomcat Apache, logs the page request and forwards it to the Web
Application Server.
Web Application Server
The Web Application Server is a collection of files written by
Business Objects in either Java or ASP.Net. The selected solution is
determined by the choice of Web Server as Microsofts Internet
Information Server supports ASP.Net and Tomcat Apache
processes Java pages.
Tools
Web Client
AppSight
In circumstances where observing the user interacting with their
system is not possible, AppSight is a tool used to record users
interacting with their system. Similar to the black box recorder on
an airplane, it records the users movements and choices and can
later be played back by support personal to resolve issues.
http://www.appsight.com
HTTPAnalyzer
HTTP Analyzer is a sniffer tool that monitors and inspects
HTTP/HTTPS traffic in real time. It displays a wide range of
information, including: header, content, cookies, query strings, post
data, request and response stream, and redirection URLs.
http://www.httpanalyzer.com
Web Server
Most vendors provide a set of monitoring tools for their Web
Servers. Both Internet Information Services (IIS) and Apache
Tomcat provide log files as a means to capture their respective
workloads, though the level of detail and options do differ.
Page 3 of 26
Internet Information Server Log File Location
[Install Path]\System32\Logs\
By default, new log files created daily, though the size, occurrence
and details recorded are configurable through the IIS Manager.
Apache Tomcat Logs File Location
[Install Path]\Program Files\Business Objects\Tomcat\Logs
The Administration utility allows the Administrator to set the level
in addition to the location of the log files.
Page 4 of 26
Configuration
Page 5 of 26
Step: 2
Map
Process
Tools
Page 6 of 26
Adding a command line trace parameter to the CMS instructs the server
to log its actions. With a timestamp, the trace shows a range of
information including method calls, InfoObject ids pulled from
memory, or calls are made to the System Repository.
The following are selected line items from a trace log after requesting a
Web Intelligence document.
CInfoStoreSubsystem::Query(proc=Select SI_ID, SI_KIND from
CI_INFOOBJECTS WHERE SI_ID=2862,chk=false,srv=true,qry=false): Start
Object was found in cache. obj ID=2862
Step: 3
Map
Process
Tools
Page 7 of 26
trace shows a range of information including method calls and when
the CMS interacts with the System Repository.
The following is an example from the trace file.
Security::IsAllowed( U=12,R=3,Ob=2862,Own=12,T=262,
bLogonFromServer=0 ) : hard-coded result=true
Querytiming Parameter
This additional CMS command line parameter captures queries made
to the System Repository from the CMS.
The following are selected lines from the log file generated by the
querytiming parameter:
SELECT SI_PROGID, SI_FILES FROM CI_INFOOBJECTS,
CI_APPOBJECTS WHERE SI_ID = 2862
SELECT SI_MACHINE, SI_MACHINECHOICE from CI_INFOOBJECTS,
CI_APPOBJECTS WHERE SI_ID=2862
SELECT SI_TITLE, SI_UPDATE_TS, SI_TIMESTAMP, SI_INSTANCE
FROM CI_INFOOBJECTS WHERE SI_ID=2862
Page 8 of 26
Step: 4
Map
Process
Page 9 of 26
NAdk3I50j67sL03631JatuZwFuLaL8R6dmONEOFF
HTTP/1.1
Tools
HTTPAnalyzer
HTTP Analyzer is a sniffer tool that allows you to monitor and inspect
HTTP/HTTPS traffic in real time. It displays a wide range of
information, including: header, content, cookies, query strings, post data,
request and response streams, redirection URLs and more.
http://www.httpanalyzer.com
Page 10 of 26
Step: 5
Map
Process
Page 11 of 26
A Web Intelligence Session (also known as a Cadenza Session or
Document Session) is initialized. Created specifically for that
document, the session is not reused.
The Web Intelligence Session is used for:
Creating and managing temporary folders on the Web
Intelligence Server
Storing local copies of Web Intelligence Document (.wid)
files
Storing Universes
A Web Intelligence Session is dependent upon an Enterprise
Session. Considered a child session, the Web Intelligence Session
inherits user and security settings from its parent Enterprise
Session.
When a Session InfoObject is created, the license count is
incremented.
Caching
The Web Intelligence Server checks its cache to see if a version
of the document exists. If one does, the report is returned to the
client by way of the Web Application Server.
Two caches exist: a session and shared.
A session cache (also known as a private cache) is used when
a shared cache is not enabled
pages are refreshed
real-time functions are used.
A sub folder is created and named after storage token under the
sessions folder. This new folder holds a set of temporary files that
contains both formatting and data for the report. The folder is
cleared periodically and automatically deleted, along with all
other session sub folders, when the Web Intelligence Report
Server is stopped.
Page 12 of 26
Tools
Page 13 of 26
components and creating and opening files.
Working with this trace requires a BO_Trace.ini file to be created.
Three optional environment variables may also be set:
Environment Variables
BO_TRACE_CONFIGDIR = c:\mypath
BO_TRACE_CONFIGFILE=c:\mypath\BO_TRACE.INI
BO_TRACE_LOGDIR= C:\MyLogFolder
BO_TRACE.INI
active=true;
important=<<; (options are <<,<=,==,>=,>> where << logs
informational lines to >> which is critical/error lines)
size=10000;
keep=true;
The following is an excerpt from the classic trace file showing
the creation and folder access
Writing File------>:2862.wid
Writing PublishDate-->:1172691350
open o_read \Data\storage\docs\00000049\00000003.wid
FileMon
Sysinternals provides a range tools to analyze a system. FileMon
is a tool that monitors in real time the files that have been
accessed. FileMon captures the creation of files in the private
and/or shared cache.
http://www.sysinternals.com
Configuration
Page 14 of 26
Page 15 of 26
Maximum Binary File Size: The maximum size that can be
exchanged between the server and the SDK (Binary).
Maximum Character File Size: The maximum size that can be
exchanged between the server and SDK (Character).
Page 16 of 26
Step: 6
Map
Process
First querying the repository for the location and name of the report,
the Web Intelligence Report Server then requests the .wid report from
the Output File Repository which is streamed to the web Intelligence
Report Server if it isnt already located in the Session cache.
The .wid file contains the constituent files necessary to construct the
output that will be later rendered and returned to the client.
Page 17 of 26
Data Root
Description
Data (root)
BO_Checksum (leaf)
Description
Used by Cube.
Page 18 of 26
node)
Description (leaf)
Document (leaf)
DocumentFormula (leaf)
DocumentVariable (leaf)
DocumentVariable_Data (leaf)
DSManager (leaf)
Description
Page 19 of 26
Description
Description (leaf)
.wid version.
DPManager (leaf)
SynchroManager (leaf)f
SynchroManager_Data (leaf)
Description
DP_Data (leaf)
DP_Generic (leaf)
Page 20 of 26
For each query: query description, query xml format,
server parameters, local DS information (DSx.Dpy
object description)
DP_QT (leaf)
Description
CDZ (node)
_PROPERTIES (leaf)
MDPWORKFLOWINFOS (leaf)
State (leaf)
Description
Page 21 of 26
Description
Used by Drill engine.
Drill_Infos (leaf)
Used by Repeng.
DOCSPEC (leaf)
Tools
Description
Page 22 of 26
Once the tracing levels have been set, the trace will identify a range of
operations including working with sub components and creating and
opening files. Errors in the workflow can also be easily found as they
are tagged with |E|.
Working with this trace requires a BO_Trace.ini file to be created and
three environment variables to be set:
Environment Variables
The following environment variables can be set to override the
default location ([windows install path]\system32) of the log file.
BO_TRACE_CONFIGDIR = c:\mypath
BO_TRACE_CONFIGFILE=c:\mypath\BO_TRACE.INI
BO_TRACE_LOGDIR= C:\MyLogFolder
BO_TRACE.INI
active=true;
important=<<; (options are <<,<=,==,>=,>> where << logs
informational lines to >> which is critical/error lines)
size=10000;
keep=true;
Page 23 of 26
Step: 7
Map
Process
Using the files contained in the .wid file, the Web Intelligence Report
Server delegates the stages of initialization, retrieving and rendering to
different components.
The Report Specification, an xml description of the reports header,
footer and body is used by the Report Engine, a sub component of the
Web Intelligence Report Server, to generate the output of the report.
Page 24 of 26
Tools
WiReportServer
(communication, orchestration)
1
Query spec
(xml)
4
Report spec
(xml)
Cube
DP 2 Calculator
(orchestrate
data fetching)
QF
Report output
(xml)
RepEng
(page rendering in xml)
6
Dico
Facilitate communication
between RepEng and
Calculator using iterators
DP : Data provider
QT
CS
(generate SQL)
(execute SQL)
QF : Query facility
QT : Query technique
CS : Connection server
RepEng : Report Engine
Tools
Page 25 of 26
operations including working with sub components and creating and
opening files. Errors in the workflow can also be easily found as they
are tagged with |E|.
Working with this trace requires a BO_Trace.ini file to be created.
Three optional environment variables can also be set:
Environment Variables
The following environment variables can be set to override the
default location ([windows install path]\system32) of the log file.
BO_TRACE_CONFIGDIR = c:\mypath
BO_TRACE_CONFIGFILE=c:\mypath\BO_TRACE.INI
BO_TRACE_LOGDIR= C:\MyLogFolder
BO_TRACE.INI
active=true;
important=<<; (options are <<,<=,==,>=,>> where << logs
informational lines to >> which is critical/error lines)
size=10000;
keep=true;
Page 26 of 26
Step: 8
Map
Process