I have written a open source version of jta for tomcat
that can be used with and the existing version of
apache DBCP. (to be released shortly)

I am using log4j of course:-)

My code and needs to be common/lib (i.e. don't want to
modify the web application war file in any way)

This means log4j needs to be in common/lib as well.

However some of the web application are bundled with
log4j.

As a result I get:

log4j:ERROR [StandardClassLoader
  delegate: true
  repositories:
    file:C:\tomcat\common\classes\

----------> Parent Classloader:
[EMAIL PROTECTED]
] whereas object of type 
log4j:ERROR "org.apache.log4j.RollingFileAppender" was
loaded by [WebappClassLoader
  delegate: false
  repositories:
    /WEB-INF/classes/
----------> Parent Classloader:
StandardClassLoader
  delegate: true
  repositories:
    file:C:\tomcat\\classes\
----------> Parent Classloader:
StandardClassLoader
  delegate: true
  repositories:
    file:C:\tomcat\common\classes\
    ...

Any ideas on how to get around this class loader
issue?

I don't mind writer some custom log4j code to help

-Mark 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to