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 [EMAIL PROTECTED] 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 [ [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]