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 3D5DF18A02 for ; Fri, 7 Aug 2015 19:19:41 +0000 (UTC) Received: (qmail 80303 invoked by uid 500); 7 Aug 2015 19:19:34 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 80268 invoked by uid 500); 7 Aug 2015 19:19:33 -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 80257 invoked by uid 99); 7 Aug 2015 19:19:33 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2015 19:19:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 868FFC0374 for ; Fri, 7 Aug 2015 19:19:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id lCsl6i-qAjrb for ; Fri, 7 Aug 2015 19:19:18 +0000 (UTC) Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 9E52542ADC for ; Fri, 7 Aug 2015 19:19:18 +0000 (UTC) Received: by igk11 with SMTP id 11so37808173igk.1 for ; Fri, 07 Aug 2015 12:19:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=W2lNXTCk87ElNmHWF+EwEmlhSg6EG0FMk2tuV6SNXSc=; b=OgUZy7nCpFr6w6ZfWnGrwbyqBFyo/aRQqI1JVjg42MNvA5h7gM6zAcbOiC7hYhknTq 85e9HgUL41XLD3DrGZU4fpS5cuzjT30M9HyXDUxbxNVQT7Yy/dtfuZwlIGW9dbcpV6dr YuL13h5aM2VYALRtKA4NW+9YXM7PFpYDWbdhgaSW3iy8Pe9twXtOYXaiJPAKeYRJEBZN 64KCzGMKs9yVBYKcqghKYKdxvqVJBhTWE2LtIrx7ty6MjsefSwc6Zs7scJaCaUblVfk7 sWMcsLLv6BvJMHKbpnJxYQrnhdMrDZ/TTDv2+2NZe/0UXb5CP+WMcKAv4U/BwIrbsuxx hJwQ== X-Gm-Message-State: ALoCoQkYARNjjcjveYtt484czHjH8dLQh1fXtQRYXyzB6VCy5bneuYQganRxsAXK5jsrS2xcjiHE MIME-Version: 1.0 X-Received: by 10.50.23.98 with SMTP id l2mr4890985igf.25.1438975152333; Fri, 07 Aug 2015 12:19:12 -0700 (PDT) Received: by 10.79.96.66 with HTTP; Fri, 7 Aug 2015 12:19:12 -0700 (PDT) In-Reply-To: <20150806140813.GB25129@IUPUI.Edu> References: <20150806140813.GB25129@IUPUI.Edu> Date: Fri, 7 Aug 2015 12:19:12 -0700 Message-ID: Subject: Re: Configuring E-Mail Session via JNDI From: Tim Gustafson To: Tomcat Users List Content-Type: text/plain; charset=UTF-8 > I use NetBeans with Maven, and in that context I would declare the > mail dependency to be provided. I don't know how to do > that in a native NetBeans project, but what you'd need to do is to > tell NetBeans that javax.mail is required to compile but must not be > included in the output WAR. I found this option; it's under "File", "Project Properties", "Libraries", and then you un-check the "Package" column for the JavaMail library. Thanks for the pointer! -- Tim Gustafson tjg@tgustafson.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org