Tuesday Feb 19, 2013
Thursday Feb 07, 2013
By Kyle Hatlestad on Feb 07, 2013
Sometimes when troubleshooting issues, the exact cause of the issue may be difficult to find. You may run across an error appearing in the log file. But it may not have enough information about what went wrong...or how it might happen again. So you can turn on tracing and watch the output, but if you don't know when the error may happen, you may have to sift through a lot of trace logs to find the spot of the error. That's where Event Trap tracing comes it.
Event Trap tracing allows you to specify keywords for content server to look for as it's writing out tracing in the server output. If that keyword is found, all of the tracing in the buffer at that time will be sent to a separate event tracing output file. So now you have a nice slice of tracing activity at the exact moment the particular keyword (based off error message or such) is hit. In addition, a thread dump from the JVM can be obtained at the same time to capture all of the thread activity as well. By default, the keyword is Exception so that every exception is captured this way.
By default, the log files can be found in the <content server instance directory>/data/trace/event directory or they can be viewed in the browser by clicking on the 'View Event Output' link.
Kyle Hatlestad is a Solution Architect in the WebCenter Architecture group (A-Team) who works with WebCenter Content and other products in the WebCenter & Fusion Middleware portfolios. The WebCenter A-Team blog can be found at: https://blogs.oracle.com/ ateam_webcenter/
- Sharing a saved query through Desktop Integration Suite and folders
- Getting started with Desktop Integration Suite
- Caught in the act!
- Conversions in WebCenter Content
- Migrating folders and content together in WebCenter Content
- Adding browser search engines in WebCenter Content
- Generating barcodes in reports
- Expanding on requestaudit - Tracing who is doing what...and for how long
- Access Control Lists for Roles
- HTML Manifest for Content Folios