cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Weiss" <ewe...@llnl.gov>
Subject Install problems: SAXSVGDocumentFactory
Date Fri, 11 Apr 2003 22:10:20 GMT
Windows XP
Oracle's OC4J App Server (formally Orion)
JDK 1.4.1_01
Cocoon 2.0.4 binary distribution

Hi,
I am trying to install Cocoon 2.0.4 on my windows box but I keep getting:
org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError:
org/apache/batik/dom/svg/SAXSVGDocumentFactory

I have followed the install instructions, read the faqs and googled but I can't find any way
around this.  I have noticed that when I put the "Endorsed" files in my JRE/lib folder, I
get this error.
What am I doing wrong?
Following is the entire error.

Thx,
Eric

==========================================
type: fatal

message: Error compiling sitemap

description: org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError:
org/apache/batik/dom/svg/SAXSVGDocumentFactory

sender: org.apache.cocoon.servlet.CocoonServlet

source: Cocoon servlet

stack-trace:

org.apache.cocoon.ProcessingException: Error compiling sitemap: java.lang.NoClassDefFoundError:
org/apache/batik/dom/svg/SAXSVGDocumentFactory
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:292)
	at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SAXSVGDocumentFactory
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1102)
	at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1102)
	at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:88)
	at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:263)
	at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(C:\apps\oracle\oc4j903\j2ee\home\application-deployments\default\cocoon\temp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1131)
	at org.apache.cocoon.www.sitemap_xmap.configure(C:\apps\oracle\oc4j903\j2ee\home\application-deployments\default\cocoon\temp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:458)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
	at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
	... 1 more
java.lang.NoClassDefFoundError: org/apache/batik/dom/svg/SAXSVGDocumentFactory
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1102)
	at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
	at java.lang.ClassLoader.defineClass0(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
	at com.evermind.naming.ContextClassLoader.defineClass(ContextClassLoader.java:1102)
	at com.evermind.naming.ContextClassLoader.findClass(ContextClassLoader.java:365)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
	at com.evermind.naming.ContextClassLoader.loadClass(ContextClassLoader.java:135)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
	at org.apache.cocoon.util.ClassUtils.loadClass(ClassUtils.java:88)
	at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:263)
	at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(C:\apps\oracle\oc4j903\j2ee\home\application-deployments\default\cocoon\temp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:1131)
	at org.apache.cocoon.www.sitemap_xmap.configure(C:\apps\oracle\oc4j903\j2ee\home\application-deployments\default\cocoon\temp\cocoon-files\org/apache/cocoon/www\sitemap_xmap.java:458)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:264)
	at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:98)
	at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:187)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:357)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:312)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:267)
	at java.lang.Thread.run(Thread.java:536)
========================================
Mime
View raw message