Return-Path: Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: (qmail 14209 invoked from network); 29 Oct 2005 12:08:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Oct 2005 12:08:22 -0000 Received: (qmail 22576 invoked by uid 500); 29 Oct 2005 12:08:16 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 22493 invoked by uid 500); 29 Oct 2005 12:08:16 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 22482 invoked by uid 500); 29 Oct 2005 12:08:15 -0000 Delivered-To: apmail-jakarta-tomcat-dev@jakarta.apache.org Received: (qmail 22479 invoked by uid 99); 29 Oct 2005 12:08:15 -0000 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 29 Oct 2005 05:08:15 -0700 Received: by ajax.apache.org (Postfix, from userid 99) id 2ADFA236; Sat, 29 Oct 2005 14:07:53 +0200 (CEST) From: bugzilla@apache.org To: tomcat-dev@jakarta.apache.org Subject: DO NOT REPLY [Bug 37302] New: - Custom context loader unable to find Tomcat jar files X-Bugzilla-Reason: AssignedTo Message-Id: <20051029120753.2ADFA236@ajax.apache.org> Date: Sat, 29 Oct 2005 14:07:53 +0200 (CEST) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=37302 Summary: Custom context loader unable to find Tomcat jar files Product: Tomcat 5 Version: 5.5.12 Platform: Other OS/Version: other Status: NEW Severity: regression Priority: P2 Component: Catalina AssignedTo: tomcat-dev@jakarta.apache.org ReportedBy: leroux_bruno@yahoo.fr I have a custom context classloader that worked with any Tomcat 4 and 5 versions, excepted 5.5.12. With Tomcat 5.5.12, my loader can't find classes from Tomcat jar files (jar files from /common/lib). The problem is that custom loader's constructor receive an instance of AppClassloader (it looks like it is the 'System' classloader). Previously loader's constructor received an instance of StandardClassloader (which should be the 'Common' classloader) I found the following change in Tomcat 5.5.12 compared to Tomcat 5.5.9 : in Tomcat 5.5.9 'addRuleInstances' method in 'ContextRuleSet' class contained the following line : digester.addRule(prefix + "Context", new CopyParentClassLoaderRule()); In Tomcat 5.5.12, this line was removed. Reintegrting this line solve my problem. Maybe this removal was done on purpose but I didn't find any explanation for it. Bruno -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org