cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian van den Dries ...@cantanker.net>
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:

> 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(sitemap_xmap.java:825)
>         [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>(X11GraphicsEnvironment.java:70)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:135)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:65)
        at sun.awt.motif.MToolkit.<clinit>(MToolkit.java:73)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:135)
        at java.awt.Toolkit$2.run(Toolkit.java:715)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:706)
        at java.awt.SystemColor.updateSystemColors(SystemColor.java:420)
        at java.awt.SystemColor.<clinit>(SystemColor.java:412)
        at org.apache.batik.css.value.DefaultSystemColorResolver.activeBorder(DefaultSystemColorResolver.java:27)
        [....ad 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
java.lang.NoClassDefFoundError
        at org.apache.batik.dom.svg.SAXSVGDocumentFactory.<init>(SAXSVGDocumentFactory.java:59)
        at org.apache.cocoon.xml.dom.SVGBuilder.<init>(SVGBuilder.java:44)
        [....etc]

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)

Thanks.

</az>

-- 
Cantanker /
---------/-------------
        / cantanker.net

---------------------------------------------------------------------
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