Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    export from server requires DISPLAY environment variable

    We run SmartGWTEE in a Weblogic server on Linux CentOS64bit.

    When trying to use Excel Export, the server fails if it doesn't have a DISPLAY environment variable. The exception is X11 (thrown from java.awt classes regarding fonts).

    Currently, as a hack, we configure the DISPLAY for one of our team pc's, but the server doesn't have a DISPLAY configured....

    #2
    anyone?

    thanks!

    Comment


      #3
      It's the POI library (used for export). Pass the JVM arg -Djava.awt.headless=true

      Comment

      Working...
      X