Professional Documents
Culture Documents
Reliable
Resilient
Fault-tolerant
Common HA mechanism for all components
HA Demonstration:
Architecture
OracleAS Web
Cache Standalone
Installation
HTTP
host1.mycompany.com
host2.mycompany.com
Database
HA Demonstration:
Nomenclature
HTTP(S)
Load Balancer
HTTP(S)
Origin Servers
Origin Server 1
Origin Server 2
Origin Server 3
Database
HA Demonstration:
Nomenclature
HTTP(S)
Load Balancer
HTTP(S)
Origin Servers
Origin Server 1
Origin Server 2
Origin Server 3
Database
Demonstration: Steps
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
Configuration Step 1
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
Configuration Step 1
HTTP
ORACLE_HOME\webcache\
internal.xml
apps.mycompany.com
<LOADBALANCE ON="YES"/>
HTTP
Origin Servers
host1.mycompany.com
host2.mycompany.com
Database
Configuration Step 2
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
Configuration Step 2
HTTP
apps.mycompany.com
Origin Servers
HTTP
host1.mycompany.com
host2.mycompany.com
Database
Configuration Step 3
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
Configuration Step 3
HTTP
OracleAS Web Cache Manager
Site Definitions
apps.mycompany.com
host2.mycompany.com
Database
Configuration Step 4
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
Configuration Step 4
HTTP
OracleAS Web Cache Manager
Site-to-Server Mapping
Apps.mycompany.com
host1.mycompany.com and
host2.mycompany.com
apps.mycompany.com
HTTP
Origin Servers
host1.mycompany.com
host2.mycompany.com
Database
Configuration Step 5
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
Configuration Step 5
Multiple ways of achieving this, e.g.,
Configuration Step 5
Multiple ways of achieving this, e.g.,
Configuration Step 5
HTTP
Enterprise Manager OracleAS
Control
HTTP
Origin Servers
host1.mycompany.com
host2.mycompany.com
Database
Demonstration
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
HTTP Request 1
HTTP
Database
HTTP Request 1
HTTP
Database
HTTP Request 2
HTTP
Database
Demonstration
Configuration
1.
2.
3.
4.
5.
Load balancing
Fail over
host1.mycompany.com
host2.mycompany.com
Database
HTTP Request 1n
HTTP
host1.mycompany.com
host2.mycompany.com
Database
Demonstration Summary
Set up HA for the OracleAS environment
Leverage OracleAS HA for Reports
Achieve Load Balancing and Fail Over
More Information
Oracle Application Server Best Practices
Guide 10g Release 2 (10.1.2)
Oracle Application Server High Availability
Guide 10g Release 2 (10.1.2)
Changed Functionality Between Oracle
Reports 6i and 10g
Demonstration 1: Descending
Bars Use Case
Often data shows a drop in value, e.g.,
Demonstration 1: Descending
Bars
1. Create Bar Graph
Demonstration 1: Descending
Bars
2. Shift the Y-axis baseline to the top
Demonstration 1: Descending
Bars
3. Add special effects (color gradient)
Edit Settings
Add the following XML
<Y1Axis ascending="false"/>
3.
Edit Settings
Add the following XML
<Y1Axis ascending="false"/>
3.
Add special
effects (color
gradient)
Demonstration 2: Stock
Graph Use Case
You need to show movement in stock prices,
i.e.,
Demonstration 2: Stock
Graph
1. Create Stock Graph of subtype Open-Hi-Lo-Close Candle
Demonstration 2: Stock
Graph
2. Add special effects (color gradient)
Demonstration 2: Stock
Graph
3. Specify custom colors
Edit Settings
Add the following XML
<Graph graphType="STOCK_OHLC_CANDLE"
seriesEffect="SE_AUTO_GRADIENT">
3.
Edit Settings
Add the following XML
<Graph graphType="STOCK_OHLC_CANDLE"
seriesEffect="SE_AUTO_GRADIENT">
3.
Class selectors
.big {color: blue}
Descendant selectors
p em {color: blue}
Attribute selectors
img[src="small.gif"] {border:1px solid #000}
Demonstration:
Without pseudo-classes
1. Unvisited Link
2. Link on mouse hover
3. Active Link
(right-click or left-click)
4. Visited Link
Demonstration:
With pseudo-classes
1. Unvisited Link
2. Link on mouse hover
3. Active Link
(right-click or left-click)
4. Visited Link
Demonstration Summary
Use pseudo-classes and pseudo-elements to apply
style to dynamic content
More information:
http://www.w3.org/TR/REC-CSS2/selector.html
Error Conditions
Error Examples
Demonstration
Add a JSP-based Web report to an existing Web
application
Create a WAR
Deploy the WAR on OracleAS
Run the report
Demonstration: Simulated
Error Condition 1
Specify a non-existent database connect string
Result:
When this
</mime-mapping>
exception type is
<error-page>
encountered
<exception-type>
javax.servlet.jsp.JspException
</exception-type>
<location>myExceptionPage.jsp</location>
show this
</error-page>
page.
</web-app>
Demonstration: Simulated
Error Condition 2
Specify a non-existent page
Result:
Summary
Errors are inevitable
Think about handling errors from users point of
view
Use web.xml to redirect users to meaningful error
pages
Q&
A
QUESTIONS
ANSWERS