Ebs Diagnostics Troubleshooting 483730
Ebs Diagnostics Troubleshooting 483730
Ebs Diagnostics Troubleshooting 483730
3
Agenda
4
Architecture
5
Introduction to e-Business Suite Architecture
Basic 3-tier architecture
Clients
Hardware load balancer
Application
Servers
Concurrent
processing
Database server
(optional)
6
Diagnosing and troubleshooting challenges
A very complex system
7
Value of understanding
Getting the most out of Support and Development
8
Oracle Applications Framework
What is it?
• Key to identify
• Layer where the error occurs OAController
9
Oracle Java Object Cache (JOC)
Summary
10
Oracle Forms
Definition
11
Troubleshooting Oracle
Applications Framework
based applications
12
Troubleshooting OAF based applications
What to do when the application errors out?
• When to use:
• When the page is functional despite the error
13
Troubleshooting OAF based applications
Scenario #1, continued
14
Troubleshooting OAF based applications
What information do I get?
• Request parameters
• Cookies
• Session data
• Debug log
• BC4J Logging (queries)
• Whenever possible, save this data into a file and
upload it through My Oracle Support
15
Troubleshooting OAF based applications
Another example
16
Troubleshooting OAF based applications
Continued
• Self-explanatory messages
• Do ask us for help whenever necessary
• Custom code:
• Reproduces after disabling custom code?
• Not supported.
• Play with Jdeveloper Reproduces?
17
Troubleshooting OAF based applications
Troubleshooting tools
18
Troubleshooting OAF based applications
“About this page” link
19
Troubleshooting OAF based applications
Personalizations
20
Troubleshooting OAF based applications
Personalizations
21
Troubleshooting OAF based applications
Personalizations
22
Troubleshooting Java
Object Cache
23
Oracle Java Object Cache (JOC)
Troubleshooting
24
Oracle Java Object Cache (JOC)
Clearing the cache
• Navigation path:
• Functional administrator
• Core Services
• Caching Framework
• Clear all cache
25
Oracle Java Object Cache (JOC)
References
• 386568.1 JOC
RDBMS
26
Troubleshooting Oracle
forms-based applications
27
Oracle Forms
Architecture
28
Oracle Forms
Forms Applet
29
Oracle Forms
Forms patching
30
Oracle Forms
Troubleshooting at desktop – Java Console
31
Oracle Forms
Troubleshooting at Desktop – Runtime errors
32
Oracle Forms
Troubleshooting in Forms session
33
Oracle Forms
Troubleshooting at Application tier
34
Oracle Forms
Troubleshooting Network
35
Oracle Forms
Troubleshooting Miscellaneous
36
Diagnosing Middle tier
performance problems
37
Defining performance and scalability
What do they mean?
• Performance
– Measured via response time
• Scalability
– Steady response time despite utilization of the system
38
Diagnosing performance problems
Common performance issues in the middle tier
39
<Insert Picture Here>
Response Time/CPU
Issues/Deadlocks
40
Response Time/CPU Issues
41
Response Time/CPU Issues
42
Response Time/CPU Issues
43
<Insert Picture Here>
Thread Dumps /
Deadlocks
44
Thread Dumps
45
Thread Dumps
46
Thread Dumps
Full thread dump:
47
Thread Dumps
48
Deadlocks
What are they? What do they do?
49
Deadlocks
50
Deadlocks w/ Visual VM
51
<Insert Picture Here>
OutOfMemoryError /
Memory Leaks
52
JVM Heap Management
53
Garbage Collection
54
Monitor JVM Garbage Collection
55
Monitor JVM Garbage Collection
56
Monitor JVM Garbage Collection
57
OutOfMemoryError
58
OutOfMemoryError
59
OutOfMemoryError
60
Jconsole Diagnosis of OOME
61
Collecting OutOfMemoryError Information
• Error Logs
– Tell you which kind of OOME
– Shows you the place where OOME occurs (JDK 1.6)
• GC Logs
– Allows you to see memory growth trend over time
– The trend can be used to determine general cause of OOM
• Useful to provide to support when logging service
request
62
OutOfMemoryError log file contents…
63
Collecting OutOfMemoryError Information
64
Getting Heap Dumps – Sun JVM
65
OutOfMemoryError causes
66
EBS Sizing Recommendations
67
Identifying Memory Leaks
• Symptoms:
– Heap usage increases steadily over a relative longer period
of time (e.g. several hours or days)
– When memory leak is large enough continuous Full GC
– Different users may encounter OOM on totally unrelated flows
68
Identifying Memory Leaks
69
Connection and JDBC Statement Leaks
70
Connection and JDBC Statement Leaks
• Use <host>:<port>/OA_HTML/jsp/fnd/AoljDbcPoolStatus.jsp
• Need to login as user with FND:Diagnostics profile set to Yes.
71
Identifying Memory Hemorrhage
72
Identifying Memory Hemorrhage
73
<Insert Picture Here>
74
Tools for Diagnosing Heap Dumps
75
Tools for Viewing Heap Dumps
76
Jconsole Diagnostic Tool
77
Jconsole remote diagnostics
78
Jconsole Diagnostic Tool Overall
79
Jconsole Diagnostic Tool Memory tab
80
Jconsole
Ad-hoc heap dumps
81
MAT – Eclipse Memory Analyzer Tool
For dealing with heap dumps
82
Fiddler2
Analyze HTTP traffic
83
When reporting a problem to Support
What information is really necessary?
84
Questions and Answers
85
Related Sessions – Technology Overview
Monday, September 20
Tuesday, September 21
86
Related Sessions – Technology Overview
Wednesday, September 22
Thursday, September 23
87
Related Sessions – Security
Monday, September 20
Thursday, September 23
88
Related Sessions – Integration
Monday, September 20
Tuesday, September 21
89
Related Sessions – Extending and Customizing
Monday, September 20
Tuesday, September 21
90
Related Sessions – Extending and Customizing
Wednesday, September 22
Thursday, September 23
91
Related Sessions – Performance and Availability
Tuesday, September 21
92
Related Sessions – Performance and Availability
Wednesday, September 22
Thursday, September 23
93
Related Sessions – Internationalization
Wednesday, September 22
94
Related Sessions – Upgrading
Tuesday, September 21
Wednesday, September 22
95
Related Sessions – Lifecycle Management
Monday, September 20
96
Related Sessions – Lifecycle Management
97
Related Sessions – DBA Techniques
98
Related Demos
Demo Location
Upgrading to Oracle E-Business Moscone South, S-089
Suite 12.1
99
Additional Related Sessions
100
Oracle OpenWorld
101
Oracle OpenWorld
Beijing 2010
December 13–16, 2010
102
Oracle Products Available Online
Oracle Store
103
104