You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Albertsen, Juergen" <J....@argo-tec.de> on 2002/06/19 12:08:35 UTC

Problems installing Cocoon 2.1-dev: NoSuchMethodError

Hi,

I'm running Cocoon under Resin 2.1.1. Under Windows 2000 everything works
perfectly, but under FreeBSD I get the follwoing stack trace when starting
up Cocoon:

java.lang.NoSuchMethodError:
org.apache.avalon.excalibur.component.ComponentHandler:
method initialize()V not found
	at
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initialize(E
xcaliburComponentManager.java:152)
	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269)
	at
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:1237
)
	at
org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
	at
com.caucho.server.http.Application.createServlet(Application.java:2868)
	at
com.caucho.server.http.Application.loadServlet(Application.java:2827)
	at
com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:428)
	at
com.caucho.server.http.Application.getFilterChainServlet(Application.java:25
86)
	at
com.caucho.server.http.Application.buildFilterChain(Application.java:2542)
	at com.caucho.server.http.Invocation.service(Invocation.java:309)
	at
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
	at
com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:218)
	at
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:160)
	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
	at java.lang.Thread.run(Thread.java:484)

I checked my classpath to ensure that there are no conflicting versions of
Avalon Excalibur. I attached the core.log, but when looking at it I cannot
see anything unusual. In the end I kind of doubt that it is a Windows/UNIX
problem and I rather believe that I screwed something up on my FreeSDB box.
Any idea?

Thanks in advance,

Jürgen 


RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Albertsen, Juergen [mailto:J.Albertsen@argo-tec.de]
> 
> Hi,
> 
> I'm running Cocoon under Resin 2.1.1. Under Windows 2000 everything
works
> perfectly, but under FreeBSD I get the follwoing stack trace when
starting
> up Cocoon:
> 
> java.lang.NoSuchMethodError:
> org.apache.avalon.excalibur.component.ComponentHandler:
> method initialize()V not found

Stuart reported today problem with similar description
(http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9701). Why don't you
two team up (as owners of FreeBSD systems) to solve this?

PS Stuart's report suggests that switching to older version of exclaibur
or Avalon jar may solve the problem

Vadim



> 	at
>
org.apache.avalon.excalibur.component.ExcaliburComponentManager.initiali
ze(E
> xcaliburComponentManager.java:152)
> 	at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269)
> 	at
>
org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonServlet.java:
1237
> )
> 	at
> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
> 	at
>
com.caucho.server.http.Application.createServlet(Application.java:2868)
> 	at
> com.caucho.server.http.Application.loadServlet(Application.java:2827)
> 	at
>
com.caucho.server.http.QServletConfig.loadServlet(QServletConfig.java:42
8)
> 	at
>
com.caucho.server.http.Application.getFilterChainServlet(Application.jav
a:25
> 86)
> 	at
>
com.caucho.server.http.Application.buildFilterChain(Application.java:254
2)
> 	at
com.caucho.server.http.Invocation.service(Invocation.java:309)
> 	at
>
com.caucho.server.http.CacheInvocation.service(CacheInvocation.java:135)
> 	at
> com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:218)
> 	at
>
com.caucho.server.http.HttpRequest.handleConnection(HttpRequest.java:160
)
> 	at com.caucho.server.TcpConnection.run(TcpConnection.java:137)
> 	at java.lang.Thread.run(Thread.java:484)
> 
> I checked my classpath to ensure that there are no conflicting
versions of
> Avalon Excalibur. I attached the core.log, but when looking at it I
cannot
> see anything unusual. In the end I kind of doubt that it is a
Windows/UNIX
> problem and I rather believe that I screwed something up on my FreeSDB
box.
> Any idea?
> 
> Thanks in advance,
> 
> Jürgen



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>