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

Eugen Dedu Eugen Dedu <Eugen.Dedu@pu-pm.univ-fcomte.fr>, 279839@bugs.debian.org
Fri Nov 5 04:09:02 2004


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 
-Djava.endorsed.dirs=/usr/share/tomcat4/common/endorsed -classpath 
/usr/lib/kaffe/lib/tools.jar:/usr/share/tomcat4/bin/bootstrap.jar 
-Djava.security.manager 
-Djava.security.policy==/var/lib/tomcat4/conf/catalina.policy 
-Dcatalina.base=/var/lib/tomcat4 -Dcatalina.home=/usr/share/tomcat4 
-Djava.io.tmpdir=/var/lib/tomcat4/temp 
org.apache.catalina.startup.Bootstrap start
[...]

Sun JVM: I do not know, the server is used by our students and we cannot 
do much tests...  If really necessary, we will install Sun JVM...

> How does it die? Do you get an exception or is the JVM process
> simply terminated?

It is simply terminated, it just prints "cannot open display..." in 
/var/log/...

Eugen