Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 48100 invoked from network); 15 Oct 2007 16:46:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 16:46:41 -0000 Received: (qmail 6546 invoked by uid 500); 15 Oct 2007 16:46:17 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 6516 invoked by uid 500); 15 Oct 2007 16:46:17 -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 6505 invoked by uid 99); 15 Oct 2007 16:46:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 09:46:17 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [62.204.192.103] (HELO hermes-tres.uned.es) (62.204.192.103) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 16:46:18 +0000 Received: from hermes-tres.uned.es (localhost.localdomain [127.0.0.1]) by localhost.uned.es (Postfix) with ESMTP id 40EF098377 for ; Mon, 15 Oct 2007 18:45:27 +0200 (CEST) Received: from proxy1-2.uned.es (bm103103-8.uned.es [10.103.103.8]) by hermes-tres.uned.es (Postfix) with ESMTP id 27D0D98374 for ; Mon, 15 Oct 2007 18:45:27 +0200 (CEST) Received: from [62.204.199.175] (ind-062-204-199-175.uned.es [62.204.199.175]) by proxy1-2.uned.es (Postfix) with ESMTP id 1702F233F2 for ; Mon, 15 Oct 2007 18:45:27 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v752.3) To: users@tomcat.apache.org Message-Id: <83CFEAF4-AC48-48B7-B0B3-BE7ACDE9D5C0@dia.uned.es> Content-Type: multipart/alternative; boundary=Apple-Mail-7--588774697 From: =?ISO-8859-1?Q?Antonio_Rodr=EDguez_Anaya?= Subject: Problem: stasrtup Tomcat in Mac os X 10.4.2 Date: Mon, 15 Oct 2007 18:46:30 +0200 X-Mailer: Apple Mail (2.752.3) X-Virus-Checked: Checked by ClamAV on apache.org --Apple-Mail-7--588774697 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Hi! I have problems to start up Tomcat 5.5 and 6.0. I have downloaded core binary distributions and I have followed the instructions. As a root I have unpacked and moved it to /user/local directory. I have secified the CATALINA_HOME and JAVA_HOME variables. I have set execute permisions to all *.sh files in $CATALINA_HOME/bin/ (chmod ug +x *.sh). I have tried to start up Tomcat but it does not work. First the message is: Using CATALINA_BASE: /usr/local/tomcat-5 Using CATALINA_HOME: /usr/local/tomcat-5 Using CATALINA_TMPDIR: /usr/local/tomcat-5/temp Using JRE_HOME: /usr/bin/java This is normal, I think, but Tomcat does not work. The catalina.log file shows this error message: /usr/local/tomcat-5/bin/catalina.sh: line 273: /usr/bin/java/bin/ java: Not a directory The catalina.sh file line number 273 is: "$_RUNJAVA" $JAVA_OPTS $CATALINA_OPTS \ I understand the value of JAVA_OPTS or CATALINA_OPTS is "/usr/bin/ java" and "/bin/java". I think something wrong happends, because I had not set either JAVA_OPTS or CATALINA_OPTS. I have tried to set these variables with the value "-server -Xmx400m", but the situation has not changed. The error message in catalina.log is the same. I do not understand what happen. Is it possible the problem is for the operation system? My os is Mac os X 10.4.2. Does someone know how I can correct the problem? Thanks in advance, Antonio. --Apple-Mail-7--588774697--