Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 12535 invoked from network); 17 Mar 2000 16:42:34 -0000 Received: from pop.systemy.it (194.20.140.28) by locus.apache.org with SMTP; 17 Mar 2000 16:42:34 -0000 Received: from apache.org (pv14-pri.systemy.it [194.21.255.14]) by pop.systemy.it (8.8.8/8.8.3) with ESMTP id RAA17286 for ; Fri, 17 Mar 2000 17:42:30 +0100 Message-ID: <38D235DA.B939E27@apache.org> Date: Fri, 17 Mar 2000 14:40:42 +0100 From: Stefano Mazzocchi Organization: Apache Software Foundation X-Mailer: Mozilla 4.72 [en] (Win98; I) X-Accept-Language: it,en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Xerces Version References: <43EB41D0BCEDD2118C310020AFFC1669D34B50@es160298.ws.ru.de.eds.com> <38D0EECF.EFD4A96@apache.org> <38D212EF.85A7FD3A@localbar.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Niclas Hedhman wrote: > > Stefano Mazzocchi wrote: > > > 1.7.1 will be released as soon as I find out how to fix the classloading > > problems for tomcat and for jserv servlet zones. (read: remove the need > > for cocoon.jar to reside in the classpath). > > You want an answer right away?? > > I think you can do it by using the context class loader instead of > Class.forName(). > Such as; > > ClassLoader cl = Thread.currentThread().getContextClassLoader(); > Class cls = cl.loadClass( name ); > Object obj = cls.newInstance(); On second thought, this is JDK 1.2 so can't use it for Cocoon 1.x But it's a good suggestion anyway... we'll use it for Cocoon2 that will be JDK 1.2 based. -- Stefano Mazzocchi One must still have chaos in oneself to be able to give birth to a dancing star. Friedrich Nietzsche -------------------------------------------------------------------- Missed us in Orlando? Make it up with ApacheCON Europe in London! ------------------------- http://ApacheCon.Com ---------------------