I am quite sure that I don't have any 
duplicate versions of avalon or other jars in the classpath.


If still think it is a general problem with the 
avalon/excalibur jars included in the  dist.

... Though: If others DO NOT have the problem, It
must be may local installation ...

So: Did somebody manage to start up C2beta as it comes
"out of the box" from the download directory?



> -----Ursprüngliche Nachricht-----
> Von: Fred Tsang [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 7. Juni 2001 11:42
> An: '[EMAIL PROTECTED]'
> Betreff: RE: Problem starting up new C2 beta
> 
> 
> Hi Alexander,
> take a look at the following forwarded email response from 
> Berin Loritsch at
> Apache.  If you have the same setup as me, this should do the trick:
> 
> ==========================================
> Fred Tsang wrote:
> > 
> > Sorry,
> > 
> > My environment is:
> > 
> > Tomcat 3.2.1
> > JDK 1.3.1
> > Solaris 8
> > 
> > I've placed all the jar files from WEB-INF/lib into my 
> $TOMCAT_HOME/lib
> > folder, and removed any duplicates from previous versions.  I'll try
> > removing the avalon jars from the lib folder, but I'm a 
> little skeptical.
> > If cocoon can't find the classes, how will it operate?
> > 
> > thanks for the tip!
> 
> 
> That was your whole problem!  Cocoon 2 is designed to work 
> like servlets are
> supposed to work: plug and play.
> 
> COCOON 1 TO COCOON 2 MIGRATION
> 
> Cocoon 1 forces you to place all the jars in the Tomcat lib 
> directory, this
> was unnavoidable at the time but it was because of XSP 
> compilation.  Cocoon
> 2
> discovered how to be able to compile XSP without moving the 
> jars out of the
> servlet context lib directory.
> 
> 1) Remove all unnecessary/conflicting jars from $TOMCATH_HOME/lib
> 2) Replace $TOMCAT_HOME/lib/{xerces/parser jar} with the version of
>    Xerces that comes with Cocoon 2.
> 3) LEAVE ALL COCOON 2 JARS IN ${context}/WEB-INF/lib
> 
> > 
> > cheers,
> > Fred
> 
> -----Original Message-----
> From: Alexander Weinmann [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 07, 2001 9:06 AM
> To: Cocoon-Users (E-Mail)
> Subject: Problem starting up new C2 beta
> 
> 
> Hello Cocooners!
> 
> I am getting back an old problem when starting up the new C2 beta
> distribution:
> Package Naming problems in Avalon:
> 
> In the log I have:
> 
> ERROR   1201    [cocoon  ] (Thread-24): Error compiling sitemap
> java.lang.NoClassDefFoundError: 
> org/apache/avalon/logger/AbstractLoggable
>       at java.lang.Class.newInstance0(Native Method)
>       at java.lang.Class.newInstance(Class.java:237)
>       at
> org.apache.avalon.excalibur.component.DefaultComponentFactory.
> newInstance(De
> faultComponentFactory.java:83)
>       at
> org.apache.avalon.excalibur.component.ThreadSafeComponentHandl
> er.initialize(
> ThreadSafeComponentHandler.java:78)
>       at
> org.apache.avalon.excalibur.component.DefaultComponentSelector
> .addComponent(
> DefaultComponentSelector.java:306)
>       at
> org.apache.cocoon.components.language.generator.GeneratorSelec
> tor.addGenerat
> or(GeneratorSelector.java:75)
>       at
> org.apache.cocoon.components.language.generator.GeneratorSelec
> tor.addGenerat
> or(GeneratorSelector.java:71)
>       at
> org.apache.cocoon.components.language.generator.GeneratorSelec
> tor.select(Gen
> eratorSelector.java:57)
>       at
> org.apache.cocoon.components.language.generator.ProgramGenerat
> orImpl.select(
> ProgramGeneratorImpl.java:261)
>       at
> org.apache.cocoon.components.language.generator.ProgramGenerat
> orImpl.load(Pr
> ogramGeneratorImpl.java:145)
>       at org.apache.cocoon.sitemap.Handler.run(Handler.java:224)
>       at java.lang.Thread.run(Thread.java:484)
> 
> 
> I am quite sure that the class name should be
> "org/apache/avalon/framework/logger/AbstractLoggable"
> Is it sure that the Avalon and Excalibur jars included in the 
> dist work well
> together?
> 
> 
> 
> 
> 
> 
> abaXX 
> TECHNOLOGY AG
> Alexander Weinmann
> Development Engineer Training
> 
> [Address] Forststrasse 7, 
> 70174 Stuttgart, 
> Germany
> [Phone] +49-(711)-61-41-6 - 1541
> [Fax] +49-(711)-61-41-6 - 1111
> [E-mail] <<mailto:[EMAIL PROTECTED]>>
> [Internet] http://www.abaXX.com <http://www.abaxx.com/>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.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/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to