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 61778 invoked from network); 22 Feb 2001 13:37:34 -0000 Received: from fw.infoplanning.net (HELO infoplanning.com) (@209.8.58.131) by h31.sny.collab.net with SMTP; 22 Feb 2001 13:37:34 -0000 Received: (qmail 21179 invoked from network); 22 Feb 2001 13:40:05 -0000 Received: from unknown (HELO apache.org) (192.168.0.189) by inet with SMTP; 22 Feb 2001 13:40:05 -0000 Message-ID: <3A951560.1A802D13@apache.org> Date: Thu, 22 Feb 2001 08:34:24 -0500 From: Berin Loritsch X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: Latest CocoonServlet and ParanoidServlet changes problem References: <3A951486.1000709@promca.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Robert Marcano wrote: > > The latest changes in this classes defines the method "getClassPath" as > private, so the overriden in ParanoidServlet is never called > > See attached diff.txt Thanks alot. The patch is committed. > > ------------------------------------------------------------------------------------------------------------------------------------ > Index: ParanoidCocoonServlet.java > =================================================================== > RCS file: /home/cvspublic/xml-cocoon/src/org/apache/cocoon/servlet/Attic/ParanoidCocoonServlet.java,v > retrieving revision 1.1.2.3 > diff -u -r1.1.2.3 ParanoidCocoonServlet.java > --- ParanoidCocoonServlet.java 2001/02/21 15:08:47 1.1.2.3 > +++ ParanoidCocoonServlet.java 2001/02/22 13:19:51 > @@ -53,7 +53,7 @@ > * > * @throws ServletException > */ > - private String getClassPath(final ServletContext context) > + protected String getClassPath(final ServletContext context) > throws ServletException { > RepositoryClassLoader classloader = new RepositoryClassLoader(new URL[] {}, (ClassLoader) this.appContext.get(Constants.CONTEXT_CLASS_LOADER)); > StringBuffer buildClassPath = new StringBuffer(); > Index: CocoonServlet.java > =================================================================== > RCS file: /home/cvspublic/xml-cocoon/src/org/apache/cocoon/servlet/Attic/CocoonServlet.java,v > retrieving revision 1.1.4.63 > diff -u -r1.1.4.63 CocoonServlet.java > --- CocoonServlet.java 2001/02/21 15:53:37 1.1.4.63 > +++ CocoonServlet.java 2001/02/22 13:19:53 > @@ -133,7 +133,7 @@ > * > * @throws ServletException > */ > - private String getClassPath(final ServletContext context) > + protected String getClassPath(final ServletContext context) > throws ServletException { > StringBuffer buildClassPath = new StringBuffer(); > String classDir = context.getRealPath("/WEB-INF/classes"); > > ------------------------------------------------------------------------------------------------------------------------------------ > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org