cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simeon Walker <sim...@sbs.bangor.ac.uk>
Subject Re: [C2] Can't get recent or latest 2.0 branch to run
Date Thu, 19 Jul 2001 18:25:52 GMT
> 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


Mime
View raw message