tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Tomcat shutdown
Date Tue, 01 Feb 2011 16:39:59 GMT
2011/2/1 János Löbb <janos.lobb@yale.edu>:
> It is Tomcat 6.0.29 on OSX 10.6.5.  If I ssh to the machine and shutdown Tomcat and
later boot it back again, all those components which are using AWT are not usable.  However
if I Apple Remote Desktop to the machine, open up Terminal there, shut down Tomcat and start
it up, all AWT components will work just fine.
>
> Any good explanation ?
>

Create $CATALINA_BASE/bin/setenv.sh with the following text

CATALINA_OPTS="-Djava.awt.headless=true"

Google for "java.awt.headless" for more info,
e.g. look here:
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message