cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Guttmann <guttm...@ms.com>
Subject Problem during sitemap compilation
Date Thu, 08 Nov 2001 20:28:55 GMT
Hi,

just trying to install cocoon 2.0rc2 on Solaris 2.8, jdk 1.3.1 running
tomcat 4.0.1.

When accessing the cocoon web app for the first time, I get the
following error:

   The sitemap handler's sitemap is not available

Looking in the cocoon.log file in WEB-INF/logs, I see the following
stack trace.

 Error compiling sitemap
java.lang.UnsatisfiedLinkError: exception occurred in JNI_OnLoad
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1298)
	at java.lang.Runtime.loadLibrary0(Runtime.java:749)
	at java.lang.System.loadLibrary(System.java:820)
	at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:53)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.Toolkit.loadLibraries(Toolkit.java:1070)
	at java.awt.Toolkit.<clinit>(Toolkit.java:1091)
	at java.awt.Color.<clinit>(Color.java:188)
	at org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(DefaultSystemColorResolver.java:27)
	at org.apache.batik.css.value.ColorFactory.<init>(ColorFactory.java:75)
	at org.apache.batik.css.value.CommonValueFactoryMap.<init>(CommonValueFactoryMap.java:39)
	at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(SVGValueFactoryMap.java:39)
	at org.apache.batik.css.svg.SVGValueFactoryMap.<init>(SVGValueFactoryMap.java:32)
	at org.apache.batik.dom.svg.SVGDOMImplementation.<init>(SVGDOMImplementation.java:79)
	at org.apache.batik.dom.svg.SVGDOMImplementation.<clinit>(SVGDOMImplementation.java:59)
	at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(SAXSVGDocumentFactory.java:59)
	at org.apache.cocoon.xml.dom.SVGBuilder.<init>(SVGBuilder.java:44)
	at org.apache.cocoon.serialization.SVGSerializer.<init>(SVGSerializer.java:53)
	at java.lang.Class.newInstance0(Native Method)
	at java.lang.Class.newInstance(Class.java:237)
	at org.apache.avalon.excalibur.component.DefaultComponentFactory.newInstance(Unknown Source)
	at org.apache.avalon.excalibur.pool.AbstractPool.newPoolable(Unknown Source)
	at org.apache.avalon.excalibur.pool.AbstractPool.internalGrow(Unknown Source)
	at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.grow(Unknown Source)
	at org.apache.avalon.excalibur.pool.SoftResourceLimitingPool.initialize(Unknown Source)
	at org.apache.avalon.excalibur.component.PoolableComponentHandler.initialize(Unknown Source)
	at org.apache.avalon.excalibur.component.ExcaliburComponentSelector.addComponent(Unknown
Source)
	at org.apache.cocoon.sitemap.SitemapComponentSelector.addSitemapComponent(SitemapComponentSelector.java:91)
	at org.apache.cocoon.sitemap.AbstractSitemap.load_component(AbstractSitemap.java:231)
	at org.apache.cocoon.www.sitemap_xmap$Configurer.configSerializers(sitemap_xmap.java:941)
	at org.apache.cocoon.www.sitemap_xmap.configure(sitemap_xmap.java:356)
	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.generateResource(ProgramGeneratorImpl.java:323)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.createResource(ProgramGeneratorImpl.java:271)
	at org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:188)
	at org.apache.cocoon.sitemap.Handler.run(Handler.java:208)
	at java.lang.Thread.run(Thread.java:484)

Is this - as described in the FAQ - indicating that it cannot find an
Xserver ? Can somebody explain to me what native library Cocoon/Batik
tries to load at this very moment ?

Thanks
Werner

---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message