tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard W. Smith, Jr." <smithh032...@gmail.com>
Subject Re: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon
Date Fri, 21 Jun 2013 17:47:05 GMT
Chris,

On Fri, Jun 21, 2013 at 12:28 PM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> All,
>
> I just upgraded to 1.7.0_25 on my Mac and I noticed that when I launch
> Tomcat, I get a dock icon indicating that it is running. This does not
> happen on 1.7.0_21, the previous version I was running.
>

Per this email of yours, I just upgraded from 1.7.0_21 to 1.7.0_25 as well,
thanks for the heads up!


>
> For some reason, 1.7.0_25 triggers something launching the AWT thread
> (on my Mac, that's called AWT-AppKit) which causes the dock icon to be
> shown.
>
> Removing the dock icon is easy enough: just run in headless mode by
> adding this system property to CATALINA_OPTS:
>
>    -Djava.awt.headless=true
>

I have this option set as I running tomcat/tomee as a Windows service, so
I'm good.


> Or, if you want your icon to look pretty (it is otherwise completely
> useless), you can use these two system properties (on Mac OS) to style it:
>
>    -Xdock:name=[title of icon you want]
>    -Xdock:icon=path to icon file to use
>
> I'm not sure what properties to set on Windows, Gnome, KDE, or any
> other system.
>

Me too (and not really a concern/requirement of mine). :)


>
> Hope that helps,
> - -chris
>

It does help. thanks!


> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJRxH86AAoJEBzwKT+lPKRYyiMQAI5wPrkQZ+z4Jd21IONaHqcH
> tixutzG8PC+7sff9wYR10bnPpE29x9/VdxddKPJ51Yrazf4xxr654FUKkgdP6u+5
> DDRe5rlN7Quy5CVBzu9XKDRW5NHBZTlTWrTBdHPTCdXpKI7jAvDpkW750NNpnKvA
> 8Cq0GwC44YOm+DStp8bsZTBkONR5dbYdpNscH+r0Nw98fFrAP83bZRTQHah2ujCj
> urcNCwH7dZPT7WjZUcvYns5oWfsiZOCGvwKSJz5uBaS98uMbQfSfXl4FFL9fGKay
> OXKW73RgklaUctIH5U3rvlGd876N66ddmUTMqS07hN45ABYsixpV7VUkZsPzF30m
> hwl/pjf2qF07CkVJweCNdenT7NOLQ3Mx9hR4alOTTIvaMHij4/6S9YD87Fh+paiI
> NuqRJTLnnxBQA0PXoYLAQx/PeqvcRyeibZ/kZhdzJ4lN3qF99lfHxMjNtzHwu4xj
> f+tP4u9s9udZ15d0yBA1/13eD75hEUM9RBf6f5cVGmUz7jolFRCiHoHV7ETJNPei
> OoBOpR3/iSaLU94gWl4twMXrkKCor3HLHyvfNc7+mBA6XM+y6EYi9vHFzPuaKvcB
> fmkMtr7V5DcbUTm4vPCS0N6rnUxloQ+8aYi12xefZvlBWEhQcdzGIzKpKLnXbt1c
> ODGdKUTq0rXNJPWSxT39
> =4KXG
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message