Simeon Walker wrote:
>>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.
>
I don't know what servlet ending you are using, but you might have to
add this to your
web.xml file:
<!--
This parameter tells cocoon to load all the required libraries into
it's own classloader instead of trusting the Servlet Vendor's
classloader. If you experience strange classloader issues,
try setting this parameter to "true".
-->
<init-param>
<param-name>init-classloader</param-name>
<param-value>true</param-value>
</init-param>
>
>
>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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]