You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by János Löbb <ja...@yale.edu> on 2011/02/01 17:28:35 UTC

Tomcat shutdown

Hi,

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 ?

Thanks ahead,

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


Re: Tomcat shutdown

Posted by János Löbb <ja...@yale.edu>.
Hi Konstantin,

I see... :-)

Thanks a lot,

János

On Feb 1, 2011, at 11:39 AM, Konstantin Kolinko wrote:

> 2011/2/1 János Löbb <ja...@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


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


Re: Tomcat shutdown

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/2/1 János Löbb <ja...@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