[
https://issues.jboss.org/browse/RF-11123?page=com.atlassian.jira.plugin.s...
]
Jay Balunas updated RF-11123:
-----------------------------
Summary: Remove AWT requirements from RichFaces so it is easier to start in a
headless env. (was: RichFaces can't start in headless mode due to AWT
initialization)
Assignee: (was: Jay Balunas)
Fix Version/s: 4.Future
Priority: Minor (was: Optional)
Remove AWT requirements from RichFaces so it is easier to start in a
headless env.
----------------------------------------------------------------------------------
Key: RF-11123
URL:
https://issues.jboss.org/browse/RF-11123
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: core
Affects Versions: 4.1.0.Milestone1
Environment: AS7
OpenJDK Runtime Environment (IcedTea6 1.9.8) (6b20-1.9.8-0ubuntu1~10.04.1) / OpenJDK
64-Bit Server VM (build 19.0-b09, mixed mode)
Java(TM) SE Runtime Environment (build 1.6.0_21-b06) / Java HotSpot(TM) 64-Bit Server VM
(build 17.0-b16, mixed mode)
Reporter: Lukáš Fryč
Priority: Minor
Fix For: 4.Future
Observed when running AS7 in parallel session (sudo su - username).
{code}
10:02:07,589 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (MSC service
thread 1-2) Critical error during deployment: : 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) [:1.6.0_20]
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:62)
[:1.6.0_20]
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:178) [:1.6.0_20]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_20]
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:142)
[:1.6.0_20]
at java.lang.Class.forName0(Native Method) [:1.6.0_20]
at java.lang.Class.forName(Class.java:186) [:1.6.0_20]
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82)
[:1.6.0_20]
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:112) [:1.6.0_20]
at java.lang.Class.forName0(Native Method) [:1.6.0_20]
at java.lang.Class.forName(Class.java:186) [:1.6.0_20]
at java.awt.Toolkit$2.run(Toolkit.java:849) [:1.6.0_20]
at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_20]
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841) [:1.6.0_20]
at
org.richfaces.application.InitializationListener$AWTInitializer.initialize(InitializationListener.java:85)
[richfaces-core-impl-4.1.0-20110707.122740-57
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira