-
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.
[JENKINS-82] Viewing unit test results causes Tomcat termination
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Component/s | New: core [ 15593 ] | |
Component/s | Original: www [ 15484 ] |
Workflow | Original: JNJira [ 130155 ] | New: JNJira + In-Review [ 199556 ] |
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.