ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 26625] - Class loader confliction between Ant and IBM websphere.
Date Tue, 03 Feb 2004 19:27:58 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26625>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26625

Class loader confliction between Ant and IBM websphere.





------- Additional Comments From burcin.ekener@mscsoftware.com  2004-02-03 19:27 -------
1. What task are you running?
Our application is parsing the XML file the line of code shown below:

ProjectHelper ph = new ProjectHelperImpl();
ph.parse(project, antBuildFile);

The XML file being parsed contains various tasks and we believe the <taskdef> 
task is the one that is causing the problem.

We think that the problem is that Ant class loader is conflicting with the 
WebSphere's class loader:

log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [
com.ibm.ws.classloader.CompoundClassLoader@4e41f3e4  

2. How is Ant being run - command line, IDE
IDE - we are utilizing the Apache ant apis as shown in the answer above. 

3. The error message you show does not look like and Ant reported error - where
is it coming from?

We are also using the log4j as our logging mechanism and we are loading the 
log4j.properties file from our application as shown below:

DOMConfigurator.configureAndWatch(path, 25000);

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message