https://bz.apache.org/ooo/show_bug.cgi?id=118118
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|CLOSED |REOPENED CC| |[email protected] Resolution|OBSOLETE |--- --- Comment #3 from [email protected] --- As per OP: "our client's server (SuSE Linux SLES 11)" A server probably has no X11 installed. Look at this comment in main/jvmfwk/java/jreproperties/src/main/java/JREProperties.java: ---snip--- //We need to be able to switch this part off because //it causes an exception if the DISPLAY variable has //a false value. Setting the noaccessibility argument //can be done by providing a sunjavaplugin.ini with //the bootstrap parameter JFW_PLUGIN_NO_NOT_CHECK_ACCESSIBILITY //set to "1" if (bNoAccess == false && ! bW98) { try{ //This line is needed to get the accessibility properties Toolkit tk = java.awt.Toolkit.getDefaultToolkit(); } catch(Throwable e) { System.err.println(e); } } ---snip--- The DISPLAY environment won't ever be "false", but it might be unset in a command line or when there is no X11, so that's probably why java.awt.Toolkit.getDefaultToolkit() hangs with 100% CPU usage. Oh and main/jvmfwk/java/jreproperties/src/main/java/JREProperties.java was unchanged since 2011, so "out-to-date" does not apply. -- You are receiving this mail because: You are the assignee for the issue. You are on the CC list for the issue.
