cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Georg Von Sperling" <...@medaptus.com>
Subject RE: Install problems with Cocoon2
Date Wed, 27 Feb 2002 14:57:06 GMT
Cathie.. 
 
Try moving the %TOMCAT_HOME%/webapps/cocoon/WEB-INF/lib/batik**.jar
 
to 
 
%TOMCAT_HOME%/common/lib/  directory.
 
(this assumes that you are using Tomcat 4.0.1. )
 
Georg.
 

	-----Original Message----- 
	From: Cathie Hagen [mailto:chagen@zaptechnology.com] 
	Sent: Wed 2/27/2002 12:54 AM 
	To: 'cocoon-users@xml.apache.org' 
	Cc: 
	Subject: Install problems with Cocoon2
	
	

	I am trying to run Cocoon 2.0.1 on Tomcat 4.0 on Windows 2000. 

	I have installed and can run Tomcat fine.  I am getting the following error when starting
Cocoon: 
	The sitemap handler's sitemap is not available. Please check logs for the exact error. 

	The following comes from my log file: 
	DEBUG   (2002-02-27) 15:22.31:570   [sitemap.serializer.fo2pcl] (/cocoon/) HttpProcessor[8080][4]/FOPSerializer:
FOPSerializer mime-type:application/vnd.hp-PCL

	DEBUG   (2002-02-27) 15:22.31:580   [sitemap.serializer.fo2pcl] (/cocoon/) HttpProcessor[8080][4]/FOPSerializer:
Using default config file

	DEBUG   (2002-02-27) 15:22.31:580   [sitemap.serializer.fo2pcl] (/cocoon/) HttpProcessor[8080][4]/FOPSerializer:
FOPSerializer mime-type:application/vnd.hp-PCL

	ERROR   (2002-02-27) 15:22.34:665   [sitemap] (/cocoon/) HttpProcessor[8080][4]/Handler:
Error compiling sitemap 
	java.lang.NoClassDefFoundError: org/w3c/dom/svg/SVGPaint 
	        at java.lang.ClassLoader.defineClass0(Native Method) 
	        at java.lang.ClassLoader.defineClass(ClassLoader.java:509) 
	        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) 
	        at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1631)

	        at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:926)

	        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1360)

	        at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1243)

	        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) 
	        at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(Unknown Source) 
	        at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(Unknown Source) 
	        at org.apache.batik.dom.svg.SVGDOMImplementation.<init>(Unknown Source) 
	        at org.apache.batik.dom.svg.SVGDOMImplementation.<clinit>(Unknown Source) 
	        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(Unknown Source) 
	        at org.apache.cocoon.xml.dom.SVGBuilder.<init>(SVGBuilder.java:44) 
	        at org.apache.cocoon.serialization.SVGSerializer.<init>(SVGSerializer.java:53)

	        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
	        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)

	        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)

	        at java.lang.reflect.Constructor.newInstance(Constructor.java:274) 
	        at java.lang.Class.newInstance0(Class.java:296) 
	        at java.lang.Class.newInstance(Class.java:249) 
	        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:98)

	        at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(AbstractPool.java:82)

	        at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(AbstractPool.java:126)

	        at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(SoftResourceLimitingPool.java:91)

	        at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(SoftResourceLimitingPool.java:80)

	        at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(PoolableComponentHandler.java:88)

	        at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(ExcaliburComponentSelector.java:467)

	        at org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:94)

	        at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:233)

	        at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:1015)

	        at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:390) 
	        at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(DefaultComponentFactory.java:172)

	        at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.initialize(ThreadSafeComponentHandler.java:84)

	        at org.apache.cocoon.components.language.generator.GeneratorSelector.addGenerator(GeneratorSelector.java:135)

	        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.addCompiledComponent(ProgramGeneratorImpl.java:356)

	        at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:187)

	        at org.apache.cocoon.sitemap.Handler.run(Handler.java:228) 
	        at java.lang.Thread.run(Thread.java:536) 

	How do I fix the SVG problem? 


	Regards, 

	Cathie Hagen 
	Software Developer 
	ZAPTECH 
	Better Business Information Mean Better Business 
	www.zaptechnology.com <http://www.zaptechnology.com <http://www.zaptechnology.com>
> 
	Phone:  +61 7 3211 8450 
	Fax:    +61 7 3211 8451 
	"This email and any files attached are confidential and intended solely for the use of the
individual or entity to whom they are addressed. If you are not the intended recipient you
are hereby notified that any use, printing, copying or disclosure is strictly prohibited:
please notify the sender immediately by reply e-mail, or call (07) 3211 8450, and then delete
the e-mail.

	The views and opinions expressed in this e-mail are those of the sender and do not necessarily
reflect the views of the organisation for whom they are employed, except where the sender
expressly and with authority states them to be so. Responsibility for virus checking rests
entirely with the recipient."

Mime
View raw message