Bug#279839: tomcat4: Server dies reproducibly with "cannot open display" when using JButton in .jsp.

Dalibor Topic Dalibor Topic <robilad@kaffe.org>, 279839@bugs.debian.org
Fri Nov 5 06:39:15 2004


Arnaud Vandyck wrote:
> Salut Eugen,
> 
> Fri, 05 Nov 2004 11:45:51 +0100, 
> Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr> wrote: 
> 
> 
>>Stefan Gybas wrote:
>>
>>>On Fri, Nov 05, 2004 at 09:54:20AM +0100, Eugen Dedu wrote:
>>>
>>>
>>>>Open the file below in a browser, the tomcat server will die when you
>>>>load it 1-3 times.  You need to start the server after that.
>>>
>>>Are you using Kaffe to run Tomcat? If so, does the problem also happen
>>>with Sun's JVM?
>>
>>Avec kaffe:
>>
>>$ ps aux|grep tomcat
>>tomcat4   8917  0.1  4.9 68864 51144 pts/3   S    10:50   0:02
>>/usr/lib/kaffe/pthreads/jre/bin/kaffe-bin -Djava.awt.headless=true
>>-Xmx128M -Dbuild.compiler=kjc
> 
> 
> Can you try to use jikes as compiler?
> 
> ,----[ /etc/default/tomcat4 ]
> | JSP_COMPILER=jikes
> `----
> 
> Dalibor: Could it be related to the zip/gzip problem? Any idea?

It sounds like a class library bug wrt to using gtk peers when used 
headless. It should not happen :)

cheers,
dalibor topic