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
Tue Nov 9 05:55:02 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
> `----

Hi,

# ps aux|grep tomcat4
   ... /usr/lib/kaffe/pthreads/jre/bin/kaffe-bin -Djava ...
[Is kafee used in this case too??]

I am sorry, the complete line for ps is:
tomcat4  22995  0.0  3.1 52344 32964 pts/2   S    13:19   0:00 
/usr/lib/kaffe/pthreads/jre/bin/kaffe-bin -Djava.awt.headless=true 
-Xmx128M -Dbuild.compiler=jikes 
-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

so jikes is really used (-Dbuild.compiler=jikes)

Eugen