Skip to main content

skip to main content

developerWorks  >  Information Management | WebSphere | XML  >

Application logging using solidDB, WebSphere Message Broker, and DB2 pureXML

How to set up an infrastructure for application logging

developerWorks
Page 1 of 12 Go to the next page

Document options
PDF format - Fits A4 and Letter

PDF - Fits A4 and Letter
2037 KB (58 pages)

Get Adobe® Reader®

Discuss

Sample code


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


Level: Intermediate

Daniel G. Schall (Daniel-Schall@web.de), IBM Intern, IBM
Dr. Henrik Loeser (hloeser@de.ibm.com), pureXML Storage Architect for DB2 on Linux, UNIX, and Windows, IBM

07 May 2009

Because of its flexibility and its presence in many application environments, XML is becoming the preferred log format. This tutorial shows how to easily set up an application logging environment by bringing the XML features of IBM® WebSphere® and IBM DB2® together. This tutorial first introduces a simple application logging scenario, then shows how to use IBM solidDB® to cache and decouple the application from the logging infrastructure. Use WebSphere Message Queue and WebSphere Message Broker to reliably move the log messages from the application to DB2, where they can be stored and queried using the pureXML® functionality. To normalize different message formats, use WebSphere Message Broker to transform log files to other XML formats prior to storing them in DB2.

Before you start

About this tutorial

In this tutorial, learn how to couple several IBM products to create an infrastructure for application logging. Use IBM solidDB — a fast, in-memory database — as a cache on the application side to decouple the application from the logging infrastructure. Use WebSphere Message Queue (MQ) to persistently store and transfer messages to WebSphere Message Broker (WMB), where you can analyze and transform the messages into different XML output formats. Finally, store the messages in DB2 for Linux®, UNIX®, and Windows®. The pureXML capabilities make it possible to store the log files in their native XML format and later query and analyze the logs.



Back to top


Objectives

This tutorial introduces the challenges of application logging, how to use XML in this context, and how to set up an infrastructure that brings application logging into your business.

In this tutorial, learn how to work with IBM tools, including IBM solidDB, WebSphere Message Broker, and DB2 for Linux, UNIX, and Windows.



Back to top


Prerequisites

This tutorial is written for users whose skills and experience are at a beginning to intermediate level. You should have a general familiarity with installing and using software, especially DB2, WebSphere MQ, WebSphere Message Broker, and solidDB.



Back to top


System requirements

To set up the infrastructure introduced in this tutorial, you need a Windows box (Server 2003, Vista, or Server 2008) with at least 2GB of free disk space, full administrator access to the box, and the ability to reboot the box several times a day. You should not use a production server machine, but a dedicated box where you can safely play around.



Back to top



Page 1 of 12 Go to the next page