Skip to main content

MarkView File Capture - -java.lang.InternalError: Can't connect to X11 window server- when sending in documents.


After sending documents into MarkView File Capture the documents are not processed and a Java error is seen in the log file. 4698

Applies To

  • ERP System : Oracle
  • MarkView Version (Oracle): MarkView 5.0 to 5.10.x


When emailing PDF files into MarkView the file is not processed and the following error appears in the mvfilecapture.log file.

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>(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(
at java.awt.Font.initializeFont(
at java.awt.Font.<init>(
at com.qoppa.g.h.v.<clinit>(Unknown Source)
at com.qoppa.k.b$1.a(Unknown Source)
at com.qoppa.g.h.s.a(Unknown Source)
at Source)
at com.qoppa.k.b.<init>(Unknown Source)
at com.qoppa.pdfImages.PDFDocument.<init>(Unknown Source)
at com.markview.emailattach.convert.PDF2TIFFConverter.convert(
at com.markview.emailattach.convert.TiffFormatConverter.convert(
at com.markview.emailattach.inbound.Pop3ImapMailConnector.convertImageFormater(
at com.markview.emailattach.inbound.Pop3ImapMailConnector.parseMsgs(

Known Causes

When installing the MarkView File Capture component in a 5.10 environment the DTM Startup script needs to be modified to run in "headless" mode.


To resolve this issue you will need to edit your (Unix) or start-mvas-dtm.bat (Windows) file.

  1. Search for java. You should find a line similar to the following:
    nohup java -jar oc4j.jar …
  2. If the line does not already include -Djava.awt.headless=true then change it, by adding -Djava.awt.headless=true after java, so that the line now looks like:
    nohup java -Djava.awt.headless=true -jar oc4j.jar …
  3. Save and close the file.
  4. Stop and Start the DTM.

Keywords: x11.X11,window server, mvfc, file, capture, file capture