WebSphere Application Server Network Deployment, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Instrumenting an application with JRas extensions

Before you begin

The JRas framework described in this task and its sub-tasks is deprecated. However, you can achieve similar results using Java logging.

Why and when to perform this task

To instrument an application using the WebSphere Application Server JRas extensions, perform the following steps:

Steps for this task

  1. Determine the mode the extensions will be used in: integrated, stand-alone or combined.
  2. If the extensions will be used in either stand-alone or combined mode, create the necessary handler and formatter classes.
  3. If localized messages will be used by the application, create a resource bundle as described in Creating JRas resource bundles and message files.
  4. In the application code, get a reference to the Manager class and create the manager and logger instances as described in Creating JRas manager and logger instances.
  5. Insert the appropriate message and trace logging statements in the application as described in Creating JRas manager and logger instances.



Sub-topics
Creating JRas resource bundles and message files
Creating JRas manager and logger instances
Setting up for integrated JRas operation
Setting up for combined JRas operation
Setting up for stand-alone JRas operation
Task topic    

Terms of Use | Feedback

Last updated: Mar 17, 2005 4:28:29 AM CST
http://publib.boulder.ibm.com/infocenter/ws60help/index.jsp?topic=/com.ibm.websphere.nd.doc/info/ae/ae/ttrb_jraslogr.html

© Copyright IBM Corporation 2002, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)