On Monday 24 June 2002 01:27 pm, Ryan Hoegg wrote: > I am using JDK 1.4.0, Tomcat 4.0.4, and Cocoon 2.0.2. I do not have X > installed, and my CATALINA_OPTS environment variable is > '-Djava.awt.headless=true'. After building from source, I get errors > trying to load the default Cocoon2 site. The stack trace shows an > attempt to load an SVGSerializer using batik. The error I get is: > > org.apache.cocoon.ProcessingException: Error compiling sitemap: > java.lang.UnsatisfiedLinkError: > /usr/local/j2sdk1.4.0/jre/lib/i386/libawt.so: libXp.so.6: cannot open > shared object file: No such file or directory > > To be sure, I created a servlet that outputs > System.getProperty("java.awt.headless"); it returns true. > > Can anyone provide any insight to this situation?
Its failing in compiling the sitemap. Perhaps the headless property is for runtime only and doesn't play well at compile-time? I have X installed on my machine so I can't verify that. My best suggestion to you is to attempt to use the interpreted sitemap rather than the compiled one and see how that goes. In WEB-INF/cocoon.xconf at the bottom of the file there are comments indicating how to switch. -pete -- peter royal -> [EMAIL PROTECTED] --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>