You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Simeon Walker <si...@sbs.bangor.ac.uk> on 2001/07/19 11:42:47 UTC

[C2] Can't get recent or latest 2.0 branch to run

Hi,
   for a couple of days now I have been unable to get the latest
2.0 branch to run. I checked it out with:

cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r
cocoon_20_branch xml-cocoon2

and built with:

sh ./build.sh clean -Dinclude.webapp.libs=yes webapp-local docs javadocs

The cocoon.xconf, sitemap.xmap and web.xml files are standard. I have
only added the
Oracle jar to the lib directory. I am using tomcat 4.0b3 and jsdk1.3
under Debian unstable.
When I start tomcat and try to access Cocoon I get the following error
in the browser window:

A Servlet Exception Has Occurred
Exception Report:

javax.servlet.ServletException: Servlet execution threw an exception
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:271)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:255)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:225)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:162)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:827)
	at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
	at java.lang.Thread.run(Thread.java:484)

Root Cause:

java.lang.NoSuchMethodError
	at org.apache.cocoon.Cocoon.debug(Cocoon.java:384)
	at org.apache.cocoon.Cocoon.process(Cocoon.java:422)
	at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:507)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
	at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
	at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:255)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:225)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
	at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:162)
	at
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
	at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
	at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
	at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:827)

The  /build/cocoon/webapp/WEB-INF/logs/cocoon.log file is compressed
and attached. Any help/suggestions would be appreciated.

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/

Re: [C2] Can't get recent or latest 2.0 branch to run

Posted by Simeon Walker <si...@sbs.bangor.ac.uk>.
Hi,
   I was trying to find out the date on which the Cocoon stopped
working for me by checking out by date. The result is that after
several successful checkout/build/run cycles of code from July
10-13 I can now checkout yesterdays code (which previously did
not work for me) and it runs fine...

Sim (confused)

-- 
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


Re: [C2] Can't get recent or latest 2.0 branch to run

Posted by Berin Loritsch <bl...@apache.org>.
Berin Loritsch wrote:

> 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,

If I could type, that would read "servlet engine".


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Re: [C2] Can't get recent or latest 2.0 branch to run

Posted by Berin Loritsch <bl...@apache.org>.
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: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


RE: [C2] Can't get recent or latest 2.0 branch to run

Posted by Vadim Gritsenko <vg...@hns.com>.
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


Re: [C2] Can't get recent or latest 2.0 branch to run

Posted by Simeon Walker <si...@sbs.bangor.ac.uk>.
> 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


RE: [C2] Can't get recent or latest 2.0 branch to run

Posted by Vadim Gritsenko <vg...@hns.com>.
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

> -----Original Message-----
> From: sim@vogon.bangor.ac.uk [mailto:sim@vogon.bangor.ac.uk]On Behalf Of Simeon Walker
> Sent: Thursday, July 19, 2001 5:43 AM
> To: cocoon-dev@xml.apache.org
> Subject: [C2] Can't get recent or latest 2.0 branch to run
> 
> 
> Hi,
>    for a couple of days now I have been unable to get the latest
> 2.0 branch to run. I checked it out with:
> 
> cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r
> cocoon_20_branch xml-cocoon2
> 
> and built with:
> 
> sh ./build.sh clean -Dinclude.webapp.libs=yes webapp-local docs javadocs
> 
> The cocoon.xconf, sitemap.xmap and web.xml files are standard. I have
> only added the
> Oracle jar to the lib directory. I am using tomcat 4.0b3 and jsdk1.3
> under Debian unstable.
> When I start tomcat and try to access Cocoon I get the following error
> in the browser window:
> 
> A Servlet Exception Has Occurred
> Exception Report:
> 
> javax.servlet.ServletException: Servlet execution threw an exception
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:271)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:255)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:225)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:162)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:827)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:904)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Root Cause:
> 
> java.lang.NoSuchMethodError
> 	at org.apache.cocoon.Cocoon.debug(Cocoon.java:384)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:422)
> 	at
> org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:507)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
> 	at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:255)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:225)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2175)
> 	at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:162)
> 	at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
> 	at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:827)
> 
> The  /build/cocoon/webapp/WEB-INF/logs/cocoon.log file is compressed
> and attached. Any help/suggestions would be appreciated.
> 
> 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


Re: [C2] Can't get recent or latest 2.0 branch to run

Posted by Simeon Walker <si...@sbs.bangor.ac.uk>.
Kevin O'Neill wrote:
> 
> There seem to be a number of problems with code in the debug method. I
> have
> similar problem when I try to run it under jboss 2.2.2.
> 
> The cheesy solution ... set the logging level to INFO or lower in the
> web.xml file.
> 
> k.
> 
Thanks for the suggestion but it doesn't work for me :-(
Another thing I've noticed is that no org/apache/cocoon...
tree gets created in the work dir, so the servlet is not
getting very far.

Sim

-- 
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


RE: [C2] Can't get recent or latest 2.0 branch to run

Posted by Kevin O'Neill <ke...@rocketred.com.au>.
There seem to be a number of problems with code in the debug method. I
have
similar problem when I try to run it under jboss 2.2.2.

The cheesy solution ... set the logging level to INFO or lower in the
web.xml file.

k.

> -----Original Message-----
> From: sim@vogon.bangor.ac.uk [mailto:sim@vogon.bangor.ac.uk] On Behalf
Of
> Simeon Walker
> Sent: Thursday, 19 July 2001 7:43 PM
> To: cocoon-dev@xml.apache.org
> Subject: [C2] Can't get recent or latest 2.0 branch to run
> 
> Hi,
>    for a couple of days now I have been unable to get the latest
> 2.0 branch to run. I checked it out with:
> 
> cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic co -r
> cocoon_20_branch xml-cocoon2
> 
> and built with:
> 
> sh ./build.sh clean -Dinclude.webapp.libs=yes webapp-local docs
javadocs
> 
> The cocoon.xconf, sitemap.xmap and web.xml files are standard. I have
> only added the
> Oracle jar to the lib directory. I am using tomcat 4.0b3 and jsdk1.3
> under Debian unstable.
> When I start tomcat and try to access Cocoon I get the following error
> in the browser window:
> 
> A Servlet Exception Has Occurred
> Exception Report:
> 
> javax.servlet.ServletException: Servlet execution threw an exception
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
ti
> onFilterChain.java:271)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
er
> Chain.java:191)
> 	at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
> java:255)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
> java:225)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:217
5)
> 	at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:1
> 64)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446
)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :564)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
> va:162)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
av
> a:827)
> 	at
>
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:
90
> 4)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> Root Cause:
> 
> java.lang.NoSuchMethodError
> 	at org.apache.cocoon.Cocoon.debug(Cocoon.java:384)
> 	at org.apache.cocoon.Cocoon.process(Cocoon.java:422)
> 	at
>
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:507)
> 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
ti
> onFilterChain.java:246)
> 	at
>
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
er
> Chain.java:191)
> 	at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
> java:255)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
> java:225)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:217
5)
> 	at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:1
> 64)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:446
)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :564)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
> va:162)
> 	at
>
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.ja
va
> :566)
> 	at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
72)
> 	at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:879)
> 	at
>
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.j
av
> a:827)
> 
> The  /build/cocoon/webapp/WEB-INF/logs/cocoon.log file is compressed
> and attached. Any help/suggestions would be appreciated.
> 
> 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