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 02:09:03 2004
Package: tomcat4
Version: 4.1.30-6
Severity: important
*** Please type your report below this line ***
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.
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title></title>
</head>
<body>
<%@ page session="false" %>
<jsp:useBean id="toto" scope="application" class="javax.swing.JButton" >
fsdf
</jsp:useBean>
Old: <jsp:getProperty name="toto" property="name" /><BR>
<jsp:setProperty name="toto" property="name" value="accident" />
New: <jsp:getProperty name="toto" property="name" />
</body>
</html>
In /var/log/tomcat4/catalina... the following error appears when dying:
(:3912): Gtk-WARNING **: cannot open display:
Eugen
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27
Locale: LANG=C, LC_CTYPE=C
Versions of packages tomcat4 depends on:
ii adduser 3.59 Add and remove users and groups
ii apache-utils 1.3.31-6 Utility programs for webservers
ii kaffe 2:1.1.4.PRECVS2-20040907 A JVM to run Java bytecode
ii kaffe-pthreads 2:1.1.4.PRECVS2-20040907 A POSIX threads enabled
version of
ii libtomcat4-java 4.1.30-6 Java Servlet engine -- core
librar
-- no debconf information