Jürgen,

Congratulations on building Avalon!

Your experience seems to confirm that Avalon is the heart of the 
matter.  One test I carried out when I was having problems was to unpack 
the avalon JAR files and put the classes directly into the WEB-
INF/classes directory on the off-chance that the problem was something 
to do with how the JAR was put together.  This didn't help.  So it looks 
like it is something in the compilation of the classes.

How about unpacking your working Avalon JAR files and doing the same 
with the 'faulty' ones and doing a directory diff on the two directory 
hierarchies to see what's changed?

Stuart.

On Friday, June 21, 2002, at 07:19 am, Albertsen, Juergen wrote:

> Hi everbody,
>
> yesterday evening I spent some time reubuilding the whole Avalon 
> framework.
> Because the access to my FreeBSD box is fairly slow I did it on a Linux 
> box,
> but because of "Write Once, Run Anywhere" this shouldn't be a 
> difference,
> no? ;-) However, after uploading the updated JARs to my FreeBSD machine
> everything is working perfectly! I have no explanation for this 
> phenomenon,
> but I would be very interested in learning what the hell was going on 
> here?
>
> Jürgen
>
>> -----Original Message-----
>> From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]]
>> Sent: Wednesday, June 19, 2002 2:09 PM
>> To: '[EMAIL PROTECTED]'
>> Subject: RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError
>>
>>
>> That's interesting. I could not believe that this is a FreeBSD related
>> issue. Very strange. I also thought of using a different version of
>> Excalibur but did not get around building it. I will contact
>> Stuart, but if
>> somebody comes up with a solution in the meantime I would
>> appreciate to be
>> informed.
>>
>>> -----Original Message-----
>>> From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]]
>>> Sent: Wednesday, June 19, 2002 2:17 PM
>>> To: [EMAIL PROTECTED]
>>> Subject: RE: Problems installing Cocoon 2.1-dev: NoSuchMethodError
>>>
>>>
>>>> From: Albertsen, Juergen [mailto:[EMAIL PROTECTED]]
>>>>
>>>> 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.ExcaliburComponentManage
>>> r.initiali
>>> ze(E
>>>> xcaliburComponentManager.java:152)
>>>>    at org.apache.cocoon.Cocoon.initialize(Cocoon.java:269)
>>>>    at
>>>>
>>> org.apache.cocoon.servlet.CocoonServlet.createCocoon(CocoonSer
>>> vlet.java:
>>> 1237
>>>> )
>>>>    at
>>>>
>> org.apache.cocoon.servlet.CocoonServlet.init(CocoonServlet.java:435)
>>>>    at
>>>>
>>> com.caucho.server.http.Application.createServlet(Application.j
>>> ava:2868)
>>>>    at
>>>>
>>>
>> com.caucho.server.http.Application.loadServlet(Application.java:2827)
>>>>    at
>>>>
>>> com.caucho.server.http.QServletConfig.loadServlet(QServletConf
>>> ig.java:42
>>> 8)
>>>>    at
>>>>
>>> com.caucho.server.http.Application.getFilterChainServlet(Appli
>>> cation.jav
>>> a:25
>>>> 86)
>>>>    at
>>>>
>>> com.caucho.server.http.Application.buildFilterChain(Applicatio
>>> n.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(HttpReques
>>> t.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:     <[EMAIL PROTECTED]>
>> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>>
>
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
> ---------------------------------------------------------------------
> 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:     <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
>
>

            Public Key - 1024D/88DD65AF 2001-11-23 Stuart Roebuck (Adolos)
      Key fingerprint = 89D9 E405 F8B1 9B22 0FA2  F2C1 9E57 5AB1 88DD 65AF
-------------------------------------------------------------------------
Stuart Roebuck                                  [EMAIL PROTECTED]
Systems Architect                             Java, XML, MacOS X, XP, 
etc.
ADOLOS                                           <http://www.adolos.com/>


---------------------------------------------------------------------
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:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to