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 28CF31741B for ; Wed, 1 Oct 2014 21:34:00 +0000 (UTC) Received: (qmail 27390 invoked by uid 500); 1 Oct 2014 21:33:56 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 27325 invoked by uid 500); 1 Oct 2014 21:33:56 -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 27314 invoked by uid 99); 1 Oct 2014 21:33:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 21:33:56 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [206.46.173.25] (HELO vms173025pub.verizon.net) (206.46.173.25) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 21:33:51 +0000 Received: from Christophers-MacBook-Pro.local ([unknown] [71.178.180.80]) by vms173025.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0NCS000QPBVCQS10@vms173025.mailsrvcs.net> for users@tomcat.apache.org; Wed, 01 Oct 2014 16:33:12 -0500 (CDT) Message-id: <542C7318.3090907@christopherschultz.net> Date: Wed, 01 Oct 2014 17:33:12 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-version: 1.0 To: Tomcat Users List Subject: Re: JNDIRealm doesn't work when binding as non-admin user References: <41126E5F-C765-4C5C-AB55-3D9C8BE93AAA@360works.com> <542A5107.8000704@apache.org> <403DA3BA-8263-48C5-92D9-493846269718@360works.com> <542B0381.3060409@apache.org> <542B0D40.2020800@apache.org> <931A08AF-8469-4277-9558-CCF1FC21BE64@360works.com> <542BF9AD.9010605@apache.org> In-reply-to: Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Jesse, On 10/1/14 5:13 PM, Jesse Barnum wrote: > On Oct 1, 2014, at 8:55 AM, Mark Thomas wrote: > >> It is likely to be at least a month before those versions are >> released. How do you feel about building from source? The other >> option is that I can make some snapshot versions available for >> you to test. >> >> Mark > > Sorry for the double-posting. No problem. > I tried building from the repository trunk, but I got errors on > the DBCP library. I'm not proficient enough with ant to > troubleshoot it. If you could either give me advice on the dbcp > errors or send a snapshot build that would be great. Tomcat 7 should be relatively foolproof. Here's a bit of the script I use to build release candidates for both Tomcat 7 and 8: BASE_SOURCE_DIR ends up being the root of the tarball, or the root of the svn checkout. BASE_DIR can be wherever you want, but my script has it being the parent of the directory that contains BASE_SOURCE_DIR. BASE_DIR is where everything goes: Tomcat source, the downloaded prerequisites, etc. You might be tripping-up on the (not) downloaded prerequisites. # Prepare for build... export ANT_OPTS="-Xmx512M" export JAVA_OPTS="-Xmx512M" BASE_DIR="`pwd`/tarball" BASE_SOURCE_DIR="${BASE_DIR}/${BASE_FILE_NAME}-src" /bin/echo -e "base.path=${BASE_DIR}/downloads\nexecute.validate=true\nexecute.validate=true" > "${BASE_SOURCE_DIR}/build.properties" ant -f "${BASE_SOURCE_DIR}/build.xml" download-compile download-test-compile ant -f "${BASE_SOURCE_DIR}/build.xml" deploy See if any of that helps. If not, please post as much of the ant output as you are willing to post and I'll try to help. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJULHMXAAoJEBzwKT+lPKRYXSAP/iO2JGxpWys3+e51zhWbVPEB CVIXrfcjzPFQh78zcAAl9ci7UqvkZyuB37sd1yC31RRdfiGxo7++ihgo8gs7bpSy GitFyiU+zQHwNFJVIXP9kJ9gcqljrsUIsI5PFTh5EoMroZsvhosmdesuETROk77N e1G1sNv5tMatNXkXY/N2G+65p2dq0iaTPWrg/J6GxBzQrMsBNeiFwIXfAaJY1BGh mIwz3Hnxu+I3oqbnwXb2zstpecSD7R3r11bCBnZBoSxcvYNs99L4QKRzp+GixzHf 8Zu6tzPYHALbEmoMqPC3/oskd+qPY8jJBlJCjAV55lQs1bLWs4125EALwiiXUJyX 695AfPD9awpeou1htzyi60Os5qeamZgxfGNM6o3tXKGaH64CLKf0B5UinLemHUer BORnfXNkLaNcDKUF0EjhjKh+ASsUwS4lMBvBkwauLvXqVkGlXTQ208eE0nDBJ2Nq QnkHStIOaiEGcPctxrDEwKiUd0QQnYc3vxcmfBZT1xPwPp0XJ97cMowjuWVvryW0 U3CfXeNF2wUozJPwDWXjPzoDqFo7OXfYAcIXrgRHqPHJGnKPgJZNgV9UbjIANl7G m88/j/25w3XPJHWFve1OI5GVLI04KX0XhB6WpZrCFK5UmtJyyu3MfZfljBPJlysS COs2+SHUWXWBe5lEP2yT =Zu4X -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org