Page 1 of 1

Can't connect to X11 window server using 'localhost:10.0'

Posted: Mon Jun 12, 2017 11:24 pm
by abbhi
Hi All,

The below error is coming while writing to Unstructured Data stage in 11.3 .
This job has nothing to do with any graphical content , its not writing to excel file. The same job is working fine in other environement but in DEV environment getting the below issue. When checked the logs I found below variable in DEV but not in other environement.
DISPLAY=localhost:10.0

i am not exactly sure where is this varibale setup. I have removed it from the WAS console and did the restart of all the DS services but still issue persists.

Where is this variable setup? Where in unix it is setup.


UD_RX_DocNumber,0: java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay (X11GraphicsEnvironment.java)
at sun.awt.X11GraphicsEnvironment.access$200 (X11GraphicsEnvironment.java: 77)
at sun.awt.X11GraphicsEnvironment$1.run (X11GraphicsEnvironment.java: 122)
at java.security.AccessController.doPrivileged (AccessController.java: 274)
at sun.awt.X11GraphicsEnvironment.<clinit> (X11GraphicsEnvironment.java: 86)
at java.lang.Class.forNameImpl (Class.java)
at java.lang.Class.forName (Class.java: 199)
at java.awt.GraphicsEnvironment.createGE (GraphicsEnvironment.java: 113)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment (GraphicsEnvironment.java: 92)
at sun.awt.X11FontManager.isHeadless (X11FontManager.java: 499)
at sun.awt.X11FontManager.getFileNameFromPlatformName (X11FontManager.java: 180)
at sun.font.SunFontManager.initCompositeFonts (SunFontManager.java: 3495)
at sun.font.SunFontManager.access$700 (SunFontManager.java: 77)
at sun.font.SunFontManager$2.run (SunFontManager.java: 557)
at java.security.AccessController.doPrivileged (AccessController.java: 274)
at sun.font.SunFontManager.<init> (SunFontManager.java: 387)
at sun.awt.X11FontManager.<init> (X11FontManager.java: 44)
at java.lang.J9VMInternals.newInstanceImpl (J9VMInternals.java)
at java.lang.Class.newInstance (Class.java: 1774)
at sun.font.FontManagerFactory$1.run (FontManagerFactory.java: 95)
at java.security.AccessController.doPrivileged (AccessController.java: 274)
at sun.font.FontManagerFactory.getInstance (FontManagerFactory.java: 86)
at java.awt.Font.getFont2D (Font.java: 501)
at java.awt.Font.canDisplayUpTo (Font.java: 2070)
at java.awt.font.TextLayout.singleFont (TextLayout.java: 480)
at java.awt.font.TextLayout.<init> (TextLayout.java: 538)
at org.apache.poi.ss.util.SheetUtil.getColumnWidth (SheetUtil.java: 208)
at org.apache.poi.xssf.streaming.SXSSFSheet.autoSizeColumn (SXSSFSheet.java: 1166)
at org.apache.poi.xssf.streaming.SXSSFSheet.autoSizeColumn (SXSSFSheet.java: 1148)
at com.ibm.is.cc.unstructured.poi.SSSheet.autoSizeColumn (SSSheet.java: 536)
at com.ibm.is.cc.unstructured.api.ExcelSheet.autoSizeColumn (ExcelSheet.java: 200)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelRowHandler.autoSizeColumns (ExcelRowHandler.java: 119)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelInputLinkRep.finalizeSheet (ExcelInputLinkRep.java: 152)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelProcessorRep.finalizeWorkbook (ExcelProcessorRep.java: 169)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.create.ExcelProcessorRep.terminate (ExcelProcessorRep.java: 101)
at com.ibm.is.cc.unstructured.runtime.impl.excel.write.ExcelProcessorRep.terminate (ExcelProcessorRep.java: 75)
at com.ibm.is.cc.unstructured.UnstructuredProcessor.terminate (UnstructuredProcessor.java: 172)
at com.ibm.is.cc.javastage.connector.CC_JavaAdapter.postRunNode (CC_JavaAdapter.java: 665)

Posted: Thu Jun 22, 2017 8:27 am
by PaulVL
You will have to explain the error a bit more.

Look at your login profile for the user id that is executing the job (in case of credential mapping, it may not be the user id that you are logged in with).

Also look at the profile for the administrative ID (typically dsadm).

even a localhost of 10.0 is an invalid IP address.

Posted: Sun Jun 25, 2017 10:48 am
by JRodriguez