cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yuri Gadow <yuri.ga...@ieee.org>
Subject Problem installing under JBoss + Tomcat (NoClassDefFoundError: Generator)
Date Thu, 06 Dec 2001 13:27:35 GMT
Looking for pointers on tracking down the following problem:

On trying to access any URL after cocoon/ (whether it be cocoon/blah or 
a legitimate, sitemap matched URL), I'm getting the ubiquitous
"org.apache.cocoon.ProcessingException: The sitemap handler's sitemap is
not available." with the exception java.lang.NoClassDefFoundError:
org/apache/cocoon/generation/Generator showing up in cocoon's log.

I'm a little confused here, as that interface is both available on the
classpath and is being reported as having been successfully loaded by
the (or I should say, a) class loader.

I am using Cocoon 2.0 under the integrated JBoss + Tomcat (2.4.3/3.2.3)

Full (partially mail-mangled) stack trace follows:

ERROR   (2001-12-05) 16:35.57:530   [cocoon  ]
(/cocoon/execute-service/) Thread-20/Handler: Error compiling sitemap
java.lang.NoClassDefFoundError: org/apache/cocoon/generation/Generator
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at javax.management.loading.MLet.findClass(MLet.java:775)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(AdaptiveClassLoader.java:446)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:290)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
        at
org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:46)
        at
org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:219)
        at
org.apache.cocoon.www.sitemap_xmap$Configurer.configGenerators(sitemap_xmap.java:182)
        at
org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:134)
        at
org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source)
        at
org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(Unknown Source)
        at
org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:135)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:345)
        at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:179)
        at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
        at java.lang.Thread.run(Thread.java:484)




Mime
View raw message