Support Article
'java.lang.InternalError' error while Opening Section
SA-4006
Summary
'java.lang.InternalError' is encountered while opening a section.
Error Messages
java.lang.InternalError: Can't connect to X11 window server using '127.0.0.1:10.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
Steps to Reproduce
1. Open Any portal.
2. Open Section built in portal
Root Cause
The root cause of this problem is misconfiguration in the PRPC operating environment.
Resolution
This issue is resolved through the following local change:
Add the setting: -Djava.awt.headless=true along with JAVA_OPTS parameter.
1. Open run.conf in text editor. This file can be found in:<JBOSS_HOME>\bin\run.con
2. Modify the JAVA_OPTS env variable
Add -Djava.awt.headless=true along with JVM memory values.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.