Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 99828 invoked by uid 500); 19 Jul 2001 18:37:27 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 99817 invoked from network); 19 Jul 2001 18:37:27 -0000 From: "Vadim Gritsenko" To: Subject: RE: [C2] Can't get recent or latest 2.0 branch to run Date: Thu, 19 Jul 2001 14:36:18 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3B572630.3DF5AA03@sbs.bangor.ac.uk> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Simeon, Cocoon.java (and other files too) have line which reads * @version CVS $Revision: 1.9.2.11 $ $Date: 2001/07/17 10:10:39 $ You need revision number. Check versions of your Cocoon.java, HttpRequest.java, and also Request.java. You can browse webcvs at: http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/org/apache/cocoon/?only_with_tag=cocoon_20_branch Vadim > -----Original Message----- > From: sim@vogon.bangor.ac.uk [mailto:sim@vogon.bangor.ac.uk]On Behalf Of Simeon Walker > Sent: Thursday, July 19, 2001 2:26 PM > To: cocoon-dev@xml.apache.org > Subject: Re: [C2] Can't get recent or latest 2.0 branch to run > > > > Please check that you don't have any stale Cocoon library in > > classpath or ext dir or somewhere else. > > > > If this is not the case, please quote lines around line where exception occured from > > your Cocoon.java file. If this line have method call on request object, check > > your HttpRequest.java from cocoon\environment\http package. > > > > Vadim > > Hi, > my j2re1.3/lib/ext dir is empty, I never use it. When the Cocoon cvs > moved I deletedeverything and did a new checkout, I haven't been able to > run it since. My JAVA_HOME is /usr/lib/j2sdk1.3 and I have no CLASSPATH > or other java related variables set in my shell. > > For this part of the error message: > > java.lang.NoSuchMethodError > at org.apache.cocoon.Cocoon.debug(Cocoon.java:384) > at org.apache.cocoon.Cocoon.process(Cocoon.java:422) > > The lines from Cocoon.java are: > > 382 msg.append("PROTOCOL: > ").append(request.getProtocol()).append(lineSeparator); > 383 msg.append("SCHEME: > ").append(request.getScheme()).append(lineSeparator); > 384 msg.append("AUTH TYPE: > ").append(request.getAuthType()).append(lineSeparator).append(lineSeparator); > 385 > 386 // log all of the request parameters > 387 Enumeration e = request.getParameterNames(); > > 419 public boolean process(Environment environment) > 420 throws Exception { > 421 if (disposed) throw new IllegalStateException("You cannot process a > Disposed Cocoon engine."); > 422 this.debug(environment, null, null); > 423 return this.sitemapManager.invoke(this.componentManager, environment, > "", this.sitemapFileName, > 424 this.checkSitemapReload, this.reloadSitemapAsynchron); > 425 } > > The org/apache/cocoon/environment/http/HttpRequest.java file > does define getAuthType: > > 79 public String getAuthType() { > 80 return this.req.getAuthType(); > 81 } > > How can I checkout a particular date from cvs? Maybe I > can find out when it last worked. > > Regards, > Simeon > > -- > Simeon Walker, email: simeon@sbs.bangor.ac.uk > School of Biological Sciences, phone: +44 (0)1248 383702 > University of Wales, Bangor, fax: +44 (0)1248 382569 > Gwynedd, LL57 2UW, UK. www: http://biology.bangor.ac.uk/ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org > For additional commands, email: cocoon-dev-help@xml.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org