-
Bug
-
Resolution: Fixed
-
Critical
-
None
-
Platform: All, OS: All
My tomcat works without X11.
When I added an ability to view unit test results in Hudson, I was getting
Tomcat termination, with no clear indication what's wrong.
It turned out that since JFree chart triggers some AWT activity, and since I
don't have working X11, java was terminating, which is not good.
The solution that I have now is to start Tomcat with -Djava.awt.headless=true,
but maybe there is a way to do something in Hudson to eliminate this issue
altogether.
Apparently this is a problem that happens when a machine doesn't have X
libraries installed. For example, I run my Hudson without the DISPLAY variable
set, but it still works. See
http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg159825.html
Let's see what can be done in the program to work around this.