| | | | Browse by category |
Article ID: 2218
Last updated: 29 May, 2018
Question
How do I run a JViews servlet in a UNIX headless environment?
Answer
Using a Java application on a Linux or Solaris machine requires an X server to be running on the system. Unfortunately, most of the time UNIX servers do not have graphics hardware and hence no real X servers running.
Depending on the JDK and JViews module you are using, there are various solutions to make your web servers (using JViews servlets) work in a headless environment.
- Since JDK 1.4, it is possible to use the Sun headless support feature. JViews supports this mode since JViews 5.5.
- JDK 1.3.x and earlier: run a virtual X server like
xvfb
as described on Oracle's website. - Pure Java AWT Toolkit (PJA) is another option to consider, but due to a bug in the current PJA version (2.4) you should not use this third-party product with the Gantt or Charts servlets.
This article was:
Helpful |
Not helpful
Report an issue
Article ID: 2218
Last updated: 29 May, 2018
Revision: 3
Views: 737
Posted: 06 Nov, 2007 by
Dean J.
Updated: 29 May, 2018 by
Gargani A.
Also listed in
Others in this category
Powered by KBPublisher (Knowledge base software)