cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian van den Dries>
Subject Re: IllegalAccessError on first use
Date Sat, 06 Oct 2001 12:35:11 GMT
Wrote Adrian van den Dries, on October  6, around  2:13am +1000:

I've tried various other approaches, and I am unable to reproduce the

> ERROR   (2001-10-06) 01:44.34:469   [cocoon  ] (/cocoon/)
> HttpProcessor[8081][1]/Handler: Error compiling sitemap
> java.lang.IllegalAccessError: try to access class
> org.apache.cocoon.www.sitemap_xmap$Configurer from class
> org.apache.cocoon.www.sitemap_xmap
>         at org.apache.cocoon.www.sitemap_xmap.configure(
>         [snip unformattable traceback]

Instead, now, when first requesting /cocoon/, I get this:

ERROR   (2001-10-06) 22:27.22:161   [cocoon  ] (/cocoon/)
HttpProcessor[8080][1]/Handler: Error compiling sitemap
java.lang.InternalError: Can't connect to X11 window server using ':0.0'
as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
        at sun.awt.motif.MToolkit.<clinit>(
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(
        at java.awt.Toolkit$
        at Method)
        at java.awt.Toolkit.getDefaultToolkit(
        at java.awt.SystemColor.updateSystemColors(
        at java.awt.SystemColor.<clinit>(
        at org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(
        [ nauseum]

which is very odd.  Why should a server process assume there is an X
server running?

Subsequence requests to /cocoon/ instead produce the more soluble:

ERROR   (2001-10-06) 22:28.41:980   [cocoon  ] (/cocoon/)
HttpProcessor[8080][1]/Handler: Error compiling sitemap
        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(
        at org.apache.cocoon.xml.dom.SVGBuilder.<init>(

which I presume to be because the first request failed.

Using tomcat 4.0 and Cocoon 2.0r1a, j2sdk 1.4.0 on Linux 2.2.14 (RH6.2)



Cantanker /

Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message