Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4312EC85F for ; Fri, 21 Jun 2013 16:29:34 +0000 (UTC) Received: (qmail 56393 invoked by uid 500); 21 Jun 2013 16:29:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 56009 invoked by uid 500); 21 Jun 2013 16:29:29 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 56000 invoked by uid 99); 21 Jun 2013 16:29:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 16:29:29 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [76.96.59.228] (HELO qmta15.westchester.pa.mail.comcast.net) (76.96.59.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jun 2013 16:29:23 +0000 Received: from omta02.westchester.pa.mail.comcast.net ([76.96.62.19]) by qmta15.westchester.pa.mail.comcast.net with comcast id qzif1l0090QuhwU5F4Ugga; Fri, 21 Jun 2013 16:28:40 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.106.98]) by omta02.westchester.pa.mail.comcast.net with comcast id r4Ug1l00t27QCxh3N4Uggw; Fri, 21 Jun 2013 16:28:40 +0000 Message-ID: <51C47F3B.9000604@christopherschultz.net> Date: Fri, 21 Jun 2013 12:28:43 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Tomcat Users List Subject: New behavior of Oracle Java 1.7.0_25: AWT thread and console icon X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1371832120; bh=s973kV6om4brgeICvYncEuc+Cl7zzSx4TKqimJdRiqo=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=cEwrybe/UZLjs5H9dyyYnX9zVr1mVg3yoyKbbTZpdg8hP7x1a1dhG3GHz0JwYoK14 4fd9gnNnzDBJpAz/xFAYVSRwDxjvglqCuWTngB2ck0fFJC4PWpgxKNAz+SJyf7KA7i tP9lc37MBeAMV7DScHLct0MVw7ebLabaIwb8XJ2MGI6xoZuP+/A1p9qt+g6Cpb8g2+ 0XTktbvpF8uZ+H3LEMQsnCyqRUuZUUzyb/u0vwm7ASFK77N05sy5AFkYSUEMJLPjFy nYi6APd15GxERYoWudrzo4bqdMDZ6+kmBXce6vDSpIGz2g2MSoOnQ4RnV206pksi8N QB56uOgpYTsoA== X-Virus-Checked: Checked by ClamAV on apache.org -----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. 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 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. Hope that helps, - -chris -----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