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 AA651964B for ; Wed, 20 Jun 2012 22:15:24 +0000 (UTC) Received: (qmail 40676 invoked by uid 500); 20 Jun 2012 22:15:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40609 invoked by uid 500); 20 Jun 2012 22:15:21 -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 40563 invoked by uid 99); 20 Jun 2012 22:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 22:15:20 +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 [76.96.62.96] (HELO qmta09.westchester.pa.mail.comcast.net) (76.96.62.96) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 22:15:13 +0000 Received: from omta23.westchester.pa.mail.comcast.net ([76.96.62.74]) by qmta09.westchester.pa.mail.comcast.net with comcast id QcQ51j00B1c6gX859mEs0K; Wed, 20 Jun 2012 22:14:52 +0000 Received: from Christophers-MacBook-Pro.local ([69.143.109.145]) by omta23.westchester.pa.mail.comcast.net with comcast id QmEo1j00b38FjT13jmEqGv; Wed, 20 Jun 2012 22:14:51 +0000 Message-ID: <4FE24B57.9080607@christopherschultz.net> Date: Wed, 20 Jun 2012 18:14:47 -0400 From: Christopher Schultz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: apache-tomcat-7.0.27 start up errors on Mac OX "Lion" References: <4FE09D84.1020906@christopherschultz.net> <326D4904-9545-4D01-A984-FE1D4D88CD47@gmail.com> <99C8B2929B39C24493377AC7A121E21FB02D92835E@USEA-EXCH8.na.uis.unisys.com> <99C8B2929B39C24493377AC7A121E21FB02D92838A@USEA-EXCH8.na.uis.unisys.com> In-Reply-To: X-Enigmail-Version: 1.4.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Samuel, On 6/19/12 10:20 PM, Samuel V Green III wrote: > I was trying to follow the instructions here: > http://wolfpaulus.com/journal/mac/tomcat7 where it mentions "Change > ownership of the /Libaray/Tomcat folder hierarchy: > > sudo chown -R /Library/Tomcat" That might not do anything, since /Library/Tomcat is a symlink. $ sudo chown -R your_username /Library/Tomcat/ ...might work better (note the trailing / which causes the symlink to be followed, rather than just changing the permissions on the link itself). Do you really even need that symlink? > So I'm wondering if I need to change chown the > /usr/local/tomcatversion directory to match my user id instead of > "root" ? Here's my setup: $ echo $CATALINA_HOME /usr/local/apache-tomcat-7.0.27 $ ls -l $CATALINA_HOME total 168 - -rw-r--r-- 1 root wheel 56797 Mar 31 10:45 LICENSE - -rw-r--r-- 1 root wheel 1192 Mar 31 10:45 NOTICE - -rw-r--r-- 1 root wheel 8826 Mar 31 10:45 RELEASE-NOTES - -rw-r--r-- 1 root wheel 10597 Mar 31 10:45 RUNNING.txt drwxr-xr-x 26 root wheel 884 Apr 2 17:46 bin drwxr-xr-x 9 root wheel 306 Mar 31 10:45 conf drwxr-xr-x 22 root wheel 748 Apr 3 10:05 lib drwxr-xr-x 2 root wheel 68 Mar 31 10:44 logs drwxr-xr-x 3 root wheel 102 Mar 31 10:44 temp drwxr-xr-x 7 root wheel 238 Mar 31 10:44 webapps drwxr-xr-x 2 root wheel 68 Mar 31 10:44 work $ echo $CATALINA_BASE /home/chris/.webapps/mywebapp $ ls -l $CATALINA_BASE total 0 drwxr-xr-x 5 chris staff 170 May 11 15:21 conf drwxr-xr-x 16 chris staff 544 Jun 19 12:20 logs drwxr-xr-x 2 chris staff 68 May 11 15:21 temp drwxr-xr-x 4 chris staff 136 May 11 15:21 webapps drwxr-xr-x 3 chris staff 102 May 11 15:21 work conf/ contains server.xml and web.xml. webapps/ contains (surprise) my webapps. work/, logs/, and temp/ are empty before initial launch. With both CATALINA_HOME and CATALINA_BASE set, I can run $CATALINA_HOME/bin/startup.sh and everything runs without any issues. No sudo. No root. All is well. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/iS1YACgkQ9CaO5/Lv0PB1pACfdmp5qyeUxPHC9JDJQZMJx9LF w8EAn3at7WGtdI/ZEWmQWGoO/Ditse9w =N9/r -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org