ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Understanding Classloaders: log4j in a J2EE Environment
Subject:   Using Log4J in a JCA 1.5 compliant resource adapter
Date:   2006-09-12 15:37:10
From:   jmrengifo
Hi,
First of all, thank you for your article...


I have developed a JCA 1.5 connector, and decided to use log4j as logging framework in my Sun Java System Application Server instance.


I have tried to follow your instructions, but the only way I have made this work is by copying log4j jar file into myDomainPath/lib/ext directory and my log4j.xml configuration file into myDomainPath/config directory which I guess is the AS classloader.