Installation Guide for Oracle Self-Service E-Billing > Configuring IBM WebSphere > Process of Configuring the IBM WebSphere Application Server for the Billing and Payment J2EE Application >

Setting Up the Log4j Output for Billing and Payment in IBM WebSphere Version 6.1.0.3 and Higher


Complete the following procedure to set up log4j output on IBM WebSphere Version 6.1.0.17 and higher for the Billing and Payment application.

This task is a step in Process of Configuring the IBM WebSphere Application Server for the Billing and Payment J2EE Application.

To set up log4j output in IBM WebSphere 6.1.0.17 and higher for the Billing and Payment application

  1. Create a new file called commons-logging.properties in the $WAS_HOME/profiles/eBilling_profile/properties directory.
  2. Add the following content:

    org.apache.commons.logging.LogFactory=org.apache.commons.logging.impl.LogFactoryImpl

  3. Correct the log4j file configuration. Access the IBM WebSphere console for the Billing and Payment application. Select Servers, Application servers, your server, Server Infrastructure, Java and Process Management, Process Definition, Additional Properties, Java Virtual Machine, Generic JVM arguments. Add file: to the -Dlog4j.configuration definition:

    -Dlog4j.configuration=file:${your log4j full path and name} example: -Dlog4j.configuration=file:/export/home/qa1/eBilling602/config/log4j.xml

  4. Restart the Billing and Payment application server.
Installation Guide for Oracle Self-Service E-Billing Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices.