2011/2/1 János Löbb <janos.l...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to