hi,
i'm still trying to get cocoon 2 running with VAJ 4.0 and (now) the tomcat
test environment, which is for tomcat 3.2.3
the initialization of cocoon seems to be fine. when i request the cocoon
examples the sitemap_xmap.java and .class are generated and i get the well known
internal server error "The sitemap handler's sitemap is not available"
what i figured out is that avalon tries to find a component
org.apache.generation.GeneratorSelector which ends in a ClassNotFoundException. i did 
not
find any org.apache.generation.GeneratorSelector class, or what is this? any
ideas how to make this work? why does it say error compiling sitemap? the
sitemap is already compiled and cocoon already created an instance of
sitemap_xmap.. is this a VisualAge only problem?

this is the end of the cocoon.log file. i put some comments about the values
that where passed to the methods:

Error compiling sitemap
java.lang.InternalError: (Ex02) An error has occurred.
        java.lang.Throwable(java.lang.String)
        java.lang.Error(java.lang.String)
        java.lang.VirtualMachineError(java.lang.String)
        java.lang.InternalError(java.lang.String)
        java.lang.Class java.lang.ClassLoader.findLoadedClass(java.lang.String)
        java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
[the string value for loadClass is null]
        java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
[the string value for lookup is
"org.apache.cocoon.generation.GeneratorSelector":]
        org.apache.avalon.framework.component.Component

org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(java.lang.String)
        org.apache.avalon.framework.component.Component
org.apache.avalon.excalibur.component.ExcaliburComponentManager.lookup(java.lang.String)
[this is a method call in the instance of sitemap_xmap:]
        void
org.apache.cocoon.sitemap.AbstractSitemap.compose(org.apache.avalon.framework.component.ComponentManager)
        java.lang.Object
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance()
        void
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize()
        void
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(org.apache.avalon.framework.component.ComponentManager,
java.lang.Object, java.lang.Class)
        void
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(org.apache.avalon.framework.component.ComponentManager,
java.lang.String, java.lang.Class)
        java.lang.Class
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.generateResource(org.apache.avalon.framework.component.ComponentManager,
 java.lang.String, java.lang.String,
org.apache.cocoon.components.language.markup.MarkupLanguage,
org.apache.cocoon.components.language.programming.ProgrammingLanguage, 
org.apache.cocoon.environment.SourceResolver)
        org.apache.cocoon.components.language.generator.CompiledComponent
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(org.apache.avalon.framework.component.ComponentManager,
 java.lang.String,
java.lang.String, java.lang.String, java.lang.String,
org.apache.cocoon.environment.SourceResolver)
        org.apache.cocoon.components.language.generator.CompiledComponent
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(org.apache.avalon.framework.component.ComponentManager,
 java.lang.String,
java.lang.String, java.lang.String, org.apache.cocoon.environment.SourceResolver)
        void org.apache.cocoon.sitemap.Handler.run()
        void java.lang.Thread.run()

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net


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